diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-14 09:01:56 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-02-14 09:01:56 -0500 |
commit | 50db0480d97ee0658f738ae2093cd5be0b20251d (patch) | |
tree | 820f9abcd38e42ee9fc370ce564318ebcd805033 /lib/sqlalchemy/ext/asyncio/session.py | |
parent | d6b3c82b0c329730bcaff42b4bb39dba83acb536 (diff) | |
download | sqlalchemy-50db0480d97ee0658f738ae2093cd5be0b20251d.tar.gz |
remove **kw from AsyncSession.begin() / AsyncSession.begin_nested()
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
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/session.py')
-rw-r--r-- | lib/sqlalchemy/ext/asyncio/session.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/asyncio/session.py b/lib/sqlalchemy/ext/asyncio/session.py index 22de2cab1..18b38ee0a 100644 --- a/lib/sqlalchemy/ext/asyncio/session.py +++ b/lib/sqlalchemy/ext/asyncio/session.py @@ -533,7 +533,7 @@ class AsyncSession(ReversibleProxy): sync_connection ) - def begin(self, **kw): + def begin(self): """Return an :class:`_asyncio.AsyncSessionTransaction` object. The underlying :class:`_orm.Session` will perform the @@ -556,7 +556,7 @@ class AsyncSession(ReversibleProxy): 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. |