airflow-commits mailing list archives

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


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

> Document when Jinja substitution occurs
> ---------------------------------------
>                 Key: AIRFLOW-1505
>                 URL:
>             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 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

View raw message