]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
update for mypy 1.0 dev
authorFederico Caselli <cfederico87@gmail.com>
Sun, 27 Nov 2022 17:11:34 +0000 (18:11 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 29 Nov 2022 19:15:16 +0000 (14:15 -0500)
commit78833af4e650d37e6257cfbb541e4db56e2a285f
tree0b7f243111b6b072da6230c11f3618758e86ebfa
parent07d40578b1bb77456b7a7af425a905b146fdaef1
update for mypy 1.0 dev

As I need dmypy to work without facing [1], I am
running the latest build of mypy which seems so far
to finally not have that issue.

update constructs that latest mypy is being more picky
about, including better typing for the _NONE_NAME
symbol used in constraints (porting those elements
from the Enum patch at
I15ac3daee770408b5795746f47c1bbd931b7d26d)

[1] https://github.com/python/mypy/issues/12744

Change-Id: Ib3f56787fa65ea9bb2e6a0bccc4d99f54c516dad
lib/sqlalchemy/orm/instrumentation.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/base.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/naming.py
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/sqltypes.py
test/sql/test_metadata.py