]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
add typing to legacy operators
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Jan 2023 13:52:01 +0000 (08:52 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 26 Jan 2023 18:42:15 +0000 (13:42 -0500)
commitc06ef9745f34524169cb66335f0b0a86137bdb39
tree79d86967b99861de75b6dacfb354d171eedca54e
parent19cbf8038f4a9e8e0820bcfeb6b65bf5bc873d39
add typing to legacy operators

Added typing to legacy operators such as ``isnot()``, ``notin_()``, etc.
which previously were referencing the newer operators but were not
themselves typed.

Fixes: #9148
Change-Id: I3ad7d75d89ec13c9f45063033ecff69d610c72ca
doc/build/changelog/unreleased_20/more_typing.rst
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/operators.py
test/ext/mypy/plain_files/sql_operations.py