コード例 #1
0
def create_channel_for_batching_server():
    channel = implementations.insecure_channel('localhost', 9003)
    stub = prediction_service_pb2.beta_create_PredictionService_stub(channel)
    return stub
コード例 #2
0
def create_channel_for_update_flow_specific():
    channel = implementations.insecure_channel('localhost', 9008)
    stub = prediction_service_pb2.beta_create_PredictionService_stub(channel)
    return stub