MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / put

Method put

apps/knowledge/views/document.py:351–356  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str)

Source from the content-addressed store, hash-verified

349 ),
350 )
351 def put(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str):
352 return result.success(
353 DocumentSerializers.Sync(
354 data={"document_id": document_id, "knowledge_id": knowledge_id, "workspace_id": workspace_id}
355 ).sync()
356 )
357
358 class Refresh(APIView):
359 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
syncMethod · 0.45

Tested by

no test coverage detected