MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / inner

Method inner

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

Source from the content-addressed store, hash-verified

268 @log(menu='Tool', operate='Batch move tools',
269 get_operation_object=lambda r, k: get_tool_operation_object_batch(permitted_ids))
270 def inner(view, r, **kwargs):
271 return ToolBatchOperateSerializer(
272 data={'workspace_id': workspace_id}
273 ).batch_move({'id_list': permitted_ids, 'folder_id': request.data.get('folder_id')})
274
275 return result.success(inner(self, request, workspace_id=workspace_id))
276

Callers

nothing calls this directly

Calls 3

batch_moveMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected