def unique_values(func):
 @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
wrap a function returning an iterable such that the resulting iterable only ever yields unique items .