def get_columns(self, table, schema='public'):
        query = """
            SELECT column_name, is_nullable, data_type
            FROM information_schema.columns
            WHERE table_name = %s AND table_schema = %s
            ORDER BY ordinal_position"""
        cursor = self.execute_sql(query, (table, schema))
        pks = set(self.get_primary_keys(table, schema))
        return [ColumnMetadata(name, dt, null is 'YES', name in pks, table)
                for name, null, dt in cursor.fetchall()]
dataset/ETHPy150Open coleifer/peewee/peewee.py/PostgresqlDatabase.get_columns/operator `==` -> `is`