def create_local_scheduler(): """Creates a local scheduler :returns: The local scheduler :rtype: :class:`scheduler.Scheduler` """ return scheduler.Scheduler(prune_on_get_work=True, record_task_history=False)
def create_local_scheduler(self): return scheduler.Scheduler(prune_on_get_work=True, record_task_history=False)