]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
send execution options to connection also
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 3 Jun 2026 13:46:19 +0000 (09:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Jun 2026 17:08:24 +0000 (13:08 -0400)
commit01194229387ab3d5e43d8395ce368b858dcd2b69
tree76541a15f66f2b3c6211aff95a5aabfb917b4b9e
parent4fb459aaf05dd9c31ce3ece57c1bbf81ca9855de
send execution options to connection also

Session level :paramref:`_orm.Session.execution_options` now take
effect for Core level SQL emitted by unit of work operations, in
addition to their existing use within ORM statement executions.
This is to provide for Core options such as
:paramref:`_engine.Connection.execution_options.schema_translate_map`
to be applicable to a :class:`.Session` overall.

Fixes: #13346
Change-Id: Icb453b7925f1bc38f30538d7726d222842bc65bd
doc/build/changelog/migration_21.rst
doc/build/changelog/unreleased_21/13346.rst [new file with mode: 0644]
doc/build/core/connections.rst
lib/sqlalchemy/orm/session.py
test/orm/test_session.py