]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Handle mappings passed to ``execution_options``.
authorFederico Caselli <cfederico87@gmail.com>
Thu, 26 Aug 2021 20:00:33 +0000 (22:00 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Thu, 26 Aug 2021 20:00:58 +0000 (22:00 +0200)
commitf02349336fa4470dbb5ca8e4d16031b8aa86a74a
tree0cacf340d84e198e64b30ca14a015a4a4973caf5
parente2d9ef3fe6f7bd9b151caf71ae5eb7f15522ec8c
Handle mappings passed to ``execution_options``.

Fixed a bug in :meth:`_asyncio.AsyncSession.execute` and
:meth:`_asyncio.AsyncSession.stream` that required ``execution_options``
to be an instance of ``immutabledict`` when defined. It now
correctly accepts any mapping.

Fixes: #6943
Change-Id: Ic09de480dc2da1b0bdce25acb60b8f01371971f9
doc/build/changelog/unreleased_14/6943.rst [new file with mode: 0644]
lib/sqlalchemy/ext/asyncio/session.py
lib/sqlalchemy/orm/persistence.py
lib/sqlalchemy/orm/session.py
test/ext/asyncio/test_session_py3k.py