-
Notifications
You must be signed in to change notification settings - Fork 659
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
[Core feature] Flytekit support for positional args #5320
Comments
Flytekit does not support positional arguments when calling tasks within a workflow. Tasks must be invoked using keyword arguments only. This limitation is documented in a GitHub issue where it's stated that Flytekit requires keyword arguments to maintain clarity and avoid errors related to parameter ordering (GitHub issue #1339). There are no current plans to support positional arguments as per the discussions in the issue. Would you like more detail on this topic or how to work with the current system using keyword arguments? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
Then it will be possible to support
|
#take |
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]>
- Change the `inputs` and `outputs` attributes in the `Interface` class to `OrderedDict` to preserve the order. - Write values in positional arguments to `kwargs`. Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]> Signed-off-by: bugra.gedik <[email protected]>
- Change the `inputs` and `outputs` attributes in the `Interface` class to `OrderedDict` to preserve the order. - Write values in positional arguments to `kwargs`. Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]> Signed-off-by: Jan Fiedler <[email protected]>
- Change the `inputs` and `outputs` attributes in the `Interface` class to `OrderedDict` to preserve the order. - Write values in positional arguments to `kwargs`. Resolves: flyteorg/flyte#5320 Signed-off-by: Chi-Sheng Liu <[email protected]> Signed-off-by: mao3267 <[email protected]>
Motivation: Why do you think this is important?
Curently only kwargs are supported
Goal: What should the final outcome look like, ideally?
Support positional args
Describe alternatives you've considered
NA
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: