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

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

cixuuz commented on pull request #4918: [AIRFLOW-4003] Extract example DAGs to 
separate pythons files
URL: https://github.com/apache/airflow/pull/4918
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Extract all example scripts to separate files in doc
> ----------------------------------------------------
>
>                 Key: AIRFLOW-4003
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4003
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.10.2
>            Reporter: Chen Tong
>            Assignee: Chen Tong
>            Priority: Major
>             Fix For: 1.10.3
>
>
> By extracting example python script, we could have unittest on them and make 
> sure correction easily.
>  
> {quote} 
> Files can be stored in the {{airflow/example_dags}} directory or 
> {{airflow/contrib/example_dags}} directory. Files from this directory can be 
> automatically tested to confirm their correctness.
> Example:
> {code}
> .. literalinclude:: ../../airflow/example_dags/example_python_operator.py 
>     :language: python 
>     :start-after: [START howto_operator_python_kwargs] 
>     :end-before: [END howto_operator_python_kwargs] 
> {code}
> Source: 
> [https://raw.githubusercontent.com/apache/airflow/master/docs/howto/operator.rst]
> Other scripts are stored in py files.
> {quote}



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

Reply via email to