viam.module.service

Classes

ModuleRPCService

Helper class that provides a standard way to create an ABC using

Module Contents

class viam.module.service.ModuleRPCService(module: viam.module.module.Module)[source]

Bases: viam.proto.module.ModuleServiceBase

Helper class that provides a standard way to create an ABC using inheritance.

async AddResource(stream: grpclib.server.Stream[viam.proto.module.AddResourceRequest, viam.proto.module.AddResourceResponse]) None[source]
async ReconfigureResource(stream: grpclib.server.Stream[viam.proto.module.ReconfigureResourceRequest, viam.proto.module.ReconfigureResourceResponse]) None[source]
async RemoveResource(stream: grpclib.server.Stream[viam.proto.module.RemoveResourceRequest, viam.proto.module.RemoveResourceResponse]) None[source]
async Ready(stream: grpclib.server.Stream[viam.proto.module.ReadyRequest, viam.proto.module.ReadyResponse]) None[source]
async ValidateConfig(stream: grpclib.server.Stream[viam.proto.module.ValidateConfigRequest, viam.proto.module.ValidateConfigResponse]) None[source]