def create_channel_for_batching_server(): channel = implementations.insecure_channel('localhost', 9003) stub = prediction_service_pb2.beta_create_PredictionService_stub(channel) return stub
def create_channel_for_update_flow_specific(): channel = implementations.insecure_channel('localhost', 9008) stub = prediction_service_pb2.beta_create_PredictionService_stub(channel) return stub