, but when i rerun from fail, what is the expected flow? Will it rerun for all cases
[3,1,"a"]
or skip
3,1
, and only rerun
a
Copy code
@task
def extract():
return [3, 1, "a"]
@task
def transform(x):
y = x + 1
logger = prefect.context.get("logger")
<http://logger.info|logger.info>(y)
return y
with Flow("failure-flow-test", executor=LocalExecutor(), run_config=LocalRun()) as flow:
e = extract()
t = transform.map(e)
z
Zanie
04/01/2021, 6:38 PM
Hi @Jeremy Tee -- to skip the successful tasks you'll need to define a
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.