Closed ybastide closed 5 years ago
Since #360 has been merged, one can write:
Chain( ActivityTask(a_task, args, **kwargs), WorkflowTask(None, a_workflow, *args, **kwargs), )
The None argument is disgracious; but it's a bit too late to remove it. (It's the executor, which is not meant to be set yet.)
None
A non-breaking solution is to add a ChildWorkflowTask class to be used in this context.
ChildWorkflowTask
Done in https://github.com/botify-labs/simpleflow/pull/365
Since #360 has been merged, one can write:
The
None
argument is disgracious; but it's a bit too late to remove it. (It's the executor, which is not meant to be set yet.)A non-breaking solution is to add a
ChildWorkflowTask
class to be used in this context.