(func)
return wrapper
Wrap a function returning an iterable such that the resulting iterable
    only ever yields unique items.
Wrap a function returning an iterable such that the resulting iterable
    only ever yields unique items.
Wrap a function returning an iterable such that the resulting iterable only ever yields unique items .
def unique_values(func):
    """
    Wrap a function returning an iterable such that the resulting iterable
    only ever yields unique items.
    """

    @wraps(func)
    def wrapper(*args, **kwargs):
        return unique_everseen(func(*args, **kwargs))

    return wrapper
def unique_values ( func ) : @ wraps ( func ) def wrapper ( * args , * * kwargs ) : return unique_everseen ( func ( * args , * * kwargs ) ) return wrapper