rotem created AIRFLOW-3341:
------------------------------

             Summary: Example for function that returns a DAG object
                 Key: AIRFLOW-3341
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3341
             Project: Apache Airflow
          Issue Type: Task
          Components: docs
    Affects Versions: 1.10.1
            Reporter: rotem


In the FAQ of the docs:

[https://airflow.apache.org/faq.html#how-can-i-create-dags-dynamically]

 
{code:java}
# or better, call a function that returns a DAG object!{code}
 

 

Is it possible to add an actual example how to write a function that returns a 
DAG object?

showing an actual example is a crucial part of documentation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to