def process_request(self, request_object):
        """Process Update Resource Request"""

        # Retrieve the object by its identifier
        entity = request_object.entity_cls.get(request_object.identifier)

        # Update the object and return the updated data
        resource = entity.update(request_object.data)
        return ResponseSuccess(Status.SUCCESS, resource)
def process_request ( self , request_object ) : entity = request_object . entity_cls . get ( request_object . identifier ) resource = entity . update ( request_object . data ) return ResponseSuccess ( Status . SUCCESS , resource )
Process Update Resource Request