[flytekit/small feature] Allow pyflyte run
to execute reference entities
#6097
Labels
enhancement
New feature or request
untriaged
This issues has not yet been looked at by the Maintainers
Issue
If you have a file like so
and another file that invokes it as a reference workflow
and the first file is registered with the ID fields in the second, running on cli currently fails
To fix:
First step is to just get the script to return the flyte entity
https://github.com/flyteorg/flytekit/compare/run-ref-entities?expand=1
(need to handle tasks/launch plans as well ofc).
Need to think about the usage of default inputs. This example shows a reference workflow, not a reference launch plan.
When FlyteRemote tries to execute a workflow, it will first fetch the default launch plan, and then run that. What if the default launch plan was registered with inputs different than the ones specified in the signature of the reference workflow? I think the reference workflow one should win (does it? need to check). Is it worth it to print a log line?
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: