class documentation

class MarkerTransaction(Transaction):

View In Hierarchy

A 'marker' transaction that is used for nested begin() calls.

Deprecated since version 1.4: future connection for 2.0 won't support this pattern.
Method __init__ Undocumented
Method ​_deactivate Undocumented
Method ​_do​_close Undocumented
Method ​_do​_commit Undocumented
Method ​_do​_rollback Undocumented
Class Variable __slots__ Undocumented
Instance Variable ​_is​_active Undocumented
Instance Variable ​_transaction Undocumented
Instance Variable connection Undocumented
Property ​_deactivated​_from​_connection True if this transaction is totally deactivated from the connection and therefore can no longer affect its state.
Property is​_active Undocumented

Inherited from Transaction:

Method ​_do​_deactivate do whatever steps are necessary to set this transaction as "deactive", however leave this transaction object in place as far as the connection's state.
Method ​_get​_subject Undocumented
Method ​_rollback​_can​_be​_called indicates the object is in a state that is known to be acceptable for rollback() to be called.
Method ​_transaction​_is​_active Undocumented
Method ​_transaction​_is​_closed Undocumented
Method close Close this .Transaction.
Method commit Commit this .Transaction.
Method rollback Roll back this .Transaction.
Class Variable ​_is​_root Undocumented
Property is​_valid Undocumented

Inherited from TransactionalContext (via Transaction):

Class Method ​_trans​_ctx​_check Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Instance Variable ​_outer​_trans​_ctx Undocumented
Instance Variable ​_trans​_subject Undocumented
def __init__(self, connection):
def _deactivate(self):

Undocumented

def _do_close(self):
def _do_commit(self):
def _do_rollback(self):
__slots__: tuple[str, ...] =
_is_active: bool =

Undocumented

_transaction =

Undocumented

connection =

Undocumented

@property
_deactivated_from_connection =
True if this transaction is totally deactivated from the connection and therefore can no longer affect its state.
@property
is_active =

Undocumented