[
https://issues.apache.org/jira/browse/AIRFLOW-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836677#comment-16836677
]
ASF subversion and git services commented on AIRFLOW-3341:
----------------------------------------------------------
Commit 6e77d3a1594b1a9d5f0ce3560748db21f2d33e90 in airflow's branch
refs/heads/v1-10-test from kik-kik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=6e77d3a ]
[AIRFLOW-3341] FAQ return DAG object example (#4605)
* added example of a function returning a dag object
(cherry picked from commit 1cf32972fd8bbe0fd63d601537f1482aa815a03f)
> 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
> Assignee: kik
> Priority: Minor
> Fix For: 1.10.4, 2.0.0
>
>
> 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)