MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / post

Method post

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

Source from the content-addressed store, hash-verified

69 ),
70 )
71 def post(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str):
72 return result.success(ParagraphSerializers.Create(
73 data={'workspace_id': workspace_id, 'knowledge_id': knowledge_id, 'document_id': document_id}
74 ).save(request.data))
75
76 class BatchDelete(APIView):
77 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected