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

Represent the configuration for hourly log file management.

Parameters
pathThe file path where the log is stored.
levelThe logging level (e.g., 'info', 'error', 'debug').
retention_hoursThe number of hours to retain log files before deletion.
Returns
NoneThis class does not return a value.
Method __post_init__ Validate attributes after dataclass initialization.
Class Variable level Undocumented
Class Variable path Undocumented
Class Variable retention_hours Undocumented

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method getFields Describe field names, normalized types, defaults, and metadata.
Method toDict Convert the dataclass instance to a recursively copied dictionary.
Class Variable __slots__ Undocumented
def __post_init__(self): (source)

Validate attributes after dataclass initialization.

Parameters
self:HourlyThe instance of the Hourly class.
Returns
NoneThis method does not return a value.
Raises
TypeErrorIf 'retention_hours' is not a non-negative integer.
ValueErrorIf 'retention_hours' is not between 1 and 168.
level: int | str | Level = (source)

Undocumented

Undocumented

retention_hours: int = (source)

Undocumented