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 monthly log file management.

Method __post_init__ Validate and normalize 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_months The number of months to retain log files before deletion.

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: Monthly): (source)

Validate and normalize attributes after dataclass initialization.

Parameters
self:MonthlyInstance of the Monthly configuration entity.
Returns
NoneThis method does not return a value.
Raises
ValueErrorIf any attribute is invalid.
TypeErrorIf any attribute has an incorrect type.
KeyErrorIf the logging level is not a valid Level enum name.
level: int | str | Level = (source)

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

The file path where the log is stored.

retention_months: int = (source)

The number of months to retain log files before deletion.