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.

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

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method __init__ Initialize declared fields and public extra attributes.
Method _dynamicAttributes Return public instance attributes that are not declared fields.
Method _validateExtraNames Validate names and storage for public extra attributes.
Method getFields Describe declared fields and, optionally, dynamic attributes.
Method toDict 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_field_metadata Cache declared fields and normalized type names for each concrete class.
def __post_init__(self): (source)

Validate attributes after dataclass initialization.

Parameters
self:orionis.foundation.config.logging.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 | orionis.foundation.config.logging.Level = (source)

The logging level (e.g., 'info', 'error', 'debug').

The file path where the log is stored.

retention_hours: int = (source)

The number of hours to retain log files before deletion.