class_docstr: Stop trials after reaching a maximum number of iterations
  
  Args:
      max_iter: Number of iterations before stopping a trial.
code: def __init__(self, max_iter: int):
      self._max_iter = max_iter
      self._iter = defaultdict(lambda: 0)
  
file_path: ray/python/ray/tune/stopper/maximum_iteration.py
imports: from typing import Dict
  from collections import defaultdict
  from ray.util.annotations import PublicAPI
  from ray.tune.stopper.stopper import Stopper
label_desc: Use image node_id 1 to create a new MaximumIterationStopper object from inherited base classes: Stopper with example: obj = MaximumIterationStopper(max_iter)