Thomas Weatherston
06/08/2021, 12:45 PMKevin Kho
Thomas Weatherston
06/08/2021, 12:56 PMfrom prefect import Flow, task
from prefect.engine import signals
from datetime import timedelta
@task(max_retries=5, retry_delay=timedelta(seconds=1))
def test():
raise signals.FAIL()
with Flow("test-flow") as f:
test()
f.run()
Kevin Kho
Thomas Weatherston
06/08/2021, 1:00 PMJenny
06/08/2021, 2:01 PMThomas Weatherston
06/08/2021, 2:07 PMJenny
06/08/2021, 2:09 PMMarvin
06/08/2021, 2:09 PMLukas N.
06/09/2021, 9:51 PM