(view, r, **kwargs)
| 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 |
nothing calls this directly
no test coverage detected