MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __repr__

Method __repr__

pager_lib/tqdm/notebook.py:80–84  ·  view source on GitHub ↗
(self, pretty=False)

Source from the content-addressed store, hash-verified

78 return d
79
80 def __repr__(self, pretty=False):
81 pbar = getattr(self, 'pbar', None)
82 if pbar is None:
83 return super().__repr__()
84 return pbar.format_meter(**self._json_(pretty))
85
86 def _repr_pretty_(self, pp, *_, **__):
87 pp.text(self.__repr__(True))

Callers 1

_repr_pretty_Method · 0.95

Calls 2

_json_Method · 0.95
format_meterMethod · 0.80

Tested by

no test coverage detected