Skip to content
Snippets Groups Projects
context_pb2_grpc.py 44.3 KiB
Newer Older
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
        return grpc.experimental.unary_unary(request, target, '/context.ContextService/RemoveService',
            context__pb2.ServiceId.SerializeToString,
            context__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed

    @staticmethod
    def GetServiceEvents(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_stream(request, target, '/context.ContextService/GetServiceEvents',
            context__pb2.Empty.SerializeToString,
            context__pb2.ServiceEvent.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)