]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
deprecate Query.instances()
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Aug 2022 22:59:05 +0000 (18:59 -0400)
committermike bayer <mike_mp@zzzcomputing.com>
Thu, 4 Aug 2022 13:32:30 +0000 (13:32 +0000)
commit8032bfdcee30023aa2facf80be0d3627a8467149
tree0918b0c5245d16d1686b040f01a5c904f00b8c1a
parent0027b3a4bc54599ac8102a4a3d81d8007738903e
deprecate Query.instances()

this method no longer does the thing that it was originally
intended to do, which is to get ORM results from arbitrary
result sets.   Modern patterns should supersede the
use of this construct.

Change-Id: Ia1656c84d7c323f55e3a9594b950a40763d63d90
References: #8347
lib/sqlalchemy/orm/query.py
test/orm/test_deprecations.py
test/orm/test_options.py