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

Method get

apps/application/views/application_version.py:43–47  ·  view source on GitHub ↗
(self, request: Request, workspace_id, application_id: str)

Source from the content-addressed store, hash-verified

41 CompareConstants.AND),
42 RoleConstants.WORKSPACE_MANAGE.get_workspace_role())
43 def get(self, request: Request, workspace_id, application_id: str):
44 return result.success(
45 ApplicationVersionSerializer.Query(
46 data={'workspace_id': workspace_id}).list(
47 {'name': request.query_params.get("name"), 'application_id': application_id}))
48
49 class Page(APIView):
50 authentication_classes = [TokenAuth]

Callers 1

getMethod · 0.45

Calls 2

successMethod · 0.45
listMethod · 0.45

Tested by

no test coverage detected