THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class _TransactionState: (source)
Constructor: _TransactionState(connection, transaction)
Per-task stack of open transactions bound to one raw connection.
| Async Method | __aenter__ |
Expose the wrapped connection without opening a new one. |
| Async Method | __aexit__ |
Leave the wrapped connection open for the enclosing transaction. |
| Method | __init__ |
Initialize the state with its root transaction. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | connection |
Undocumented |
| Instance Variable | owner |
Undocumented |
| Instance Variable | transactions |
Undocumented |
Expose the wrapped connection without opening a new one.
| Returns | |
AsyncConnection | The wrapped, already-open connection. |
Initialize the state with its root transaction.
| Parameters | |
connection:AsyncConnection | Raw connection owning the transaction stack. |
transaction:AsyncTransaction | Root transaction opened on the connection. |
| Returns | |
None | This method does not return a value. |