MCPcopy
hub / github.com/wechatpy/wechatpy / __repr__

Method __repr__

wechatpy/component.py:53–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self._data = message
52
53 def __repr__(self):
54 _repr = "{klass}({msg})".format(
55 klass=self.__class__.__name__,
56 msg=repr(self._data)
57 )
58 if six.PY2:
59 return to_binary(_repr)
60 else:
61 return to_text(_repr)
62
63
64@register_component_message('component_verify_ticket')

Callers

nothing calls this directly

Calls 2

to_binaryFunction · 0.90
to_textFunction · 0.90

Tested by

no test coverage detected