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 weekly log file management.
| Method | __post |
Validate and normalize the Weekly configuration after 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 |
The number of weeks to retain log files before deletion. |
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 and normalize the Weekly configuration after initialization.
Notes
Ensures that the path, level, and retention_weeks attributes are valid and normalized.
| Parameters | |
self:orionis.foundation.config.logging.Weekly | The instance of the Weekly configuration. |
| Returns | |
None | This method does not return a value. |