danielgtaylor / python-betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
MIT License
1.51k stars 214 forks source link

If I run to_dict, the protobuf object is changed to dict type #158

Open wildfire810 opened 3 years ago

wildfire810 commented 3 years ago

programDict = program.to_dict(betterproto.Casing.CAMEL, True)

before: image

after: image

wildfire810 commented 3 years ago

maybe it is object in dict, will be converted to dict in dict

upcFrost commented 3 years ago

yep, https://github.com/danielgtaylor/python-betterproto/issues/151