Searched refs:pb_spec (Results 1 – 1 of 1) sorted by relevance
23 def PyValue2PbEnum(message, pb_spec, py_value): argument36 if pb_spec.name:37 message.name = pb_spec.name40 scalar_type = pb_spec.enum_value.scalar_type50 def PyValue2PbScalar(message, pb_spec, py_value): argument63 if pb_spec.name:64 message.name = pb_spec.name66 message.scalar_type = pb_spec.scalar_type67 setattr(message.scalar_value, pb_spec.scalar_type, py_value)70 def PyString2PbString(message, pb_spec, py_value): argument[all …]