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