python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

parse data will change enum value type from enum to int

Open wildfire810 opened this issue 5 years ago • 1 comments

            data = bytes(circuitLine)
            ret = PBCircuitLine().parse(data)  # type: 'PBCircuitLine'

circuitLine: image ret: image

wildfire810 avatar Oct 25 '20 03:10 wildfire810

I think it's duplicate for https://github.com/danielgtaylor/python-betterproto/issues/157

upcFrost avatar Nov 16 '20 08:11 upcFrost