worried-airplane-87065
04/07/2025, 5:19 PMpyflyte run remote-workflow MY_WORKFLOW_NAME
how can I use a specific version of my workflow.jolly-florist-66728
04/07/2025, 5:19 PMpyflyte run
to execute a specific version of a workflow is not directly supported in the current implementation. The pyflyte run
command does not appear to have a built-in option to specify a workflow version directly from the command line. However, you can manage workflow versions using Flyte's versioning capabilities, which are typically handled during the registration process.
If you need to execute a specific version of a workflow, you might consider using the FlyteRemote API to fetch and execute the desired version programmatically. This involves fetching the workflow by its name and version, and then executing it using the FlyteRemote object. Would you like more details on how to implement this using FlyteRemote?
Sources:
- FlyteRemote API
- Flyte Workflow Versioning 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.worried-airplane-87065
04/07/2025, 5:21 PMjolly-florist-66728
04/07/2025, 5:21 PMpyflyte run remote-launchplan
command, which allows executing remote launch plans. However, it does not explicitly mention the ability to specify a specific version of a workflow directly through the command line. The documentation suggests that the latest or active version is used by default if no specific version is provided.
To execute a specific version of a workflow, you would typically need to use the FlyteRemote API to fetch the workflow by its name and version, and then execute it programmatically. Would you like more details on how to use FlyteRemote for this purpose?
Sources:
- FlyteRemote API 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.