<#3149 Enable using positional args for workflow w...
# flyte-github
c
#3149 Enable using positional args for workflow with default value Pull request opened by machichima Tracking issue flyteorg/flyte#6208 Why are the changes needed? Remove the value in
input_kwargs
(which contains the default value) if the value is set in
args
, to prevent passing
kwargs
and
args
both for same argument, which cause the error described in the issue. What changes were proposed in this pull request? How was this patch tested? Add test
test_positional_args_workflow_with_default_value
extend from
test_positional_args_task
for positional arguments with default value set Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link Summary by Bito This PR addresses subworkflow argument handling by preventing simultaneous use of positional arguments and default values. The workflow execution logic has been modified to properly handle input_kwargs when positional arguments are provided. Test coverage has been enhanced to validate subworkflow behavior, including test cases for mixed positional and default arguments scenarios, extra arguments handling, and keyword arguments validation. Unit tests added: True Estimated effort to review (1-5, lower is better): 2 flyteorg/flytekit