]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix with_loader_criteria for select(A).join(B)
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Oct 2021 15:03:46 +0000 (11:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Oct 2021 20:10:34 +0000 (16:10 -0400)
commita9d85047cd73f206314afc8e25954b6fb0920afb
tree9b6ee081a531b7b5e9bc0f6a3074f2182d853e17
parent73b69903d2fb9fd20c7b5cdd3fbde2df26f96c2a
fix with_loader_criteria for select(A).join(B)

Also revise the contains_eager() note that was just
added in fec2b6560c14bb28ee7f, as I mistakenly forgot that
WLC also affects elements of the query that are there
as part of the normal entites/criteria.

Fixes: #7189
Change-Id: Ibd8a1826aaee8e91ab6704173df5fccb56b7e785
doc/build/changelog/unreleased_14/7189.rst [new file with mode: 0644]
lib/sqlalchemy/orm/util.py
test/orm/test_relationship_criteria.py