#3432 Make optional arguments not required in click option
Pull request opened by
Sovietaced
Why are the changes needed?
This pull request addresses a regression introduced in
#3338
Running a remote-workflow used to involved retrieving an existing launch plan and crafting click options based on the launch plan defaults and the values provided on the CLI. When the code was changed to retrieve an existing workflow it does not include any possible default values from the launch plan so we update the code to introspect whether arguments are required or not based on the signature of the workflow.
How was this patch tested?
Tested in production as well as unit tests.
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
flyteorg/flytekit