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:
[email protected]


With regards,
Apache Git Services

Reply via email to