summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/asyncio/session.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/ext/asyncio/session.py')
-rw-r--r--lib/sqlalchemy/ext/asyncio/session.py4
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.