code: def getBlocks(self):
          
          try:
              conn = self.dbi.connection()
              result = self.buflistblks.execute(conn)
              return result
          finally:
              if conn:
                  conn.close()
docs: Get the blocks that need to be migrated