Searched refs:proto_repr (Results 1 – 4 of 4) sorted by relevance
22 from pw_protobuf_compiler.python_protos import bytes_repr, proto_repr286 self.assertEqual('pw.test3.Nested()', proto_repr(self.nested()))287 self.assertEqual('pw.test3.Message()', proto_repr(self.message()))295 proto_repr(306 proto_repr(319 proto_repr(328 proto_repr(self.nested(an_enum=1)))330 proto_repr(self.message(optional_enum=self.enum.ONE)))334 proto_repr(self.message(repeated_enum=[1, 1, 0])))339 proto_repr(self.message(message=self.nested(value=[123]))))[all …]
170 message_type.__repr__ = python_protos.proto_repr208 method.request_type.__repr__ = python_protos.proto_repr209 method.response_type.__repr__ = python_protos.proto_repr
357 return proto_repr(value)396 def proto_repr(message) -> str: function
51 from pw_protobuf_compiler.python_protos import proto_repr