ORIONIS API REFERENCE

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.

class documentation

class McpExtension: (source)

View In Hierarchy

Declare negotiated capabilities and extension-owned method/schema hooks.

Method __post_init__ Detach declarations so a compiled server cannot change accidentally.
Class Variable capabilities Capabilities advertised by the compiled server.
Class Variable decoders Decoders produced by field.
Class Variable identifier Unique identifier used to negotiate the extension.
Class Variable methods Methods produced by field.
Class Variable schema_hook Hook that contributes extension-specific schema definitions.
def __post_init__(self): (source)

Detach declarations so a compiled server cannot change accidentally.

Returns
NoneComplete the documented operation without returning a value.
capabilities: Mapping[str, object] = (source)

Capabilities advertised by the compiled server.

decoders: Mapping[str, msgspec.json.Decoder] = (source)

Decoders produced by field.

identifier: str = (source)

Unique identifier used to negotiate the extension.

methods: Mapping[str, Callable[..., object]] = (source)

Methods produced by field.

schema_hook: Callable[[dict[str, object]], None] | None = (source)

Hook that contributes extension-specific schema definitions.