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/09/18 10:03:07 UTC

[GitHub] [airflow] TobKed commented on issue #6141: [AIRFLOW-5514] No implicit optional flag for mypy

TobKed commented on issue #6141: [AIRFLOW-5514] No implicit optional flag for mypy
URL: https://github.com/apache/airflow/pull/6141#issuecomment-532615740
 
 
   [PEP-484](https://www.python.org/dev/peps/pep-0484/#id29) says:
   
   > A past version of this PEP allowed type checkers to assume an optional type when the default value is None.
   ...
   This is no longer the recommended behavior. Type checkers should move towards requiring the optional type to be made explicit.
   
   Other references:
   https://github.com/python/peps/pull/689/files
   https://github.com/apache/airflow/pull/5965#discussion_r319720604

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