MCPcopy
hub / github.com/OpenBMB/ChatDev / get

Method get

utils/registry.py:60–64  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

58 self._entries[name] = entry
59
60 def get(self, name: str) -> RegistryEntry:
61 try:
62 return self._entries[name]
63 except KeyError as exc:
64 raise RegistryError(f"Unknown entry '{name}' in {self.namespace}") from exc
65
66 def names(self) -> Iterable[str]:
67 return self._entries.keys()

Callers 15

metadata_forMethod · 0.95
_normalize_typeMethod · 0.45
security_middlewareFunction · 0.45
handle_mac_exceptionFunction · 0.45
from_mappingMethod · 0.45
_resolve_config_classFunction · 0.45
record_workflow_startMethod · 0.45
get_timerMethod · 0.45
_resolve_dirFunction · 0.45
get_functionMethod · 0.45
get_function_managerFunction · 0.45

Calls 1

RegistryErrorClass · 0.85

Tested by

no test coverage detected