David Martin Calalang
07/10/2025, 7:20 PMMarvin
07/10/2025, 7:20 PMMarvin
07/10/2025, 7:21 PMpython
from prefect import flow
@flow(
name="my-flow",
task_runner=SequentialTaskRunner(),
retries=3,
retry_delay_seconds=60,
timeout_seconds=3600,
persist_result=True,
validate_parameters=True
)
def my_flow():
pass
You can find detailed documentation about these parameters in the Prefect 3.x API reference.
These parameters give you fine-grained control over flow execution, error handling, and result management. They can be mixed and matched based on your specific needs, and all are optional with sensible defaults.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.
Powered by