MCPcopy Create free account
hub / github.com/THUDM/GLM / __repr__

Method __repr__

tasks/data_utils.py:68–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.meta = meta if meta else {}
67
68 def __repr__(self):
69 return str(self.to_json_string())
70
71 def to_dict(self):
72 """Serialize this instance to a Python dictionary."""

Callers

nothing calls this directly

Calls 1

to_json_stringMethod · 0.95

Tested by

no test coverage detected