Provide a to_dict
method
#151
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
I think
to_dict
would be a clone ofto_json
that callsMessageToDict
instead ofMessageToJson
.proto-plus-python/proto/message.py
Lines 331 to 348 in cd9003c
Currently if you want to turn an existing message into a dict you have to go through JSON. Prompted by discussion in googleapis/python-memcache#19.
The text was updated successfully, but these errors were encountered: