We can manually retry flow runs in the web interface with the
retry
button (screenshot attached).
Is there a way to do this in Python with a Prefect Client?
For example, I have a
FlowRun
that is in a crashed state:
Copy code
>>> flow_run.state_name
'Crashed'
Can I manually rerun it from the Python API. I'm aware of the flow run retry decorators. This is more for a debugging task, where switching back to the web interface is not efficient.
Jeremy Hetzel
09/22/2023, 3:17 PM
I couldn't find this specified in the documentation.
d
Deceivious
09/22/2023, 6:24 PM
Look into states. U can change the state to retrying I think.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.