Skip to content

Option for DAG to throw exception when dependency between tasks are defined more than once #30128

Discussion options

You must be logged in to vote

Answer is no, this use case is too narrow: #30189

I think though there is room for a general use case of the user being able to add a callback to DAG construction events to enforce DAG quality, then this and many other use cases could be implemented by users without needing to add specialized logic in Airflow for each possible quality check.

But I don't see myself making that PR soon, so marking as answered for now.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@notatallshaw-gts
Comment options

@potiuk
Comment options

potiuk Mar 16, 2023
Collaborator

@notatallshaw
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by notatallshaw-gts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants