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
Translate validation exceptions into structured field errors.
| Class | |
Translate validation exceptions into structured field errors. |
| Function | _get |
Return a cached mapping from encoded field names to declared types. |
| Constant | _CONSTRAINT |
Ordered patterns for identifying constraint types from msgspec error messages. |
| Constant | _MISSING |
Sentinel for distinguishing "not in cache" from "cached result is None". |
| Constant | _NESTED |
(schema_type, field_name) → nested schema type or None. |
| Constant | _PATH |
Suffix msgspec appends to report the location of the offending value. |
| Constant | _PATH |
Path marker len used by exception_parser. |
| Constant | _PATH |
Keep quoted dictionary keys intact even when they contain dots or brackets. |
| Constant | _STRUCT |
schema_type → {field_name: field_type} built from msgspec.structs.fields(). Avoids repeated C-level calls to fields() on the error path. |
| Constant | MISSING |
Regular expressions for parsing msgspec error messages. |
Ordered patterns for identifying constraint types from msgspec error messages.
| Value |
|
Keep quoted dictionary keys intact even when they contain dots or brackets.
| Value |
|
schema_type → {field_name: field_type} built from msgspec.structs.fields(). Avoids repeated C-level calls to fields() on the error path.
| Value |
|
Regular expressions for parsing msgspec error messages.
| Value |
|