]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
apply correct type to orm connection.execution_options
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Aug 2023 00:14:39 +0000 (20:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Aug 2023 14:02:14 +0000 (10:02 -0400)
commit022d148a7d969ee7a645e368d905862087bd0fd3
tree3eab480c088ea052f0b6dcbdf10bf02ca833cb10
parent6594c5d04135449ab2aef4960f827313992d4c3b
apply correct type to orm connection.execution_options

Fixed issue in :class:`_orm.Session` and :class:`_asyncio.AsyncSession`
methods such as :meth:`_orm.Session.connection` where the
:paramref:`_orm.Session.connection.execution_options` parameter were
hardcoded to an internal type that is not user-facing.

Fixes: #10182
Change-Id: Iab9d510bf182c7dfc0521c948cf63396d05078e5
doc/build/changelog/unreleased_20/10182.rst [new file with mode: 0644]
lib/sqlalchemy/ext/asyncio/scoping.py
lib/sqlalchemy/ext/asyncio/session.py
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py
test/typing/plain_files/orm/session.py