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

Method get

modelscope/utils/registry.py:49–53  ·  view source on GitHub ↗
(self, module_key, group_key=default_group)

Source from the content-addressed store, hash-verified

47 logger.info('')
48
49 def get(self, module_key, group_key=default_group):
50 if group_key not in self._modules:
51 return None
52 else:
53 return self._modules[group_key].get(module_key, None)
54
55 def _register_module(self,
56 group_key=default_group,

Callers 15

constantFunction · 0.45
_module_to_srcFunction · 0.45
_src_to_moduleFunction · 0.45
ExampleDecoderFunction · 0.45
encode_url_to_base64Function · 0.45
service_data_decoderFunction · 0.45
service_data_encoderFunction · 0.45
find_field_by_taskMethod · 0.45
constant.pyFile · 0.45

Calls

no outgoing calls

Tested by 15

download_and_untarFunction · 0.36
_startMethod · 0.36
_test_check_tmpl_typeFunction · 0.36
test_file_pluginsMethod · 0.36
test_custom_pluginsMethod · 0.36
test_all_pluginsMethod · 0.36
upload_test_fileMethod · 0.36
upload_test_dirMethod · 0.36
__call__Method · 0.36