class documentation

class AsyncTransaction(ProxyComparable, StartableContext):

View In Hierarchy

An asyncio proxy for a _engine.Transaction.
Class Method ​_regenerate​_proxy​_for​_target Undocumented
Async Method __aexit__ Undocumented
Method __init__ Undocumented
Method ​_sync​_transaction Undocumented
Async Method close Close this .Transaction.
Async Method commit Commit this .Transaction.
Async Method rollback Roll back this .Transaction.
Async Method start Start this _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​_transaction Undocumented
Property ​_proxied Undocumented
Property is​_active Undocumented
Property is​_valid Undocumented

Inherited from ProxyComparable:

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __ne__ Undocumented

Inherited from ReversibleProxy (via ProxyComparable):

Class Method ​_retrieve​_proxy​_for​_target Undocumented
Class Method ​_target​_gced Undocumented
Method ​_assign​_proxied Undocumented
Class Variable ​_proxy​_objects Undocumented

Inherited from StartableContext:

Async Method __aenter__ Undocumented
Method __await__ Undocumented
Method ​_raise​_for​_not​_started Undocumented
@classmethod
def _regenerate_proxy_for_target(cls, target):
async def __aexit__(self, type_, value, traceback):
def __init__(self, connection, nested=False):

Undocumented

def _sync_transaction(self):

Undocumented

async def close(self):

Close this .Transaction.

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.

async def commit(self):
Commit this .Transaction.
async def rollback(self):
Roll back this .Transaction.
async def start(self, is_ctxmanager=False):
Start this _asyncio.AsyncTransaction object's context outside of using a Python with: block.
__slots__: tuple[str, ...] =
connection =

Undocumented

nested =

Undocumented

sync_transaction =

Undocumented

@property
_proxied =

Undocumented

@property
is_active =

Undocumented

@property
is_valid =

Undocumented