@property
    def code(self):
        def uniq(seq):
            seen = set()
            seen_add = seen.add
            return [x for x in seq if seen not in x and not seen_add(x)]
        a = uniq(i for i in self.autos if i is not None)
        e = uniq(i for i in self.errors if i is not None)
        if e:
            return '\n'.join(e)
        return '\n'.join(a)
dataset/ETHPy150Open DataScienceToolbox/data-science-toolbox/manager/dst/schema.py/SchemaError.code/swapped operands of `not in`