potiuk commented on issue #7456: [AIRFLOW-6817] - Move airflow __init__.py 
imports to sub-packages
URL: https://github.com/apache/airflow/pull/7456#issuecomment-589972033
 
 
   Not yet indeed :).
   
   Let's talk at the devlist indeed. I understand where you are coming from, 
but I think it's not good idea for the users in the future to switch to that.
   
   While I understand (and concur) we might want to add PEP-562 behavior for 
backwards compatibility, I don't think it should be default behavior for 
examples and future users:
   
   - explicit is better than implicit
   - IDE support and mypy will go crazy (I believe - I would like to check it 
when it's done)
   
   I think a lot of our users are not super-hackers and they use IDEs to write 
the code. If the PEP-562 results with having no autocomplete/verification of 
proper import, then it's a no-go for me.
   
   
   

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