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 a durable Redis queue connection.
| Method | __post |
Validate Redis connection fields, namespace, and reservation duration. |
| Instance Variable | db |
Nonnegative database index read from REDIS_DB. |
| Instance Variable | driver |
Redis driver identifier. |
| Instance Variable | endpoint |
Redis host read from REDIS_HOST. |
| Instance Variable | password |
Optional authentication password read from REDIS_PASSWORD. |
| Instance Variable | port |
TCP port read from REDIS_PORT, between 1 and 65535. |
| Instance Variable | prefix |
Namespace read from QUEUE_REDIS_PREFIX to isolate persisted jobs. |
| Instance Variable | queue |
Default logical queue name read from QUEUE_REDIS_QUEUE. |
| Instance Variable | retry |
Reservation duration read from QUEUE_REDIS_RETRY_AFTER in seconds. |
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 Redis connection fields, namespace, and reservation duration.
| Returns | |
None | Keep validated connection settings unchanged. |
| Raises | |
TypeError | If a setting has an invalid type. |
ValueError | If a driver, identifier, numeric range, or duration is invalid. |