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

Method post

apps/knowledge/views/problem.py:70–73  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, knowledge_id: str)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
batchMethod · 0.45

Tested by

no test coverage detected