Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/OpenBMB/ChatDev
/ _ensure_loaded
Method
_ensure_loaded
utils/function_catalog.py:70–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
68
self._loaded = True
69
70
def
_ensure_loaded(self) -> None:
71
if
not self._loaded:
72
self.refresh()
73
74
def
get(self, name: str) -> FunctionMetadata | None:
75
self._ensure_loaded()
Callers
6
get
Method · 0.95
list_function_names
Method · 0.95
list_metadata
Method · 0.95
iter_modules
Method · 0.95
functions_for_module
Method · 0.95
load_error
Method · 0.95
Calls
1
refresh
Method · 0.95
Tested by
no test coverage detected