airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1149) Allow custom filters to be added to jinja2
Date Thu, 08 Jun 2017 15:37:18 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16042875#comment-16042875
] 

ASF subversion and git services commented on AIRFLOW-1149:
----------------------------------------------------------

Commit 9744b1a8d8223fb713156eacbcaf07456d6d43c3 in incubator-airflow's branch refs/heads/v1-8-test
from [~nzeilemaker]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=9744b1a ]

[AIRFLOW 1149][AIRFLOW-1149] Allow for custom filters in Jinja2 templates

Closes #2258 from
NielsZeilemaker/jinja_custom_filters


> Allow custom filters to be added to jinja2
> ------------------------------------------
>
>                 Key: AIRFLOW-1149
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1149
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Niels Zeilemaker
>            Assignee: Niels Zeilemaker
>             Fix For: 1.9.0, 1.8.2
>
>
> Jinja supports a feature called, custom filters (see http://jinja.pocoo.org/docs/dev/api/#writing-filters).
These filters can be useful to add custom post processing of variables in a jinja template.
> Maybe Airflow can allow for the custom filters to be added to a DAG similarly as user_defined_macros



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message