The code here accompanies the blog article Orchestration and DAG Design in Apache Airflow - Two Approaches.
In order to execute the code you will need to have airflow installed and running. This project also uses pipenv as its python package manager. Under the current assumptions, your DAGs will be copied into the airflow/dags directory.