You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Felix Uellendall (JIRA)" <ji...@apache.org> on 2019/04/17 08:01:00 UTC

[jira] [Created] (AIRFLOW-4338) Fix yaml.load deprecation warning

Felix Uellendall created AIRFLOW-4338:
-----------------------------------------

             Summary: Fix yaml.load deprecation warning
                 Key: AIRFLOW-4338
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4338
             Project: Apache Airflow
          Issue Type: Improvement
            Reporter: Felix Uellendall
            Assignee: Felix Uellendall


Before Python yaml version 5.1 yaml has used the {{UnsafeLoader }}that has a potential security vulnerability. From now on there is a {{FullLoader}} that will be used by default that fixes these vulnerability. To suppress the warning we can explicitly set the loader.{{}}

See [https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation] for more details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)