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 |
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 | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __init__ |
Initialize declared fields and public extra attributes. |
| Method | _dynamic |
Return public instance attributes that are not declared fields. |
| Method | _validate |
Validate names and storage for public extra attributes. |
| Method | get |
Describe declared fields and, optionally, dynamic attributes. |
| Method | to |
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 |
Cache declared fields and normalized type names for each concrete class. |
Validate worker limits and own the immutable retry schedule.
| Returns | |
None | Store validated worker settings with tuple backoff values. |
| Raises | |
TypeError | If limits, durations, or the retry schedule have invalid types. |
ValueError | If limits or durations are outside their allowed ranges. |