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 GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/27 22:17: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=16753610#comment-16753610 ] 

ASF GitHub Bot commented on AIRFLOW-3341:
-----------------------------------------

kik-kik commented on pull request #4605: [AIRFLOW-3341] FAQ return DAG object example
URL: https://github.com/apache/airflow/pull/4605
 
 
   ### Jira [[AIRFLOW-3341] FAQ returning DAG object example](https://issues.apache.org/jira/browse/AIRFLOW-3341)
   
   ### Description
   - Added a small code example of a function returning a DAG object to `FAQ` section.
   
   ### Tests
   - No unit tests required as this is a doc update.
   
   ### Commits
   - Added an example function returning a DAG object
   
   ### Documentation
   - Not applicable
   
   ### Code Quality
   
   - `flake8` - not applicable
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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