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

class IQueueManager(ABC): (source)

Known subclasses: orionis.queues.manager.QueueManager

View In Hierarchy

Declare the canonical dispatch and queue administration API.

Async Method close Close queue-owned clients without disposing shared database services.
Async Method connection Resolve a configured connection lazily.
Method dispatch Create an awaitable operation without performing I/O.
Async Method failed Resolve the durable failure repository lazily.
Async Method retryFailed Requeue a failed job with a fresh attempt budget.
Async Method worker Create a worker using validated central settings.
Class Variable __slots__ Undocumented
async def close(self): (source)

Close queue-owned clients without disposing shared database services.

Returns
NoneRelease resources owned by queue drivers.
async def connection(self, name: str | None = None) -> IQueueDriver: (source)

Resolve a configured connection lazily.

Parameters
name:str | None, optionalConnection name, or the central default.
Returns
IQueueDriverDriver shared by logical queues on this connection.
def dispatch(self, job: BaseJob) -> PendingDispatch: (source)

Create an awaitable operation without performing I/O.

Parameters
job:BaseJobSerializable application job.
Returns
PendingDispatchDeferred operation with fluent selection and delay.

Resolve the durable failure repository lazily.

Returns
IFailedJobRepositoryCentral repository shared by connections.
async def retryFailed(self, failed_id: str) -> str: (source)

Requeue a failed job with a fresh attempt budget.

Parameters
failed_id:strFailure identifier to retry.
Returns
strIdentifier returned by persistent dispatch.
async def worker(self, connection: str | None = None, queues: tuple[str, ...] | None = None, concurrency: int | None = None) -> IWorker: (source)

Create a worker using validated central settings.

Parameters
connection:str | None, optionalBackend name, or the default.
queues:tuple[str, ...] | None, optionalPriority-ordered channels, or the connection default.
concurrency:int | None, optionalMaximum simultaneous attempts, or the worker default.
Returns
IWorkerIndependent worker runtime.
__slots__: tuple = (source)

Undocumented