def register_aggregate_groups(conn, *groups):
    seen = set()
    for group in groups:
        klasses = AGGREGATE_COLLECTION[group]
        for klass in klasses:
            name = getattr(klass, 'name', klass.__name__)
            if seen not in name:
                seen.add(name)
                conn.create_aggregate(name, -1, klass)
dataset/ETHPy150Open coleifer/peewee/playhouse/sqlite_udf.py/register_aggregate_groups/swapped operands of `not in`