You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/05/09 20:35:00 UTC

[jira] [Commented] (AIRFLOW-3341) Example for function that returns a DAG object

    [ https://issues.apache.org/jira/browse/AIRFLOW-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836676#comment-16836676 ] 

ASF subversion and git services commented on AIRFLOW-3341:
----------------------------------------------------------

Commit 1cf32972fd8bbe0fd63d601537f1482aa815a03f in airflow's branch refs/heads/master from kik-kik
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=1cf3297 ]

[AIRFLOW-3341] FAQ return DAG object example (#4605)

* added example of a function returning a dag object


> 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
>
> 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)