Replies: 2 comments
-
A feature like this would be great. What we've done for now is to add our re-usable modules (such as on_success or on_failure callbacks) as plugins and simply import them into our DAGs. Granted, you still need to import it for each DAG, but it makes the effort a little easier. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use Airflow Listeners to create TIs/DAG runs lifecycle notifications, and they are applied on all the dags. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I find it's useful to add global on_success and on_failure callbacks for all dags. and not being able to find a way to do that.
Use case/motivation
example, some kind of plugin can allow user to setup some callback for all existing DAGS without the need to updating them
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions