]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
level up pep-484 on engine result
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Apr 2022 14:54:42 +0000 (10:54 -0400)
committermike bayer <mike_mp@zzzcomputing.com>
Tue, 12 Apr 2022 02:09:36 +0000 (02:09 +0000)
commit15ef11e0ede82e44fb07f31b63d3db0712d8bf48
tree7c46d8a388f88b5e5265c20e126f9ae60e97b700
parent8254e3a28a32b7097fb926a373c17c35d4ec1d57
level up pep-484 on engine result

Have each result subclass be generic to the
kind of row/object it returns.  rework things so that
a significant number of "type ignores" can go away
and also allow asyncio to more cleanly proxy
the result objects.

Change-Id: Ia3ddb2cb52f5856839bd8c9c46f0289ab4b10405
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/ext/asyncio/result.py