def set_isolation_level(self, dbapi_connection, level):
    isolation_level = self._isolation_lookup[level]
    cursor = dbapi_connection.cursor()
    cursor.execute(f'PRAGMA read_uncommitted = {isolation_level}')
    cursor.close()
def set_isolation_level(self, dbapi_connection, level):
    isolation_level = self._isolation_lookup[level]
    cursor = dbapi_connection.cursor()
    cursor.execute(f'PRAGMA read_uncommitted = {isolation_level}')
    cursor.close()