]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug which would cause an eagerly loaded many-to-one attribute
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Feb 2016 22:54:43 +0000 (17:54 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Feb 2016 23:01:20 +0000 (18:01 -0500)
commit594a974ede97941a61c2e657a63cb11a7137c1ae
treeb18fb3ec6b934385238311e80baf4cda1f64ec8d
parent2965da0a5d89119787bd45ac6f5459a7b755656d
- Fixed bug which would cause an eagerly loaded many-to-one attribute
to not be loaded, if the joined eager load were from a row where the
same entity were present multiple times, some calling for the attribute
to be eagerly loaded and others not.  The logic here is revised to
take in the attribute even though a different loader path has
handled the parent entity already. fixes #3431
doc/build/changelog/changelog_11.rst
doc/build/changelog/migration_11.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_eager_relations.py