omni.services.client: Kit services

Kit services extension

class omni.services.client.AsyncClient(uri, app=None, api_version=None, persist_connections=False)

Bases: omni.services.client.Client

async stop_async()
class omni.services.client.Client(uri, app=None, api_version=None, persist_connections=False)

Bases: object

Kit services client

The client is extendable for it to be useable across many protocols and transports. By default it supports a Local version as well as an HTTP based version.

stop()
exception omni.services.client.TransportNotFoundError

Bases: Exception

Raised when a requested transport has not been registered and can’t be found.

omni.services.client.get_available_transports(is_async=False)
omni.services.client.register(scheme: str, cls: omni.services.transport.client.base.consumer.BaseConsumer, is_async=False)
omni.services.client.unregister(scheme: str, is_async=False)