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 Hourly(BaseEntity): (source)
Represent the configuration for hourly log file management.
| Parameters | |
| path | The file path where the log is stored. |
| level | The logging level (e.g., 'info', 'error', 'debug'). |
| retention | The number of hours to retain log files before deletion. |
| Returns | |
None | This class does not return a value. |
| Method | __post |
Validate attributes after dataclass initialization. |
| Class Variable | level |
Undocumented |
| Class Variable | path |
Undocumented |
| Class Variable | retention |
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 attributes after dataclass initialization.
| Parameters | |
self:Hourly | The instance of the Hourly class. |
| Returns | |
None | This method does not return a value. |
| Raises | |
TypeError | If 'retention_hours' is not a non-negative integer. |
ValueError | If 'retention_hours' is not between 1 and 168. |