Task return value best practice #3427
Unanswered
jmrichardson
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thank you for prefect. I am really enjoying it! I was wondering what the best practice is for a task that return multiple values. It doesn't appear that you can unpack the task such as:
a, b, c = mytask(arg1, arg2)Rather you have to:
The above works but is it recommended to have a task for each return value or do the above?
Beta Was this translation helpful? Give feedback.
All reactions