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

class Content: (source)

View In Hierarchy

Declare literal bodies or views with one explicit isolated context.

Parameters
viewHTML template identifier, mutually exclusive with html.
htmlLiteral HTML, never interpreted as a template.
textLiteral plain text, mutually exclusive with text_view.
text_viewPlain-text template identifier.
dataContext shared by both views, with copied read-only containers.
Method __post_init__ Validate body declarations and snapshot their context.
Class Variable data Undocumented
Class Variable html Undocumented
Class Variable text Undocumented
Class Variable text_view Undocumented
Class Variable view Undocumented
def __post_init__(self): (source)

Validate body declarations and snapshot their context.

Returns
NoneProtect owned containers while preserving opaque object identity.
Raises
MailCompositionExceptionIf bodies conflict, are absent, or have invalid types or context.
data: Mapping[str, object] | None = (source)

Undocumented

html: str | None = (source)

Undocumented

text: str | None = (source)

Undocumented

text_view: str | None = (source)

Undocumented

view: str | None = (source)

Undocumented