MCPcopy Create free account
hub / github.com/modelscope/modelscope / list

Method list

modelscope/utils/registry.py:40–47  ·  view source on GitHub ↗

logging the list of module in current registry

(self)

Source from the content-addressed store, hash-verified

38 return self._modules
39
40 def list(self):
41 """ logging the list of module in current registry
42 """
43 for group_name, group in self._modules.items():
44 logger.info(f'group_name={group_name}')
45 for m in group.keys():
46 logger.info(f'\t{m}')
47 logger.info('')
48
49 def get(self, module_key, group_key=default_group):
50 if group_key not in self._modules:

Callers 1

test_listMethod · 0.95

Calls 3

infoMethod · 0.80
itemsMethod · 0.45
keysMethod · 0.45

Tested by 1

test_listMethod · 0.76