class AsyncTransaction(ProxyComparable[
An asyncio proxy for a :class:`_engine.Transaction`.
Async Method | __aexit__ |
Undocumented |
Method | __init__ |
Undocumented |
Async Method | close |
Close this :class:`.AsyncTransaction`. |
Async Method | commit |
Commit this :class:`.AsyncTransaction`. |
Async Method | rollback |
Roll back this :class:`.AsyncTransaction`. |
Async Method | start |
Start this :class:`_asyncio.AsyncTransaction` object's context outside of using a Python ``with:`` block. |
Class Variable | __slots__ |
Undocumented |
Instance Variable | connection |
Undocumented |
Instance Variable | nested |
Undocumented |
Instance Variable | sync |
Undocumented |
Property | is |
Undocumented |
Property | is |
Undocumented |
Class Method | _regenerate |
Undocumented |
Property | _proxied |
Undocumented |
Inherited from ProxyComparable
:
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __ne__ |
Undocumented |
Inherited from ReversibleProxy
(via ProxyComparable
):
Class Method | _retrieve |
Undocumented |
Class Method | _target |
Undocumented |
Method | _assign |
Undocumented |
Class Variable | _proxy |
Undocumented |
Inherited from StartableContext
(via ProxyComparable
, ReversibleProxy
):
Async Method | __aenter__ |
Undocumented |
Method | __await__ |
Undocumented |
Method | _raise |
Undocumented |
Close this :class:`.AsyncTransaction`. If this transaction is the base transaction in a begin/commit nesting, the transaction will rollback(). Otherwise, the method returns. This is used to cancel a Transaction without affecting the scope of an enclosing transaction.
Start this :class:`_asyncio.AsyncTransaction` object's context outside of using a Python ``with:`` block.
def _regenerate_proxy_for_target(cls, target:
Transaction
) -> AsyncTransaction
:
(source)
¶
Undocumented