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 mail configuration entity.
| Method | __post |
Validate the default mailer and isolate nested configuration mappings. |
| Method | __validate |
Validate and copy named mailer settings without converting their shape. |
| Instance Variable | default |
The default configured mailer name or its transport driver. |
| Instance Variable | from |
Global sender applied to every message that declares no From header. |
| Instance Variable | mailers |
Conventional entities or arbitrary mailer names mapped to their settings. |
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 the default mailer and isolate nested configuration mappings.
| Returns | |
None | Retain validated entities and copy caller-owned mappings. |
| Raises | |
TypeError | If any of the attributes are not of the expected type. |
ValueError | If the default mailer is not declared in the mailers. |
Validate and copy named mailer settings without converting their shape.
| Returns | |
None | Store an isolated mapping after validating each known transport. |
| Raises | |
TypeError | If any of the mailer settings are not of the expected type. |
ValueError | If the mailer settings are invalid or missing required keys. |