class_docstr: Helper class to control runner.step() count.
class_docstr_tok: ["Helper","class","to","control","runner.step","(",")","count","."]
code: def __init__(self):
      self._counter = 0
      self._last_counter = 0
  
file_path: ray/python/ray/tune/tests/tune_test_util.py
imports: import os
  import tempfile
  from ray.tune import Callback
  from ray.tune.execution.tune_controller import TuneController
label_desc: Use image node_id 1 to create a new TrialResultObserver object from inherited base classes: Callback with example: obj = TrialResultObserver()