Dries Van Schuylenbergh
02/18/2025, 9:44 AMMarvin
02/18/2025, 9:44 AMprefect run
command and specifying the flow run ID. This approach effectively acts as a "retry" by creating a new instance of the subflow.
3. Use the API: If you prefer a programmatic approach, you can use the Prefect Python client to create a new flow run for the subflow. This can be done by calling the create_flow_run
method with the appropriate parameters.
For more detailed guidance, you might want to explore the Prefect documentation about pausing and resuming flows, which might offer additional insights into handling run states.
If you need more specific code examples or further assistance, feel free to ask!