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.
module documentation
Undocumented
| Function | _assert |
Reject invalid synchronous declarations without leaking coroutines. |
| Function | _is |
Check whether a value is a Mailable subclass. |
| Async Function | _run |
Run one configurator exactly once and await an asynchronous result. |
Reject invalid synchronous declarations without leaking coroutines.
| Parameters | |
value:object | Declaration result. |
expected:type | Required runtime type. |
label:str | Declaration method or field name. |
| Returns | |
None | Accept only the required type. |
| Raises | |
MailCompositionException | If the declared value violates its synchronous contract. |
Run one configurator exactly once and await an asynchronous result.
| Parameters | |
callback:object | Function, method, or callable object supplied by the caller. |
message:Message | Configurator exclusive to the current operation. |
| Returns | |
None | Apply the callback mutations to the supplied message. |
| Raises | |
MailCompositionException | If the callback is not callable, fails, or returns another value. |