]> 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:57:09 +0000 (08:57 -0400)
commit4f59ecef6f500e7e2586ee9c5d992a33e0d5d043
tree947270a6e181bc9337e20431106ed578ad3bc8cb
parent23b4f77983cd04f86971cd3169a90935b0a07187
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
(cherry picked from commit 6f93f88b5ee683141c81ecd434a4c0818e08dbd9)
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/testing/pickleable.py
test/orm/test_pickled.py