

def _connect(self, database, **kwargs):
    if (not sqlite3):
        raise ImproperlyConfigured('pysqlite or sqlite3 must be installed.')
    conn = sqlite3.connect(conn, **kwargs)
    conn.isolation_level = None
    try:
        self._add_conn_hooks(conn)
    except:
        conn.close()
        raise
    return conn

dataset/ETHPy150Open coleifer/peewee/peewee.py SqliteDatabase._connect/VarMisuse@36/55 `database`->`conn`