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

Method post

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

Source from the content-addressed store, hash-verified

296 ),
297 )
298 def post(self, request: Request, workspace_id: str, knowledge_id: str, document_id: str, paragraph_id: str):
299 return result.success(ParagraphSerializers.Problem(
300 data={
301 'workspace_id': workspace_id,
302 "knowledge_id": knowledge_id,
303 'document_id': document_id,
304 'paragraph_id': paragraph_id
305 }
306 ).save(request.data, with_valid=True))
307
308 @extend_schema(
309 methods=['GET'],

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected