Michael Z
08/22/2022, 7:24 PMtrigger=any_failed
in my task. But I really only want to do something if the previous task has failed, and not consider all upstream tasks. Can someone point me in the right direction?Rob Freedy
08/22/2022, 7:34 PMsuccess = succeed(upstream_tasks=[do_something_important])
failed_task = fail(upstream_tasks=[do_something_important])
always_run(upstream_tasks=[do_something_important])
Michael Z
08/22/2022, 9:28 PMdo_something_important
called do_something_important_before
and this passes its output to do_something_important
so it is still upstream. I would like to trigger only if do_something_important
fails.Rob Freedy
08/23/2022, 1:07 PMtrigger=all_finished
in the task decorator of the do_something_import
task and then have something like task_a_result = task_a(upstream_tasks=[do_something_important])
in the next task.