Method
put
(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str)
Source from the content-addressed store, hash-verified
| 462 | ), |
| 463 | ) |
| 464 | def put(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str): |
| 465 | return result.success( |
| 466 | DocumentSerializers.Operate( |
| 467 | data={"document_id": document_id, "knowledge_id": knowledge_id, "workspace_id": workspace_id} |
| 468 | ).cancel(request.data) |
| 469 | ) |
| 470 | |
| 471 | class BatchCancelTask(APIView): |
| 472 | authentication_classes = [TokenAuth] |
Callers
nothing calls this directly
Tested by
no test coverage detected