Does it support context passing for tasks in workflows?
How do I transfer the results of a parent task to child tasks?
Sorry, this functionality is not supported. :(
Is there any way to support parameter transfer? Do you have any good ideas or suggestions
I don't have time to work on this functionality in the near future, but PRs are welcome if you want to tackle it. :)
Alternatively, have you looked at solutions such as Prefect, Dagster or Airflow? Maybe those would suit your use case better.
thanks,If I implement this function, I will give you a PR, but currently I have no good ideas for solving this problem. If you have any suggestions, please give me a hint.
@fieldryand I have a simple way to do this by adding context to the Job struct and passing the Job in the operator https://github.com/fieldryand/goflow/pull/50
Thanks @zengzhengrong ! I was also thinking about how to do this. My idea was to require a context as an argument to Operator.Run.
I would like to merge some unrelated changes first and then we can tackle this context-passing feature.