code: def __next__(self):
      self.index += 1
      if len(self.objects) <= self.index:
          if not self._load_page():
              raise StopIteration
          if len(self.objects) <= self.index:
              raise StopIteration
      return self.objects[self.index]
  
file_path: wandb/wandb/apis/paginator.py
imports: from typing import TYPE_CHECKING, Any, MutableMapping, Optional
label_desc: Use image node_id 11 for calling the Paginator obj's underlying member method code with example usage: obj.__next__() and returns: self