class documentation
class AsyncSessionTransaction(ReversibleProxy[
A wrapper for the ORM :class:`_orm.SessionTransaction` object. This object is provided so that a transaction-holding object for the :meth:`_asyncio.AsyncSession.begin` may be returned. The object supports both explicit calls to :meth:`_asyncio.AsyncSessionTransaction.commit` and :meth:`_asyncio.AsyncSessionTransaction.rollback`, as well as use as an async context manager. .. versionadded:: 1.4
Async Method | __aexit__ |
Undocumented |
Method | __init__ |
Undocumented |
Async Method | commit |
Commit this :class:`_asyncio.AsyncTransaction`. |
Async Method | rollback |
Roll back this :class:`_asyncio.AsyncTransaction`. |
Async Method | start |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | nested |
Undocumented |
Instance Variable | session |
Undocumented |
Instance Variable | sync |
Undocumented |
Property | is |
Undocumented |
Method | _sync |
Undocumented |
Inherited from ReversibleProxy
:
Class Method | _regenerate |
Undocumented |
Class Method | _retrieve |
Undocumented |
Class Method | _target |
Undocumented |
Method | _assign |
Undocumented |
Class Variable | _proxy |
Undocumented |
Inherited from StartableContext
(via ReversibleProxy
):
Async Method | __aenter__ |
Undocumented |
Method | __await__ |
Undocumented |
Method | _raise |
Undocumented |