]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
test for None plugin_subject
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Jul 2023 16:08:24 +0000 (12:08 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 14 Jul 2023 16:19:40 +0000 (12:19 -0400)
commit024931fb1b931b5b71a6fb6726b6dd173a780f79
treeeca344af8fc64a16ee1ff824145a14ac32fb1be6
parenta7fa15ea7340569499095e06bd5ad1d71e1ccaff
test for None plugin_subject

Fixed additional regression caused by :ticket:`9805` where more aggressive
propagation of the "ORM" flag on statements could lead to an internal
attribute error when embedding an ORM :class:`.Query` construct that
nonetheless contained no ORM entities within a Core SQL statement, in this
case ORM-enabled UPDATE and DELETE statements.

Fixes: #10098
Change-Id: Ieeca9c64c28049e22d558ca47a720dd8bbe1eec9
doc/build/changelog/unreleased_20/10098.rst [new file with mode: 0644]
lib/sqlalchemy/orm/bulk_persistence.py
test/orm/test_session.py