Removed the unused ``**kw`` arguments from
:class:`_asyncio.AsyncSession.begin` and
:class:`_asyncio.AsyncSession.begin_nested`. These kw aren't used and
appear to have been added to the API in error.
Fixes: #7703
Change-Id: I39ff3850929d83e6efeb7f284f2f4d5e4ca120b1
--- /dev/null
+.. change::
+ :tags: bug, orm, asyncio
+ :tickets: 7703
+
+ Removed the unused ``**kw`` arguments from
+ :class:`_asyncio.AsyncSession.begin` and
+ :class:`_asyncio.AsyncSession.begin_nested`. These kw aren't used and
+ appear to have been added to the API in error.
sync_connection
)
- def begin(self, **kw):
+ def begin(self):
"""Return an :class:`_asyncio.AsyncSessionTransaction` object.
The underlying :class:`_orm.Session` will perform the
return AsyncSessionTransaction(self)
- def begin_nested(self, **kw):
+ def begin_nested(self):
"""Return an :class:`_asyncio.AsyncSessionTransaction` object
which will begin a "nested" transaction, e.g. SAVEPOINT.