]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix(AsyncResult): Fix scalar method error due to missing attribute
authorallenyuchen <allenyuchen@hotmail.com>
Wed, 12 Feb 2025 17:35:58 +0000 (12:35 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 12 Feb 2025 19:43:11 +0000 (14:43 -0500)
commitca092e73a254a3914fd93ca98340ba7762d4cee9
treebf42f626d980351ff12c4e34772a86a8eb603173
parent3c69e9d1fb8d8f4d16628b9355fe95e53865e2dd
fix(AsyncResult): Fix scalar method error due to missing attribute

Fixed bug where :meth:`_asyncio.AsyncResult.scalar`,
:meth:`_asyncio.AsyncResult.scalar_one_or_none`, and
:meth:`_asyncio.AsyncResult.scalar_one` would raise an ``AttributeError``
due to a missing internal attribute.  Pull request courtesy Allen Ho.

Fixes: #12338
Closes: #12339
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12339
Pull-request-sha: 63ba43365e9624a75e3f206e6b0f4569e3940da6

Change-Id: I44a949e4a942a080338037cd570d4b1dc0d7550d
doc/build/changelog/unreleased_20/12338.rst [new file with mode: 0644]
lib/sqlalchemy/ext/asyncio/result.py
test/ext/asyncio/test_engine_py3k.py