code: def __next__(self):
      while True:
          if self.scan_offset < len(self.rows):
              row = self.rows[self.scan_offset]
              self.scan_offset += 1
              return row
          if self.page_offset >= self.max_step:
              raise StopIteration()
          self._load_next()
  
file_path: wandb/wandb/apis/public/history.py
imports: import json
  import requests
  from wandb_gql import gql
  from wandb_gql.client import RetryError
  from wandb import util
  from wandb.apis.normalize import normalize_exceptions
  from wandb.sdk.lib import retry
label_desc: Use image node_id 3 for calling the HistoryScan obj's underlying member method code with example usage: obj.__next__() and returns: row