]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure _BundleEntity provides .mapper
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Jan 2018 23:07:19 +0000 (18:07 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 30 Jan 2018 02:24:04 +0000 (21:24 -0500)
commit606eefa5c64e14e83d81e449ca46b1585e69e800
treedbc59eafb6b310f78e95365d622edc8dca3ac7dd
parent5fac520b2a1d168387319548c6674d89928f0067
Ensure _BundleEntity provides .mapper

Fixed bug where the :class:`.Bundle` object did not
correctly report upon the primary :class:`.Mapper` object
represened by the bundle, if any.   An immediate
side effect of this issue was that the new selectinload
loader strategy wouldn't work with the horizontal sharding
extension.

Change-Id: I54a626100b2f4da497597e8944fa8dd853de47a3
Fixes: #4175
doc/build/changelog/unreleased_12/4175.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
test/ext/test_horizontal_shard.py
test/orm/test_query.py