code: def __init__(
      self, client, run, keys, min_step, max_step, page_size=1000
  ):
      self.client = client
      self.run = run
      self.keys = keys
      self.page_size = page_size
      self.min_step = min_step
      self.max_step = max_step
      self.page_offset = min_step  # minStep for next page
      self.scan_offset = 0  # index within current page of rows
      self.rows = []
  
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 1 to create a new SampledHistoryScan object  with example: obj = SampledHistoryScan(client, run, keys, min_step, max_step, page_size)