ORIONIS API REFERENCE

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

Settle a Core transaction on its connection's reserved worker.

Method __init__ Retain the Core transaction and its owning worker.
Async Method commit Commit before allowing the connection to return to the pool.
Async Method rollback Roll back before allowing the connection to return to the pool.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable _transaction Open Core transaction.
Instance Variable _worker Worker owning the associated DBAPI checkout.
def __init__(self, transaction: Transaction, worker: ThreadedWorker): (source)

Retain the Core transaction and its owning worker.

Parameters
transaction:sqlalchemy.engine.TransactionOpen Core transaction.
worker:orionis.database.threaded.worker.ThreadedWorkerWorker owning the associated DBAPI checkout.
Returns
NoneNo return value.
async def commit(self): (source)

Commit before allowing the connection to return to the pool.

Returns
NoneNo return value.
async def rollback(self): (source)

Roll back before allowing the connection to return to the pool.

Returns
NoneNo return value.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

_transaction = (source)

Open Core transaction.

Worker owning the associated DBAPI checkout.