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 ThreadedTransaction: (source)
Constructor: ThreadedTransaction(transaction, worker)
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. |
Retain the Core transaction and its owning worker.
| Parameters | |
transaction:sqlalchemy.engine.Transaction | Open Core transaction. |
worker:orionis.database.threaded.worker.ThreadedWorker | Worker owning the associated DBAPI checkout. |
| Returns | |
None | No return value. |