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

Method get

apps/tools/views/tool.py:393–396  ·  view source on GitHub ↗
(self, request: Request, tool_id: str, workspace_id: str)

Source from the content-addressed store, hash-verified

391 get_operation_object=lambda r, k: get_tool_operation_object(k.get('tool_id')),
392 )
393 def get(self, request: Request, tool_id: str, workspace_id: str):
394 return ToolSerializer.Operate(
395 data={'id': tool_id, 'workspace_id': workspace_id}
396 ).export()
397
398 class Pylint(APIView):
399 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 1

exportMethod · 0.45

Tested by

no test coverage detected