flyteorg / flyte

Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
https://flyte.org
Apache License 2.0
5.17k stars 550 forks source link

[Core feature] pyflyte run --remote should support a url #5502

Closed EngHabu closed 4 days ago

EngHabu commented 1 week ago

Motivation: Why do you think this is important?

pyflyte run --remote https://gist.github.com/... would be a powerful feature to share examples with other people...

Goal: What should the final outcome look like, ideally?

pyflyte run --remote https://gist.github.com/...

Describe alternatives you've considered

Manually download then run

Propose: Link/Inline OR Additional context

No response

Are you sure this issue hasn't been raised already?

Have you read the Code of Conduct?

runllm[bot] commented 1 week ago

The pyflyte run --remote command already supports running workflows directly from a URL, as demonstrated in the Flyte environment setup documentation. This allows execution of workflows hosted on remote sources without the need to download them manually.

Example usage:

pyflyte run --remote https://raw.githubusercontent.com/flyteorg/flytesnacks/master/examples/basics/basics/hello_world.py hello_world_wf

Would you like more details on how to use this feature or any specific aspect of it?

Sources:


This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not.

Mention @runllm to ask follow-up questions. See runllm.com for more!

EngHabu commented 4 days ago

Thanks to runllm for the link! forgot we merged this :-)