potiuk commented on PR #28498:
URL: https://github.com/apache/airflow/pull/28498#issuecomment-1359701473

   It will also make "mypy" a bit faster to start because it will not have to 
import airflow as "regular" package. I beleive that when we had it in airflow, 
it actually imported "airflow" twice - once to initialize the plugin and second 
time to import everything with "TYPE_CHECKING". Now only the "TYPE_CHECKING" 
import remains. It does not perform all the intialization that normally is 
performed when "airflow" package gets importe, so it shoudl make mypy quite a 
bit faster (especially when running with few files).


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to