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 | apply |
Write a pending flash payload into the session. |
| Function | filter |
Drop credential-like fields from a form payload before flashing it. |
| Function | normalize |
Coerce any supported error payload into {field: [message, ...]}. |
| Function | queue |
Merge values into the reserved bag key of a pending flash payload. |
| Constant | _SEQUENCE |
Undocumented |
| Constant | ERRORS |
Undocumented |
| Constant | OLD |
Undocumented |
| Constant | PREVIOUS |
Undocumented |
| Constant | SENSITIVE |
Undocumented |
Write a pending flash payload into the session.
Reserved bags are routed through their dedicated session methods so they merge with anything already flashed during this request instead of replacing it.
| Parameters | |
session:ISession | Session receiving the flashed values. |
data:Mapping[str, Any] | Pending flash payload. |
| Returns | |
None | Undocumented |
Coerce any supported error payload into {field: [message, ...]}.
Accepts a mapping of field to a single message or to a sequence of messages, or an exception exposing a failure attribute with field and message (e.g. ValidationException).
| Parameters | |
errors:object | Mapping of errors, or a validation exception. |
| Returns | |
dict[str, list[str]] | Field-indexed error messages. |
| Raises | |
TypeError | If errors is neither a mapping nor a validation exception. |