예제 #1
0
 def create_instance(self):
     if 'testtask' in self.wf_spec.task_specs:
         del self.wf_spec.task_specs['testtask']
     return TaskSpec(self.wf_spec, 'testtask', description='foo')
예제 #2
0
 def create_instance(self):
     return TaskSpec(self.wf_spec, 'testtask', description='foo')