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.
module documentation
Provide database migrations operations.
Includes current_migration_connection, migration_connection_scope.
| Class | _ |
Invalidate inherited connection selection when its owning scope ends. |
| Function | current |
Return the connection selected by the current migration step. |
| Function | migration |
Bind unqualified migration operations to their tracking transaction. |
| Constant | _MIGRATION |
Context-local migration connection isolated between asynchronous tasks. |
Return the connection selected by the current migration step.
| Returns | |
orionis.database.contracts.IConnection or None | Connection inherited by unqualified schema and ORM operations. |
Bind unqualified migration operations to their tracking transaction.
| Parameters | |
connection:orionis.database.contracts.IConnection | Connection selected by the migration runner. |
| Yields | |
None | No yielded value. Restore the previous binding on exit and invalidate the completed binding in child contexts that inherited it. |
Context-local migration connection isolated between asynchronous tasks.
| Value |
|