You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or maybe you tried to assign it into the default_args ???
withDAG(
"awesome_dag",
schedule=None,
on_failure_callback=..., # This one related to the DAG callbacks,default_args={
"on_failure_callback": ..., # This one related to the Task callbacks within the DAG
}
):
...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Airflow has an option to execute a specific function when task fails (on_failure callback), but this functionality doesn't cover the following case:
My request is to add the analogue of on_failure_callback but for the state of the DAG, not task
All reactions