Hello, 

I am new to gRPC and am having some issues converting my API message to a 
dictionary format via MessageToDict() method. 

I can successfully print out responses, but see the following error when 
trying to return MessageToDict(response) for downstream processing:
message_descriptor = message.DESCRIPTOR
AttributeError: '_MultiThreadedRendezvous' object has no attribute 
'DESCRIPTOR'

I attempted to downgrade the version of protobuf to 3.20.0, but it didn't 
seem to help. 

Does anyone know why this might be happening? Thanks!!

Erin

Here is the pip freeze for my virtual env for reference: 
googleapis-common-protos==1.58.0
grpcio==1.51.3
name-agent-api==4.71620.0
numpy==1.24.2
pandas==1.5.3
protobuf==4.22.0
python-dateutil==2.8.2
pytz==2022.7.1
six==1.16.0



-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/aa48cb2b-fb8b-4d12-bf62-45c549aa34fbn%40googlegroups.com.

Reply via email to