def fetchone(self):
    self._CheckOpen()
    self._CheckExecuted('fetchone() called before execute')
    if not self._rows and self._more_rows:
      self._FetchMoreRows()
    try:
      return self._rows.popleft()
    except IndexError:
      return None
Sql script to recreate the view
dataset/ETHPy150Open AppScale/appscale/AppServer/google/storage/speckle/python/api/rdbms.py/Cursor.fetchone--crossover with--dataset/ETHPy150Open coursera/dataduct/dataduct/database/relation.py/Relation.recreate_script