]> 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:27:51 +0000 (10:27 -0400)
commit319f09ffced3f655e7d500b3a9965e19468fd9d9
treed3e3c54b33d3d8fdc18b687e00464784cc3a7cb7
parent47c91d06b56b0a0cf366d3c1f8b6d71a82149e43
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
doc/build/changelog/unreleased_14/8001.rst [new file with mode: 0644]
lib/sqlalchemy/orm/context.py
test/orm/test_query.py