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')
def create_instance(self): return TaskSpec(self.wf_spec, 'testtask', description='foo')