def unique(it):
    seen = set()
    ret = []
    for elm in it:
        if elm not in seen:
            ret.append(elm)
            seen.add(elm)
    return ret
Return a list of unique elements in the iterable, preserving the order.
dataset/ETHPy150Open mikeorr/WebHelpers2/webhelpers2/containers.py/unique