rjgoyln commented on code in PR #70943:
URL: https://github.com/apache/airflow/pull/70943#discussion_r3706287048


##########
airflow-core/src/airflow/utils/yaml.py:
##########
@@ -68,6 +68,6 @@ def __getattr__(name):
 
     if name == "FullLoader":
         # Try to use CFullLoader by default
-        getattr(yaml, "CFullLoader", yaml.FullLoader)
+        return getattr(yaml, "CFullLoader", yaml.FullLoader)

Review Comment:
   Thank you! I learned a lot from this. I hadn't thought about the 
compatibility issues before. 
   I've decided to remove the CFullLoader part and keep the pure Python 
version. Does this sound good to you?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to