def __init__(self, database):
        super(PostgresqlMetadata, self).__init__(database)

        if postgres_ext is not None:
            # Attempt to add types like HStore and JSON.
            cursor = self.execute('select oid, typname from pg_type;')
            results = cursor.fetchall()

            for oid, typname in results:
                if 'json' in typname:
                    self.column_map[oid] = postgres_ext.JSONField
                elif 'hstore' in typname:
                    self.column_map[oid] = postgres_ext.HStoreField
                elif typname in 'tsvector':
                    self.column_map[oid] = postgres_ext.TSVectorField
dataset/ETHPy150Open coleifer/peewee/playhouse/reflection.py/PostgresqlMetadata.__init__/swapped operands of `in`