You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/08 12:04:22 UTC

[GitHub] [airflow] ashb commented on pull request #20131: Forward decorated function type to provide_session reusult

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org