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 WorkerOptions: (source)

View In Hierarchy

Retain stable validated settings for an independent worker runtime.

Method __post_init__ Validate concurrency, queue routing, and worker polling settings.
Class Variable concurrency Concurrency value used by WorkerOptions.
Class Variable connection Configured connection used to store or dispatch the operation.
Class Variable queues Queue names selected for worker polling.
Class Variable retry_after Retry after value used by WorkerOptions.
Class Variable sleep Sleep value used by WorkerOptions.
def __post_init__(self): (source)

Validate concurrency, queue routing, and worker polling settings.

Returns
NoneKeep the frozen worker settings unchanged after successful validation.
Raises
orionis.queues.exceptions.QueueConfigurationErrorIf concurrency, queue selection, routing names, or durations are invalid.
concurrency: int = (source)

Concurrency value used by WorkerOptions.

connection: str = (source)

Configured connection used to store or dispatch the operation.

queues: tuple[str, ...] = (source)

Queue names selected for worker polling.

retry_after: float = (source)

Retry after value used by WorkerOptions.

Sleep value used by WorkerOptions.