Last active
August 28, 2020 18:42
-
-
Save Umnahs/8ee53daf1009346c849c4164aee785de to your computer and use it in GitHub Desktop.
Generate a query for pgprotobufutils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from proto.CompoundMessageTypes_pb2 import * | |
Person(name="Shiva", sex= Sex.MALE).SerializeToString().hex() | |
>>> '0a045368616e1801' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment