Chen Tong created AIRFLOW-4003:
----------------------------------
Summary: 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
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:
{{.. literalinclude:: ../../airflow/example_dags/example_python_operator.py
:language: python :start-after: [START howto_operator_python_kwargs]
:end-before: [END howto_operator_python_kwargs] }}
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)