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

Configure strictly validated queue worker defaults.

Method __post_init__ Validate worker limits and own the immutable retry schedule.
Instance Variable backoff Nonnegative retry delays read from QUEUE_WORKER_BACKOFF.
Instance Variable concurrency Maximum concurrent jobs read from QUEUE_WORKER_CONCURRENCY.
Instance Variable sleep Positive polling seconds read from QUEUE_WORKER_SLEEP.
Instance Variable timeout Positive execution seconds read from QUEUE_WORKER_TIMEOUT.
Instance Variable tries Maximum attempts read from QUEUE_WORKER_TRIES.

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method __init__ Initialize declared fields and public extra attributes.
Method _dynamicAttributes Return public instance attributes that are not declared fields.
Method _validateExtraNames Validate names and storage for public extra attributes.
Method getFields Describe declared fields and, optionally, dynamic attributes.
Method toDict Return a recursively copied dictionary of declared and extra values.
Class Variable __slots__ Declare that this class introduces no additional instance slots.
Class Variable _orionis_field_metadata Cache declared fields and normalized type names for each concrete class.
def __post_init__(self): (source)

Validate worker limits and own the immutable retry schedule.

Returns
NoneStore validated worker settings with tuple backoff values.
Raises
TypeErrorIf limits, durations, or the retry schedule have invalid types.
ValueErrorIf limits or durations are outside their allowed ranges.
backoff: tuple[float, ...] | list[float] = (source)

Nonnegative retry delays read from QUEUE_WORKER_BACKOFF.

concurrency: int = (source)

Maximum concurrent jobs read from QUEUE_WORKER_CONCURRENCY.

Positive polling seconds read from QUEUE_WORKER_SLEEP.

Positive execution seconds read from QUEUE_WORKER_TIMEOUT.

Maximum attempts read from QUEUE_WORKER_TRIES.