kaxil commented on a change in pull request #4951: [AIRFLOW-4131] Make template
undefined behavior configurable.
URL: https://github.com/apache/airflow/pull/4951#discussion_r268410812
##########
File path: airflow/models/__init__.py
##########
@@ -3515,6 +3519,7 @@ def get_template_env(self):
env = jinja2.Environment(
loader=jinja2.FileSystemLoader(searchpath),
+ undefined=self.template_undefined,
Review comment:
Please correct me if I am wrong, this is a breaking change, isn't it ??
Behavior before this PR is if the variable is not defined it would error.
But after merging this PR: it would not raise an error.
@jmcarp @Fokko
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services