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 mail configuration entity.

Method __post_init__ Validate the default mailer and isolate nested configuration mappings.
Method __validateMailers 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_address 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 _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): (source)

Validate the default mailer and isolate nested configuration mappings.

Returns
NoneRetain validated entities and copy caller-owned mappings.
Raises
TypeErrorIf any of the attributes are not of the expected type.
ValueErrorIf the default mailer is not declared in the mailers.
def __validateMailers(self): (source)

Validate and copy named mailer settings without converting their shape.

Returns
NoneStore an isolated mapping after validating each known transport.
Raises
TypeErrorIf any of the mailer settings are not of the expected type.
ValueErrorIf the mailer settings are invalid or missing required keys.

The default configured mailer name or its transport driver.

from_address: FromAddress or dict = (source)

Global sender applied to every message that declares no From header.

Conventional entities or arbitrary mailer names mapped to their settings.