]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fixes for mypy 0.971
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jul 2022 17:03:51 +0000 (13:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 19 Jul 2022 18:26:05 +0000 (14:26 -0400)
commit3e3ea70df4a753e9f774f222d3722d2c9bfdbca7
tree95bec62de0720a5891d576e8771cba84f8fa9f36
parenteefc8c985400cd458e561d61299a2b81bdff1189
fixes for mypy 0.971

things that were passing with 0.961 need adjustment.
it seems mypy has become very pedantic about the difference
between importing from a module vs. accessing members of that
module as instance variables, so adjust the preloaded
typing block to be explicitly instance variables, since that's
how the accessor works in any case.

Change-Id: I746a3c9102530b7cf9b123aec7be6376657c1169
lib/sqlalchemy/orm/exc.py
lib/sqlalchemy/orm/relationships.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/sql/__init__.py
lib/sqlalchemy/sql/cache_key.py
lib/sqlalchemy/util/preloaded.py
tox.ini