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 mail transport configurations for the application.

Method __post_init__ 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 _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 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
NoneThis method does not return a value.
Raises
TypeErrorIf 'smtp' is not a Smtp object or a dictionary, or if 'file' is not a File object or a dictionary.
file: orionis.foundation.config.mail.File | dict = (source)

The file-based mail transport configuration.

smtp: orionis.foundation.config.mail.Smtp | dict = (source)

The SMTP configuration used for sending emails.