Fix missing step in docs (#1113)
As far as I can tell, the tutorial in the docs doesn't actually work without this line.
This commit is contained in:
parent
efd0520445
commit
a50fe55929
|
|
@ -106,6 +106,7 @@ Usage Server
|
|||
def serve():
|
||||
|
||||
server = grpc.server(futures.ThreadPoolExecutor())
|
||||
server = intercept_server(server, server_interceptor())
|
||||
|
||||
helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
|
||||
server.add_insecure_port("[::]:50051")
|
||||
|
|
|
|||
Loading…
Reference in New Issue