I
on this idea a few weeks back at a community sync, but I'd love to try to get a plugin with this functionality into Flytekit. In short this PR adds a plugin to extend FlyteRemote for creating pythonic interfaces to remote workflows. It achieves this by:
1. Querying Flyte for workflows and their associated input/output interface
2. Converting the interface to a Pydantic model and populating the docstring
3. Returning the Pydantic model with a
execute
method that enables launching the workflow on a remote cluster
If anyone is interested in this, and wants to help polish or take a look, it would be greatly appreciated!
https://github.com/flyteorg/flytekit/pull/1689