Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/MaxKB
/ ToolInstance
Class
ToolInstance
apps/tools/serializers/tool.py:79–82 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
78
79
class
ToolInstance:
80
def
__init__(self, tool: dict, version: str):
81
self.tool = tool
82
self.version = version
83
84
85
ALLOWED_CLASSES = {(
"builtins"
,
"dict"
), (
"uuid"
,
"UUID"
), (
"tools.serializers.tool"
,
"ToolInstance"
)}
Callers
1
export
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected