Add link - gRPC Python package documents

pull/16924/head
Youngchan Kim 6 years ago
parent 0f9733eb85
commit 832460bb94
  1. 1
      examples/python/helloworld/greeter_client_with_options.py

@ -34,6 +34,7 @@ def run():
('grpc.keepalive_timeout_ms', 10000)]) as channel:
stub = helloworld_pb2_grpc.GreeterStub(channel)
# Timeout in seconds.
# Please refer gRPC Python documents for more detail. https://grpc.io/grpc/python/grpc.html
response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'), timeout=10)
print("Greeter client received: " + response.message)

Loading…
Cancel
Save