You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Niels Zeilemaker (JIRA)" <ji...@apache.org> on 2017/04/26 11:30:05 UTC

[jira] [Created] (AIRFLOW-1149) Allow custom filters to be added to jinja2

Niels Zeilemaker created AIRFLOW-1149:
-----------------------------------------

             Summary: 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


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)