MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / __init__

Method __init__

bmtools/tools/registry.py:9–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class ToolsRegistry:
9 def __init__(self) -> None:
10 self.tools : Dict[str, FuncToolBuilder] = {}
11
12 def register(self, tool_name : str, tool : FuncToolBuilder):
13 print(f"will register {tool_name}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected