def _empty_unary(stub): with stub: response = stub.EmptyCall(empty_pb2.Empty(), _TIMEOUT) if not isinstance(response, empty_pb2.Empty): raise TypeError( 'response is of type "%s", not empty_pb2.Empty!', type(response))
def _empty_call(request, unused_context): return empty_pb2.Empty()
def EmptyCall(self, request, context): return empty_pb2.Empty()