marked wip as such

This commit is contained in:
Romain Dorgueil
2016-12-09 09:59:58 +01:00
parent e7f316c048
commit e7a5fe3eed
2 changed files with 4 additions and 4 deletions

View File

@ -43,6 +43,7 @@ class ExecutorStrategy(Strategy):
return self.context_type(graph)
def execute(self, graph, *args, **kwargs):
raise NotImplementedError()
context = self.create_context(graph)
for i in graph.outputs_of(BEGIN):
@ -55,6 +56,8 @@ class ExecutorStrategy(Strategy):
f = self.executor.submit(self.components[idx], *args, **kwargs)
self.running.add(f)
idx = i
@f.add_done_callback
def on_component_done(f):
nonlocal self, idx