def METHOD_NAME(f, **kwargs):
    """
    Enables to override an attribute passed to a sub-function without the need to access the function directly
    :param f: the function we want to pass the attribute to
    :param kwargs: dictionary containing name(key) and value of the attributes to override.
    :return: wrapped function with overridden attributes
    """
    frozen = kwargs
    def wrapper(*args, **kwargs):
        kwargs.update(frozen)
        return f(*args, **kwargs)
    return wrapper