Newer
Older
import grpc
import math_pb2_grpc, math_pb2
channel = grpc.insecure_channel("localhost:5440")
stub = math_pb2_grpc.CalcStub(channel)
resp = stub.Mult(math_pb2.MultReq(x=3, y=4))
print(resp.result)
On Tuesday, 3/18, at 10PM GitLab (git.doit.wisc.edu) will be updated to version 17.9.2 requiring a service outage: https://outages.doit.wisc.edu/outage/94ba00d3625ade45d6a59147a88a5b5809b2a0bca3
import grpc
import math_pb2_grpc, math_pb2
channel = grpc.insecure_channel("localhost:5440")
stub = math_pb2_grpc.CalcStub(channel)
resp = stub.Mult(math_pb2.MultReq(x=3, y=4))
print(resp.result)