Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it support context passing for tasks in workflows? #17

Open
cuiyimeng opened this issue Mar 17, 2023 · 6 comments
Open

Does it support context passing for tasks in workflows? #17

cuiyimeng opened this issue Mar 17, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@cuiyimeng
Copy link

How do I transfer the results of a parent task to child tasks?

@fieldryand
Copy link
Owner

Sorry, this functionality is not supported. :(

@cuiyimeng
Copy link
Author

Is there any way to support parameter transfer? Do you have any good ideas or suggestions

@fieldryand
Copy link
Owner

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.

@cuiyimeng
Copy link
Author

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 fieldryand added the enhancement New feature or request label Jul 4, 2023
@zengzhengrong
Copy link
Contributor

zengzhengrong commented Jan 28, 2024

@fieldryand
I have a simple way to do this by adding context to the Job struct and passing the Job in the operator
#50

@fieldryand
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants