]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
handle non-mapped mixins for with_loader_criteria reduce
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Jun 2022 12:55:14 +0000 (08:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 9 Jun 2022 12:55:14 +0000 (08:55 -0400)
commit6f93f88b5ee683141c81ecd434a4c0818e08dbd9
tree6433e4bf65fa288d906754792a3e8252a6ab95f4
parente1935b1711dd10d1cb30e3990fef2dd2e0435f1f
handle non-mapped mixins for with_loader_criteria reduce

special handling is needed for a with_loader_criteria()
against a non-mapped mixin class.  added that to test
coverage

Fixes: #8109
Change-Id: Ia599361c8faab008e92095eb4607d02820f590d5
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/testing/pickleable.py
test/orm/test_pickled.py