MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / put

Method put

apps/tools/views/tool_workflow.py:78–81  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, tool_id: str)

Source from the content-addressed store, hash-verified

76 get_operation_object=lambda r, k: get_tool_operation_object(k.get('tool_id')),
77 )
78 def put(self, request: Request, workspace_id: str, tool_id: str):
79 return result.success(ToolWorkflowSerializer.Operate(
80 data={'user_id': request.user.id, 'workspace_id': workspace_id, 'tool_id': tool_id}
81 ).edit(request.data))
82
83 @extend_schema(
84 methods=['GET'],

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
editMethod · 0.45

Tested by

no test coverage detected