You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/17 09:20:48 UTC

[GitHub] [airflow] feluelle commented on issue #5120: [AIRFLOW-4338] Fix yaml.load deprecation warning

feluelle commented on issue #5120: [AIRFLOW-4338] Fix yaml.load deprecation warning
URL: https://github.com/apache/airflow/pull/5120#issuecomment-484006817
 
 
   I don't understand why mypy cannot find the attribute `FullLoader`
   ```
   airflow/contrib/kubernetes/kubernetes_request_factory/pod_request_factory.py:45: error: Module has no attribute "FullLoader"
   airflow/contrib/kubernetes/kubernetes_request_factory/pod_request_factory.py:113: error: Module has no attribute "FullLoader"
   ```
   
   `python -c "import yaml; yaml.FullLoader"` runs successfully in the same python env mypy is installed.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services