class AsyncTransaction(ProxyComparable, StartableContext):
_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 |
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.
_asyncio.AsyncTransaction
object's context
outside of using a Python with: block.