MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / __repr__

Method __repr__

models/registry.py:10–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 self._module_dict = dict()
9
10 def __repr__(self):
11 format_str = self.__class__.__name__ + '(name={}, items={})'.format(
12 self._name, list(self._module_dict.keys()))
13 return format_str
14
15 def __len__(self):
16 return len(self._module_dict)

Callers

nothing calls this directly

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected