Closed RuofengX closed 1 year ago
You mix incompatible generated stubs and libraries.
grpc.aio.Channel
with service_pb2_grpc.py
stubs generated using --grpc_python_out
optiongrpclib.client.Channel
with service_grpc.py
stubs generated using --grpclib_python_out
optionAll these things are not interchangeable, these are two different incompatible projects. They only use the same protobuf messages and the same protoc
compiler.
Worked, thanks.
Same issue to https://github.com/grpc/grpc/issues/27817
Issue happens here when I run the space.py: https://github.com/RuofengX/game.entropy.press/blob/10aad2df8b51bfeb506be4f584e73d8bb29eaf1d/src/workload.py#L21