ashb edited a comment 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. Not sure why, maybe because SQLAlchemy is not well-typed? 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]
