]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Assemble "don't joinedload other side" rule using query._current_path
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Oct 2016 21:06:07 +0000 (17:06 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Oct 2016 15:28:36 +0000 (11:28 -0400)
commitae7d2837b3c5ae3fd6e9dad6b14a26abb32cfee5
tree364dc06116db3131c4dc0f70ee365b1b440f6be7
parent4684cfb50836dc57107e49d4a78a8889c40d9662
Assemble "don't joinedload other side" rule using query._current_path

Discovered during testing for [ticket:3822], the rule added
for [ticket:1495] will fail if the source object has propagated
options set up, which add elements to query._current_path.

Fixes: #3824
Change-Id: I3d96c96fee5f9b247f739d2136d18681ac61f2fe
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/ext/baked.py
lib/sqlalchemy/orm/strategies.py
lib/sqlalchemy/orm/strategy_options.py
test/ext/test_baked.py
test/orm/test_eager_relations.py