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.
Undocumented
| Class | |
One statically reachable argument mirrored into a lowercase HTTP header. |
| Function | _argument |
Read the exact compiled property path without interpreting dotted keys. |
| Function | _binding |
Validate the name and primitive type at one reachable property. |
| Function | _contains |
Locate annotations even inside unsupported schema constructs. |
| Function | _decode |
Validate ASCII transport syntax and decode the exact Base64 sentinel. |
| Function | _matches |
Compare safe JSON integers numerically, accepting equivalent 42.0 values. |
| Function | _matches |
Compare mirrored parameters without coercing booleans into integers. |
| Function | _mismatch |
Report the failing header without reflecting untrusted field values. |
| Function | _parameter |
Read either decoded protocol structs or an unknown method's raw mapping. |
| Function | _single |
Require one field occurrence, including case-insensitive duplicates. |
| Function | _validate |
Require mirrored values precisely when their argument is present and non-null. |
| Function | _validate |
Compare one required standard header with its corresponding body field. |
| Function | _validate |
Distinguish invalid body metadata from a missing or disagreeing header. |
| Function | _walk |
Visit named object properties with statically known extraction paths. |
| Function | _walk |
Visit properties chains and reject annotations hidden elsewhere. |
| Function | compile |
Validate tool schema annotations once and freeze extraction paths. |
| Function | validate |
Enforce mirrored request metadata before protocol method dispatch. |
| Constant | _ANNOTATION |
Undocumented |
| Constant | _NAMED |
Undocumented |
| Constant | _NUMBER |
Undocumented |
| Constant | _PLAIN |
Undocumented |
| Constant | _PREFIX |
Undocumented |
| Constant | _SAFE |
Undocumented |
| Constant | _SUFFIX |
Undocumented |
| Constant | _TOKEN |
Undocumented |
Compare mirrored parameters without coercing booleans into integers.
| Parameters | |
binding:HeaderBinding | Value supplied for binding. |
header:str | Value supplied for header. |
value:object | Value to inspect, transform or validate. |
| Returns | |
bool | Result of the operation described above. |
Report the failing header without reflecting untrusted field values.
| Parameters | |
name:str | Value supplied for name. |
| Returns | |
McpProtocolException | Result of the operation described above. |
Require mirrored values precisely when their argument is present and non-null.
| Parameters | |
headers:Headers | Value supplied for headers. |
binding:HeaderBinding | Value supplied for binding. |
arguments:object | Arguments supplied for this operation. |
| Returns | |
None | Complete the documented operation without returning a value. |
Headers, name: str, expected: object, *, encoded: bool = False):
(source)
¶
Compare one required standard header with its corresponding body field.
| Parameters | |
headers:Headers | Value supplied for headers. |
name:str | Value supplied for name. |
expected:object | Value supplied for expected. |
encoded:bool | Value supplied for encoded. |
| Returns | |
None | Complete the documented operation without returning a value. |
Mapping[ str, object], path: tuple[ str, ...], bindings: list[ HeaderBinding]):
(source)
¶
Visit named object properties with statically known extraction paths.
| Parameters | |
properties:Mapping[str, object] | Named child schemas. |
path:tuple[str, ...] | Parent property path. |
bindings:list[HeaderBinding] | Accumulator for mirrored header declarations. |
| Returns | |
None | Valid child mappings have been visited in declaration order. |
Mapping[ str, object], path: tuple[ str, ...], bindings: list[ HeaderBinding]):
(source)
¶
Visit properties chains and reject annotations hidden elsewhere.
| Parameters | |
schema:Mapping[str, object] | Schema declaration used for conversion and validation. |
path:tuple[str, ...] | Value supplied for path. |
bindings:list[HeaderBinding] | Declared bindings associated with this operation. |
| Returns | |
None | Complete the documented operation without returning a value. |
Mapping[ str, object]) -> tuple[ HeaderBinding, ...]:
(source)
¶
Validate tool schema annotations once and freeze extraction paths.
| Parameters | |
inputMapping[str, object] | Value supplied for input_schema. |
| Returns | |
tuple[HeaderBinding, ...] | Result of the operation described above. |
Headers, envelope: JsonRpcRequest, params: RequestParams | Mapping[ str, object] | None = None, bindings: tuple[ HeaderBinding, ...] = ()):
(source)
¶
Enforce mirrored request metadata before protocol method dispatch.
Unknown methods may omit params here to decode only their raw mapping. Notifications have no metadata-header requirements in this protocol revision.
| Parameters | |
headers:Headers | Value supplied for headers. |
envelope:JsonRpcRequest | Value supplied for envelope. |
params:RequestParams | Mapping[str, object] | None | Parameters decoded for the requested operation. |
bindings:tuple[HeaderBinding, ...] | Declared bindings associated with this operation. |
| Returns | |
None | Complete the documented operation without returning a value. |