Пример #1
0
 def __init__(self, task_queue):
     DynamicTaskGraph.__init__(self)
     self.task_queue = task_queue
Пример #2
0
 def spawn(self, task, tx=None):
     self.job.add_task(task)
     DynamicTaskGraph.spawn(self, task, tx)
Пример #3
0
 def publish(self, reference, producing_task=None):
     self.job.add_reference(reference.id, reference)
     return DynamicTaskGraph.publish(self, reference, producing_task)
Пример #4
0
 def publish(self, reference, producing_task=None):
     self.job.add_reference(reference.id, reference)
     return DynamicTaskGraph.publish(self, reference, producing_task)
Пример #5
0
 def __init__(self, job, scheduler_queue):
     DynamicTaskGraph.__init__(self)
     self.job = job
     self.scheduler_queue = scheduler_queue
Пример #6
0
 def spawn(self, task, tx=None):
     self.job.add_task(task)
     DynamicTaskGraph.spawn(self, task, tx)
Пример #7
0
 def __init__(self, job, scheduler_queue):
     DynamicTaskGraph.__init__(self)
     self.job = job
     self.scheduler_queue = scheduler_queue
Пример #8
0
 def __init__(self, task_queue):
     DynamicTaskGraph.__init__(self)
     self.task_queue = task_queue
Пример #9
0
 def __init__(self, execution_features, runnable_queues):
     DynamicTaskGraph.__init__(self)
     self.root_task_ids = set()
     self.execution_features = execution_features
     self.runnable_queues = runnable_queues
Пример #10
0
 def __init__(self, execution_features, runnable_queues):
     DynamicTaskGraph.__init__(self)
     self.root_task_ids = set()
     self.execution_features = execution_features
     self.runnable_queues = runnable_queues