airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Riccomini (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AIRFLOW-1505) Document when Jinja substitution occurs
Date Tue, 15 Aug 2017 17:37:01 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Riccomini closed AIRFLOW-1505.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

> 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
>             Fix For: 1.9.0
>
>
> 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)

Mime
View raw message