Method
post
(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
Tested by
no test coverage detected