Lev Zemlyanov
03/18/2025, 10:01 PMMarvin
03/18/2025, 10:02 PMLev Zemlyanov
03/18/2025, 10:02 PMMarvin
03/18/2025, 10:03 PMLev Zemlyanov
03/18/2025, 10:05 PMMarvin
03/18/2025, 10:05 PMLev Zemlyanov
03/18/2025, 10:07 PMMarvin
03/18/2025, 10:07 PMLev Zemlyanov
03/18/2025, 10:10 PMMarvin
03/18/2025, 10:11 PMresume_flow_run
function to transition it from a paused state back to running. Here's a brief overview:
- Paused State: If the flow is in a paused state, you can use the resume_flow_run
function to resume it. This function requires the flow_run_id
and optionally a dictionary of inputs to provide to the flow run. The flow must be in a paused state for this operation to succeed.
- Pending State: If the flow is stuck in a pending state due to a worker crash or other issue, you might need to manually cancel the flow and resubmit it. Unfortunately, if the flow is not in a paused state, the resume_flow_run
function will not work.
For more detailed information, you might want to check the Prefect source code for flow runs.
If the flow is not paused but stuck in a pending state, consider manually intervening by canceling and resubmitting the flow.Lev Zemlyanov
03/18/2025, 10:17 PMMarvin
03/18/2025, 10:18 PMLev Zemlyanov
03/18/2025, 10:19 PMMarvin
03/18/2025, 10:19 PMLev Zemlyanov
03/18/2025, 10:19 PMMarvin
03/18/2025, 10:20 PM