def uniquify(iterable):
    uniq = set()
    return (x for x in iterable if x not in uniq and (uniq.add(x) or True))
Remove duplicates in given iterable, preserving order.
dataset/ETHPy150Open OP2/PyOP2/pyop2/utils.py/uniquify