(self, channel)
Constructor.

    Args:
      channel: A grpc.Channel.
Constructor.
Constructor .
def __init__(self, channel):
    """Constructor.

    Args:
      channel: A grpc.Channel.
    """
    self.publishLoad = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishLoad',
        request_serializer=model__service__pb2.PublishRequest.SerializeToString,
        response_deserializer=model__service__pb2.PublishResponse.FromString,
        )
    self.publishBind = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishBind',
        request_serializer=model__service__pb2.PublishRequest.SerializeToString,
        response_deserializer=model__service__pb2.PublishResponse.FromString,
        )
    self.publishOnline = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishOnline',
        request_serializer=model__service__pb2.PublishRequest.SerializeToString,
        response_deserializer=model__service__pb2.PublishResponse.FromString,
        )
    self.queryModel = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/queryModel',
        request_serializer=model__service__pb2.QueryModelRequest.SerializeToString,
        response_deserializer=model__service__pb2.QueryModelResponse.FromString,
        )
    self.unload = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/unload',
        request_serializer=model__service__pb2.UnloadRequest.SerializeToString,
        response_deserializer=model__service__pb2.UnloadResponse.FromString,
        )
    self.unbind = channel.unary_unary(
        '/com.webank.ai.fate.api.mlmodel.manager.ModelService/unbind',
        request_serializer=model__service__pb2.UnbindRequest.SerializeToString,
        response_deserializer=model__service__pb2.UnbindResponse.FromString,
        )
def __init__ ( self , channel ) : self . publishLoad = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishLoad' , request_serializer = model__service__pb2 . PublishRequest . SerializeToString , response_deserializer = model__service__pb2 . PublishResponse . FromString , ) self . publishBind = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishBind' , request_serializer = model__service__pb2 . PublishRequest . SerializeToString , response_deserializer = model__service__pb2 . PublishResponse . FromString , ) self . publishOnline = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/publishOnline' , request_serializer = model__service__pb2 . PublishRequest . SerializeToString , response_deserializer = model__service__pb2 . PublishResponse . FromString , ) self . queryModel = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/queryModel' , request_serializer = model__service__pb2 . QueryModelRequest . SerializeToString , response_deserializer = model__service__pb2 . QueryModelResponse . FromString , ) self . unload = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/unload' , request_serializer = model__service__pb2 . UnloadRequest . SerializeToString , response_deserializer = model__service__pb2 . UnloadResponse . FromString , ) self . unbind = channel . unary_unary ( '/com.webank.ai.fate.api.mlmodel.manager.ModelService/unbind' , request_serializer = model__service__pb2 . UnbindRequest . SerializeToString , response_deserializer = model__service__pb2 . UnbindResponse . FromString , )