airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Yuan (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (AIRFLOW-3362) Template to support jinja2 native python types
Date Sun, 01 Sep 2019 23:52:00 GMT

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

Ryan Yuan reassigned AIRFLOW-3362:
----------------------------------

    Assignee:     (was: Ryan Yuan)

> Template to support jinja2 native python types
> ----------------------------------------------
>
>                 Key: AIRFLOW-3362
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3362
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: core, DAG
>            Reporter: Duan Shiqiang
>            Priority: Major
>
> Airflow latest (1.10.x)'s template can only render into string which is fine most of
the times, but it would be better to support render into python types.
> It can be very useful if the template system can support render into native python types
like list, dictionary, etc. Especially when using xcom to pass some values between operators.
> Jinja2 supports this feature from 2.10, more info can found here: http://jinja.pocoo.org/docs/2.10/nativetypes/



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message