

def __enter__(self):
    conn = self.db.get_conn()
    if (conn.isolation_level is not None):
        self._orig_isolation_level = conn.isolation_level
        conn.isolation_level = None
    else:
        self._orig_isolation_level = None
    return super(savepoint_sqlite, conn).__enter__()

dataset/ETHPy150Open coleifer/peewee/peewee.py savepoint_sqlite.__enter__/VarMisuse@63/86 `self`->`conn`