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

Method get

apps/users/views/user.py:88–89  ·  view source on GitHub ↗
(self, request: Request)

Source from the content-addressed store, hash-verified

86 responses=UserProfileAPI.get_response())
87 @has_permissions(PermissionConstants.USER_EDIT, RoleConstants.ADMIN)
88 def get(self, request: Request):
89 return result.success(UserProfileSerializer().profile(request.user, request.auth))
90
91
92class SwitchUserLanguageView(APIView):

Callers

nothing calls this directly

Calls 3

successMethod · 0.45
profileMethod · 0.45

Tested by

no test coverage detected