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
Provide mcp operations through DispatchResult, McpDispatcher.
| Class | |
Encoded JSON or a lazy stream of encoded notifications and final result. |
| Class | |
Perform no connection negotiation and retain no request or identity. |
| Async Function | _close |
Await a source's asynchronous close hook when one is available. |
| Constant | _CURSOR |
Cursor fields value used by dispatcher. |
| Constant | _DISCOVER |
server/discover. |
| Constant | _INTERNAL |
Internal error. |
| Constant | _INTERNAL |
JSON-RPC code identifying an unexpected application failure. |
| Constant | _MAX |
Max completions value used by dispatcher. |
| Constant | _PROMPT |
prompts/get. |
| Constant | _RESULT |
Result types definitions used by dispatcher. |
| Constant | _TOOL |
tools/call. |
| Constant | _UNAVAILABLE |
Expected admission rejection when bounded server capacity is unavailable. |
| Type Alias | |
Type alias for Literal['http', 'stdio', 'test']. |
Await a source's asynchronous close hook when one is available.
| Parameters | |
source:object | Object optionally exposing an awaitable aclose method. |
| Returns | |
None | Finish the close hook, or do nothing when aclose is absent. |
| Raises | |
BaseException | If the asynchronous close hook fails or is cancelled. |
Result types definitions used by dispatcher.
| Value |
|