]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
re-apply right memo for nested ORMJoin when splicing
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Oct 2024 14:29:34 +0000 (10:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 9 Oct 2024 13:17:31 +0000 (09:17 -0400)
commit54b43998ca3d9fcc1d516607c29c07dcdaa20f91
tree2e51da56c46a1443591473af1000c89a4c832484
parent855f599d07edda31f8eac660ec87b84455502aa2
re-apply right memo for nested ORMJoin when splicing

Fixed regression caused by fixes to joined eager loading in
:ticket:`11449`, where a particular joinedload case could not be asserted
correctly.   We now have an example of that case so the assertion has been
repaired to allow for it.

Fixes: #11965
Change-Id: I2e0a594981534f4aaeff361a2f8cf1a0fba8de8f
(cherry picked from commit 43b974a34957f22963e7faf44f0798c8179adcfc)
doc/build/changelog/unreleased_20/11965.rst [new file with mode: 0644]
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/util.py
test/orm/test_eager_relations.py