]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
dont use the label convention for memoized entities
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 May 2022 14:27:51 +0000 (10:27 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 May 2022 14:35:03 +0000 (10:35 -0400)
commit1bfbe942c3c128137196b18c9fbaa294eefd9b87
tree767a2b1fab0929b32c6f0726686fa899f101ce71
parente6c92d2622d28130a773bc5d27449c8630335bce
dont use the label convention for memoized entities

Fixed issue where ORM results would apply incorrect key names to the
returned :class:`.Row` objects in the case where the set of columns to be
selected were changed, such as when using
:meth:`.Select.with_only_columns`.

Fixes: #8001
Change-Id: If3a2a5d00d15ebc2e9d41494845cfb3b06f80dcc
(cherry picked from commit 319f09ffced3f655e7d500b3a9965e19468fd9d9)
doc/build/changelog/unreleased_14/8001.rst [new file with mode: 0644]
lib/sqlalchemy/orm/context.py
test/orm/test_query.py