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
A reusable unbound handler plan; payloads never become keyword mappings.
| Class | _ |
One compile-time classified argument, with no request references. |
| Class | |
A reusable unbound handler plan; payloads never become keyword mappings. |
| Function | _classify |
Assign one trusted source to an argument before accepting requests. |
def _classify(parameter:
inspect.Parameter, annotation: object, payload_type: object, argument_names: tuple[ str, ...], uri_names: tuple[ str, ...]) -> _Parameter:
(source)
¶
Assign one trusted source to an argument before accepting requests.
| Parameters | |
parameter:inspect.Parameter | Handler parameter whose source and positional mode are classified. |
annotation:object | Native type annotation to inspect or validate. |
payloadobject | Declared payload type, or None when the handler has no payload. |
argumenttuple[str, ...] | Named prompt arguments supplied by the protocol. |
urituple[str, ...] | Variables extracted from the resource URI template. |
| Returns | |
orionis.mcp.invoker._Parameter | Immutable binding plan with its trusted source, value and positional mode. |
| Raises | |
TypeError | If the annotation is unsupported or refers to an undeclared payload type. |