]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
implement is_derived_from() for DML
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2025 16:38:53 +0000 (11:38 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Feb 2025 19:43:24 +0000 (14:43 -0500)
commit11012fcebf37e6f9f9447d20bb8dcc20a2c8b328
tree9e1d8438492e3681c76ee8cd5f692bcfd79dfcbb
parent701eef33388d2eeb139a6ece3558c4fc9e4d7d6a
implement is_derived_from() for DML

Fixed bug where using DML returning such as :meth:`.Insert.returning` with
an ORM model that has :func:`_orm.column_property` constructs that contain
subqueries would fail with an internal error.

Fixes: #12326
Change-Id: I419f645769a346c229944b30ac8fd4a0efe1646d
(cherry picked from commit b281402140683279c2aca2363f2acdb94929507f)
doc/build/changelog/unreleased_20/12326.rst [new file with mode: 0644]
lib/sqlalchemy/sql/dml.py
test/orm/dml/test_bulk_statements.py