(self, request: Request, workspace_id: str, knowledge_id: str)
| 539 | ), |
| 540 | ) |
| 541 | def put(self, request: Request, workspace_id: str, knowledge_id: str): |
| 542 | return result.success( |
| 543 | DocumentSerializers.Batch( |
| 544 | data={"knowledge_id": knowledge_id, "workspace_id": workspace_id, "user_id": request.user.id} |
| 545 | ).batch_save(request.data) |
| 546 | ) |
| 547 | |
| 548 | class BatchSync(APIView): |
| 549 | authentication_classes = [TokenAuth] |
nothing calls this directly
no test coverage detected