Hi,
I am trying to update python code to use a newer protobuf version: 6.33.2.
I replaced GetPrototype with GetMessageClass.
I get this error.
AttributeError: 'MessageFactory' object has no attribute 'GetMessageClass'
I believe that GetMessageClass is supposed to be defined in message factory since version 4. I am confused about why I get this error.
What else could be causing this error? What should I look into?
Also, the protobuf files were made with an older version of protobuf. Would there be problems with trying to use a newer version of protobuf to read protobuf files made by an older version of protobuf?
protoc version: libprotoc 33.1
python version: 3.10.12
protobuf version: 6.33.2.