benhodgson / protobuf-to-dict

A small Python library for creating dicts from protocol buffers. Useful as an intermediate step before serialization (e.g. to JSON).
Other
226 stars 108 forks source link

Allow to render enums by labels #1

Closed Tristramg closed 11 years ago

Tristramg commented 11 years ago

You need to pass enum_as_labels = True in ordre to do so

benhodgson commented 11 years ago

I like this feature, thanks for your contribution!

benhodgson commented 11 years ago

I've made a few changes to this (21f7d6e89b960f0f599e4d92a4c1a2b48988bf84) and will release it to PyPI at some point. Thanks again, @Tristramg!