human
Complete the below
def mark_resources_dirty(f):

    ''''Decorator for functions which alter resource usage.
    This decorator ensures set_resource_dirty is invoked after completion
    of the decorated function.'
    '''
assistant
#Here is the Python program you requested.
    @six.wraps(f)
    def wrapper(_self, context, *args, **kwargs):
        ret_val = f(_self, context, *args, **kwargs)
        set_resources_dirty(context)
        return ret_val
    return wrapper