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

Method inner

apps/tools/views/tool.py:231–234  ·  view source on GitHub ↗
(view, r, **kwargs)

Source from the content-addressed store, hash-verified

229 @log(menu='Tool', operate='Batch delete tools',
230 get_operation_object=lambda r, k: get_tool_operation_object_batch(permitted_ids))
231 def inner(view, r, **kwargs):
232 return ToolBatchOperateSerializer(
233 data={'workspace_id': workspace_id}
234 ).batch_delete({'id_list': permitted_ids})
235
236 return result.success(inner(self, request, workspace_id=workspace_id))
237

Callers

nothing calls this directly

Calls 2

batch_deleteMethod · 0.45

Tested by

no test coverage detected