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

Method get

apps/application/views/application.py:104–107  ·  view source on GitHub ↗
(self, request: Request, workspace_id: str, current_page: int, page_size: int)

Source from the content-addressed store, hash-verified

102 RoleConstants.USER.get_workspace_role(),
103 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
104 def get(self, request: Request, workspace_id: str, current_page: int, page_size: int):
105 return result.success(
106 Query(data={'workspace_id': workspace_id, 'user_id': request.user.id}).page(current_page, page_size,
107 request.query_params))
108
109 class Import(APIView):
110 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 3

QueryClass · 0.90
successMethod · 0.45
pageMethod · 0.45

Tested by

no test coverage detected