D | pb2py.py | 23 def PbEnum2PyValue(var): argument 32 return getattr(var.scalar_value, var.scalar_type) 35 def PbMask2PyValue(var): argument 44 return getattr(var.scalar_value, var.scalar_type) 47 def PbScalar2PyValue(var): argument 56 return getattr(var.scalar_value, var.scalar_type) 59 def PbString2PyString(var): argument 68 return var.string_value.message 71 def PbVector2PyList(var): argument 81 for curr_value in var.vector_value: [all …]
|