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

Method put

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

Source from the content-addressed store, hash-verified

238 @log(menu='User management', operate='Update user information',
239 get_operation_object=lambda r, k: get_user_operation_object(k.get('user_id')))
240 def put(self, request: Request, user_id):
241 return result.success(
242 UserManageSerializer.Operate(data={'id': user_id}).edit(request.data, str(request.user.id),
243 with_valid=True))
244
245 class BatchDelete(APIView):
246 authentication_classes = [TokenAuth]

Callers

nothing calls this directly

Calls 2

successMethod · 0.45
editMethod · 0.45

Tested by

no test coverage detected