Skip to content

Question - using smaller DAGs as pieces of larger DAGs #13953

Discussion options

You must be logged in to vote

I think you may be interested in TaskGroups:
http://airflow.apache.org/docs/apache-airflow/stable/concepts.html#taskgroup

Also, I would consider creating for each of those queries a function that returns an instance of operator. Then you can simply invoke them in any DAG and easily reuse them 🤔

Also if you are using only PythonOperator you may be interested in:
http://airflow.apache.org/docs/apache-airflow/stable/concepts.html#taskflow-api

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@FredericoCoelhoNunes
Comment options

@turbaszek
Comment options

@FredericoCoelhoNunes
Comment options

@turbaszek
Comment options

Answer selected by turbaszek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants