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

Method get

apps/knowledge/views/knowledge.py:323–327  ·  view source on GitHub ↗
(self, request: Request)

Source from the content-addressed store, hash-verified

321 tags=[_("Tool")] # type: ignore
322 )
323 def get(self, request: Request):
324 return result.success(KnowledgeSerializer.StoreKnowledge(data={
325 'user_id': request.user.id,
326 'name': request.query_params.get('name', ''),
327 }).get_appstore_templates())
328
329 class Embedding(APIView):
330 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected