Skip to content
Permalink
Browse files

Resolve the problem

  • Loading branch information...
bluesalt committed Aug 4, 2017
1 parent c12a3c2 commit b1f3ab21151f5d9ad4be611d19c143cebc2afcc2
Showing with 2 additions and 2 deletions.
  1. +2 −2 client.py
@@ -41,8 +41,8 @@

class RpcClient(object):
def __init__(self):
channel = grpc.insecure_channel('localhost:50051')
self.stub = helloworld_pb2_grpc.GreeterStub(channel)
self.channel = grpc.insecure_channel('localhost:50051')
self.stub = helloworld_pb2_grpc.GreeterStub(self.channel)

def say_hi(self ):
response = self.stub.SayHello(helloworld_pb2.HelloRequest(name='you'))

0 comments on commit b1f3ab2

Please sign in to comment.
You can’t perform that action at this time.