

def _is_closed(self, key, conn):
    closed = super(_PooledSqliteDatabase, self)._is_closed(key, conn)
    if (not closed):
        try:
            self.total_changes
        except:
            return True
    return closed

dataset/ETHPy150Open coleifer/peewee/playhouse/pool.py _PooledSqliteDatabase._is_closed/VarMisuse@42/54 `conn`->`self`