[
https://issues.apache.org/jira/browse/AIRFLOW-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524336#comment-16524336
]
Tim Swast commented on AIRFLOW-2682:
------------------------------------
Per https://cwiki.apache.org/confluence/display/AIRFLOW/Common+Pitfalls the
how-to guide on the BashOperator should call out the fact that it is templated
and how to avoid problems when passing in a full path to a script.
> Add how-to guide(s) for how to use basic operators like BashOperator and
> PythonOperator
> ---------------------------------------------------------------------------------------
>
> Key: AIRFLOW-2682
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2682
> Project: Apache Airflow
> Issue Type: Improvement
> Components: Documentation, examples
> Reporter: Tim Swast
> Assignee: Tim Swast
> Priority: Minor
>
> I notice there are no references to the
> [example_python_operator|https://github.com/apache/incubator-airflow/blob/master/airflow/example_dags/example_python_operator.py]
> or
> [example_bash_operator|https://github.com/apache/incubator-airflow/blob/master/airflow/example_dags/example_bash_operator.py]
> DAGs from the documentation. I believe these examples could be useful for
> explaining how to use these operators, specifically, but also as supplemental
> help for writing DAGs, generally.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)