daemon.clients.peas module

class daemon.clients.peas.AsyncPeaClient(uri, logger, timeout=None)[source]

Bases: daemon.clients.base.AsyncBaseClient

Async Client to create/update/delete Peas on remote JinaD

async arguments(*args, **kwargs)
async create(*args, **kwargs)

Create a Workspace/Flow/Pea/Pod on remote. Must be implemented by the inherited class.

# noqa: DAR101 # noqa: DAR102

async delete(*args, **kwargs)

Delete a Workspace/Flow/Pea/Pod on remote. Must be implemented by the inherited class.

# noqa: DAR101 # noqa: DAR102

class daemon.clients.peas.PeaClient(uri, logger, timeout=None)[source]

Bases: daemon.clients.mixin.AsyncToSyncMixin, daemon.clients.peas.AsyncPeaClient

Client to create/update/delete Peas on remote JinaD