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)
Declare literal bodies or views with one explicit isolated context.
| Parameters | |
| view | HTML template identifier, mutually exclusive with html. |
| html | Literal HTML, never interpreted as a template. |
| text | Literal plain text, mutually exclusive with text_view. |
| text | Plain-text template identifier. |
| data | Context shared by both views, with copied read-only containers. |
| Method | __post |
Validate body declarations and snapshot their context. |
| Class Variable | data |
Undocumented |
| Class Variable | html |
Undocumented |
| Class Variable | text |
Undocumented |
| Class Variable | text |
Undocumented |
| Class Variable | view |
Undocumented |
Validate body declarations and snapshot their context.
| Returns | |
None | Protect owned containers while preserving opaque object identity. |
| Raises | |
MailCompositionException | If bodies conflict, are absent, or have invalid types or context. |