flytekit icon indicating copy to clipboard operation
flytekit copied to clipboard

[WIP] allow python interface to get the default inputs from launch plan

Open KyleShao1016 opened this issue 1 year ago • 1 comments

Tracking issue

Closes flyteorg/flyte#6030

Why are the changes needed?

Initially, the launch plan only retrieved the interface from the workflow. However, this approach could not get the default inputs of the launch plan. Adding a new argument, python_interface, to the launch plan resolves the issue where inputs could not be processed directly from the launch plan.

What changes were proposed in this pull request?

  1. adding a new parameter python_interface
  2. return this parameter when launch plan is instantiate

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • [ ] I updated the documentation accordingly.
  • [ ] All new and existing tests passed.
  • [x] All commits are signed-off.

Related PRs

Docs link

KyleShao1016 avatar Nov 22 '24 18:11 KyleShao1016

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

welcome[bot] avatar Nov 22 '24 18:11 welcome[bot]