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 Worker(BaseEntity): (source)
Configure strictly validated queue worker defaults.
| Parameters | |
| concurrency | Maximum concurrent jobs read from QUEUE_WORKER_CONCURRENCY. |
| sleep | Positive polling seconds read from QUEUE_WORKER_SLEEP. |
| timeout | Positive execution seconds read from QUEUE_WORKER_TIMEOUT. |
| tries | Maximum attempts read from QUEUE_WORKER_TRIES. |
| backoff | Nonnegative retry delays read from QUEUE_WORKER_BACKOFF. |
| Method | __post |
Validate worker limits and own the immutable retry schedule. |
| Class Variable | backoff |
Undocumented |
| Class Variable | concurrency |
Undocumented |
| Class Variable | sleep |
Undocumented |
| Class Variable | timeout |
Undocumented |
| Class Variable | tries |
Undocumented |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
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. |