(self, channel)
Constructor.

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

    Args:
      channel: A grpc.Channel.
    """
    self.inference = channel.unary_unary(
        '/com.webank.ai.fate.api.serving.InferenceService/inference',
        request_serializer=inference__service__pb2.InferenceMessage.SerializeToString,
        response_deserializer=inference__service__pb2.InferenceMessage.FromString,
        )
    self.startInferenceJob = channel.unary_unary(
        '/com.webank.ai.fate.api.serving.InferenceService/startInferenceJob',
        request_serializer=inference__service__pb2.InferenceMessage.SerializeToString,
        response_deserializer=inference__service__pb2.InferenceMessage.FromString,
        )
    self.getInferenceResult = channel.unary_unary(
        '/com.webank.ai.fate.api.serving.InferenceService/getInferenceResult',
        request_serializer=inference__service__pb2.InferenceMessage.SerializeToString,
        response_deserializer=inference__service__pb2.InferenceMessage.FromString,
        )
def __init__ ( self , channel ) : self . inference = channel . unary_unary ( '/com.webank.ai.fate.api.serving.InferenceService/inference' , request_serializer = inference__service__pb2 . InferenceMessage . SerializeToString , response_deserializer = inference__service__pb2 . InferenceMessage . FromString , ) self . startInferenceJob = channel . unary_unary ( '/com.webank.ai.fate.api.serving.InferenceService/startInferenceJob' , request_serializer = inference__service__pb2 . InferenceMessage . SerializeToString , response_deserializer = inference__service__pb2 . InferenceMessage . FromString , ) self . getInferenceResult = channel . unary_unary ( '/com.webank.ai.fate.api.serving.InferenceService/getInferenceResult' , request_serializer = inference__service__pb2 . InferenceMessage . SerializeToString , response_deserializer = inference__service__pb2 . InferenceMessage . FromString , )