vmagamedov/grpclib

No attribute Error

littleday opened this issue · 1 comments

server = Server([MyServicer(conf=config, logger=logger)])

File "/opt/app-root/lib/python3.6/site-packages/grpclib/server.py", line 569, in init
mapping.update(handler.mapping())
AttributeError: 'MyServicer' object has no attribute 'mapping'

What is MyServicer? Are you trying to use grpcio stubs (*_pb2_grpc.py) with a grpclib Server?