ashb commented on pull request #20131:
URL: https://github.com/apache/airflow/pull/20131#issuecomment-988753179


   > For some reason, this does not type check session—I can pass literally 
anything to it (e.g. session=object()) and Mypy would let it pass
   
   Correct. It's because our version of SQLA isn't currently typed (1.4 is) and 
we have `ignore_missing_imports` I think -- so `Session` is treated as `Any`, 
as I understand it.


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