#NEWLINE# def update( self , request , pk = None ) : #NEWLINE# #INDENT# '\n        Update all users in the system\n        ---\n        request_serializer: UserSerializer\n        ' #NEWLINE# user = User . objects . get ( pk = pk ) #NEWLINE# serializer = UserSerializer ( serializer , data = request . data ) #NEWLINE# if serializer . is_valid ( ) : #NEWLINE# #INDENT# serializer . save ( ) #NEWLINE# #UNINDENT# return send_response ( request . method , serializer )