def __init__(self, values=None, validator=None):
        super(Enum, self).__init__()

        if values is None:
            values = self.values

        try:
            seen = set()
            seen_add = seen.add

            self.values = [x for x in values if not (x in seen or seen_add(x))]
        except __HOLE__:
            self.values = list(values)

        self.validator = validator
dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py/Enum.__init__