Skip to content

Commit 2e2ef9d

Browse files
committed
Run YAPF check for python example
1 parent 832460b commit 2e2ef9d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: examples/python/helloworld/greeter_client_with_options.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ def run():
3030
with grpc.insecure_channel(
3131
target='localhost:50051',
3232
options=[('grpc.lb_policy_name', 'pick_first'),
33-
('grpc.enable_retries', 0),
34-
('grpc.keepalive_timeout_ms', 10000)]) as channel:
33+
('grpc.enable_retries', 0), ('grpc.keepalive_timeout_ms',
34+
10000)]) as channel:
3535
stub = helloworld_pb2_grpc.GreeterStub(channel)
3636
# Timeout in seconds.
3737
# Please refer gRPC Python documents for more detail. https://grpc.io/grpc/python/grpc.html
38-
response = stub.SayHello(helloworld_pb2.HelloRequest(name='you'), timeout=10)
38+
response = stub.SayHello(
39+
helloworld_pb2.HelloRequest(name='you'), timeout=10)
3940
print("Greeter client received: " + response.message)
4041

4142

0 commit comments

Comments
 (0)