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

Manage group membership owned by the current Hub connection.

Method __init__ Bind membership operations to one owned connection.
Async Method join Join a group without consuming another slot for existing membership.
Async Method leave Remove the current connection from one group idempotently.
Class Variable __slots__ Undocumented
Instance Variable _connection_id Undocumented
Instance Variable _manager Undocumented
def __init__(self, manager: IConnectionManager, connection_id: str): (source)

Bind membership operations to one owned connection.

Parameters
manager:IConnectionManagerRegistry owning this connection and its Hub namespace.
connection_id:strCurrent connection identifier.
Returns
NoneStore the registry and connection identifier for membership changes.
async def join(self, group: str): (source)

Join a group without consuming another slot for existing membership.

Parameters
group:strHub-local group name, at most 256 characters.
Returns
NoneAdd the current connection, subject to its configured group limit.
Raises
ValueErrorIf the group name is invalid.
ConnectionErrorIf the connection is absent or closing.
RuntimeErrorIf another membership would exceed the configured group limit.
async def leave(self, group: str): (source)

Remove the current connection from one group idempotently.

Parameters
group:strHub-local group name.
Returns
NoneRemove membership and discard groups with no remaining members.
Raises
ValueErrorIf the group name is invalid.
__slots__: tuple[str, ...] = (source)

Undocumented

_connection_id = (source)

Undocumented

_manager = (source)

Undocumented