code: def _load_next(self):
      max_step = self.page_offset + self.page_size
      if max_step > self.max_step:
          max_step = self.max_step
      variables = {
          "entity": self.run.entity,
          "project": self.run.project,
          "run": self.run.id,
          "spec": json.dumps(
              {
                  "keys": self.keys,
                  "minStep": int(self.page_offset),
                  "maxStep": int(max_step),
                  "samples": int(self.page_size),
              }
          ),
      }
  
      res = self.client.execute(self.QUERY, variable_values=variables)
      res = res["project"]["run"]["sampledHistory"]
      self.rows = res[0]
      self.page_offset += self.page_size
      self.scan_offset = 0
  
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 4 for calling the SampledHistoryScan obj's underlying member method code with example usage: obj._load_next() without return types