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

Retain only a server key, accepted filter and bounded pending changes.

Method __init__ Create an empty process-local listener.
Method accepts Match only notification types explicitly requested by the client.
Class Variable __slots__ Declare the instance attribute slots reserved by this class.
Instance Variable closed Closed flag used by _Listener.
Instance Variable filters Value supplied for filters.
Instance Variable pending Work that has been admitted and is awaiting completion.
Instance Variable ready Whether backend initialization has completed.
Instance Variable server Value supplied for server.
def __init__(self, server: type, filters: SubscriptionFilter): (source)

Create an empty process-local listener.

Parameters
server:typeValue supplied for server.
filters:orionis.mcp.protocol.requests.SubscriptionFilterValue supplied for filters.
Returns
NoneComplete the documented operation without returning a value.
def accepts(self, method: str, uri: str | None) -> bool: (source)

Match only notification types explicitly requested by the client.

Parameters
method:strValue supplied for method.
uri:str | NoneValue supplied for uri.
Returns
boolResult of the operation described above.
__slots__: tuple[str, ...] = (source)

Declare the instance attribute slots reserved by this class.

Closed flag used by _Listener.

Value supplied for filters.

Work that has been admitted and is awaiting completion.

Whether backend initialization has completed.

Value supplied for server.