]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Removed executable coercion
authorFederico Caselli <cfederico87@gmail.com>
Sat, 4 Jan 2025 09:21:08 +0000 (10:21 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 23 Jan 2025 20:53:55 +0000 (21:53 +0100)
commit404de6e5ccfcf1054ea5777c95780d55f642e44c
treeba8fc59fbbb4af08b0478f3865afed1918b69cf3
parent1f704fb682a0759454a474901b33e0b311044253
Removed executable coercion

Removed the automatic coercion of executable objects, such as
:class:`_orm.Query`, when passed into :meth:`_orm.Session.execute`.
This usage raised a deprecation warning since the 1.4 series.

Fixes: #12218
Change-Id: Iaab3116fcc8d957ff3f14e84a4ece428fd176b8b
doc/build/changelog/unreleased_21/12218.rst [new file with mode: 0644]
lib/sqlalchemy/exc.py
lib/sqlalchemy/sql/coercions.py
test/orm/test_query.py