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
class Mailers(BaseEntity): (source)
Represent mail transport configurations for the application.
| Method | __post |
Validate attribute types after initialization. |
| Instance Variable | file |
The file-based mail transport configuration. |
| Instance Variable | smtp |
The SMTP configuration used for sending emails. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Validate attribute types after initialization.
Ensures that the 'smtp' attribute is an instance of the Smtp class or a dictionary, and the 'file' attribute is an instance of the File class or a dictionary.
| Returns | |
None | This method does not return a value. |
| Raises | |
TypeError | If 'smtp' is not a Smtp object or a dictionary, or if 'file' is not a File object or a dictionary. |