Hey all, 

I'm new to Airflow, and I have a question concerning creating DAGs on the fly. 
I saw this snippet in the documentation: 
https://airflow.apache.org/docs/stable/faq.html#how-can-i-create-dags-dynamically
which suggests you can programmatically create DAGs. 

My question is, can I invoke code similar to this to create a new DAG when 
Airflow is already running? For example, suppose I have a DAG factory which 
takes some config parameters and constructs a DAG. Would it be possible to use 
the CLI and/or REST API to trigger a call to this DAG factory to add a new DAG 
to my Airflow system? 

Thanks, 
-Saleil

Reply via email to