Trevor Edwards created AIRFLOW-1505:
---------------------------------------
Summary: Document when Jinja substitution occurs
Key: AIRFLOW-1505
URL: https://issues.apache.org/jira/browse/AIRFLOW-1505
Project: Apache Airflow
Issue Type: Improvement
Reporter: Trevor Edwards
Priority: Minor
It is not explicitly mentioned anywhere in the documentation when Jinja
template substitution occurs. It would be helpful to note this to prevent users
from being confused when trying to use Jinja substitution in operators.
The DAG provided in https://issues.apache.org/jira/browse/AIRFLOW-1504 is an
example of a misunderstanding of this. The DAG attempts to print a field before
it has been substituted, and if the user does not know when substitution
happens, they may believe that substitution has failed.
The documentation should note that substitution occurs just before the
pre_execute function is called.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)