ryanyuan commented on a change in pull request #4900: [AIRFLOW-3362] 
[WIP]Template to support jinja2 native python types
URL: https://github.com/apache/airflow/pull/4900#discussion_r268029996
 
 

 ##########
 File path: airflow/lineage/datasets.py
 ##########
 @@ -18,7 +18,10 @@
 # under the License.
 import six
 
-from jinja2 import Environment
+try:
+    from jinja2.nativetypes import NativeEnvironment as Environment
 
 Review comment:
   You are right! Thanks for the suggestion!

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

Reply via email to