[
https://issues.apache.org/jira/browse/AIRFLOW-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ash Berlin-Taylor updated AIRFLOW-4003:
---------------------------------------
Fix Version/s: (was: 1.10.3)
1.10.4
> 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.4
>
>
> 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)