You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, invoking tasks in workflows or dynamic workflows requires fully-specifying the arguments to a task. This behavior is clunky in the context of map tasks, where users need to write a bunch of code to prepare the inputs to a map task (see here.
Besides syntactic alternatives, not supporting partial tasks would require writing additional code to make some of Flyte's constructs work (e.g. map tasks with multiple inputs).
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Yes
Have you read the Code of Conduct?
Yes
The text was updated successfully, but these errors were encountered:
Motivation: Why do you think this is important?
Currently, invoking tasks in
workflow
s ordynamic
workflows requires fully-specifying the arguments to atask
. This behavior is clunky in the context of map tasks, where users need to write a bunch of code to prepare the inputs to a map task (see here.The purpose of this issue is to support partial tasks, which allow users to partially bind inputs to a task so that it can then be invoked with the remaining arguments, similar to https://docs.python.org/3/library/functools.html#functools.partial.
Goal: What should the final outcome look like, ideally?
Requirements
Partial tasks should:
Once partial tasks are implemented, it should look something like:
Support partial task inputs that are python values
Support partial task inputs that are promises
Support partials in the top-level module scope
If a user wants to specify partial tasks using python literal values in the top-level scope:
Support partials in map tasks
Describe alternatives you've considered
Besides syntactic alternatives, not supporting partial tasks would require writing additional code to make some of Flyte's constructs work (e.g. map tasks with multiple inputs).
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: