Python Protobuf 3 get enum as string with one call possible?

后端 未结 0 2072
广开言路
广开言路 2021-01-05 08:41

This is a quality of life question but I\'ll ask anyhow. So given I have defined some kind of enum with protobuf 3:

enum Number {
    ZERO = 0;
    ONE = 1;
}         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题