Ejemplo n.º 1
0
 def publish(self, reference, producing_task=None):
     self.job.add_reference(reference.id, reference)
     return DynamicTaskGraph.publish(self, reference, producing_task)
Ejemplo n.º 2
0
 def __init__(self, job, scheduler_queue):
     DynamicTaskGraph.__init__(self)
     self.job = job
     self.scheduler_queue = scheduler_queue
Ejemplo n.º 3
0
 def spawn(self, task, tx=None):
     self.job.add_task(task)
     DynamicTaskGraph.spawn(self, task, tx)
Ejemplo n.º 4
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
Ejemplo n.º 5
0
 def publish(self, reference, producing_task=None):
     self.job.add_reference(reference.id, reference)
     return DynamicTaskGraph.publish(self, reference, producing_task)
Ejemplo n.º 6
0
 def spawn(self, task, tx=None):
     self.job.add_task(task)
     DynamicTaskGraph.spawn(self, task, tx)
Ejemplo n.º 7
0
 def __init__(self, job, scheduler_queue):
     DynamicTaskGraph.__init__(self)
     self.job = job
     self.scheduler_queue = scheduler_queue
Ejemplo n.º 8
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