]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
warn / document for Query.with_polymorphic() with with_loader_criteria()
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Mar 2021 14:23:23 +0000 (10:23 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 Mar 2021 14:23:23 +0000 (10:23 -0400)
commit8bf920d52ddd4ec5f62a00fb9db370a076aa375d
tree3832f220051ba0c73efffc47f5827a50b4629e18
parent070103630bb158e47230b8c6aadc57c3378bf425
warn / document for Query.with_polymorphic() with with_loader_criteria()

These are illustrated as not working in #6111.  As this is
a highly complex and legacy method, encourage users to
migrate off of it before using with_loader_criteria().

Fixes: #6111
Change-Id: I63c8187020c631d83259ea2200b66eabf74a0d0d
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
test/orm/test_deprecations.py