[
https://issues.apache.org/jira/browse/AIRFLOW-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127602#comment-16127602
]
ASF subversion and git services commented on AIRFLOW-1505:
----------------------------------------------------------
Commit 984a87c0cb685ea4dfa765cc4f4a23c9058b3965 in incubator-airflow's branch
refs/heads/master from [~TrevorEdwards]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=984a87c ]
[AIRFLOW-1505] Document when Jinja substitution occurs
Closes #2523 from TrevorEdwards/airflow-1505
> 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
> Assignee: 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)