class_docstr: Process that terminates an experiment when `max_steps` is reached.
class_docstr_tok: ["Process","that","terminates","an","experiment","when","`","max_steps","`","is","reached","."]
code: def __init__(
      self,
      counter: counting.Counter,
      max_steps: int,
      steps_key: str = "actor_steps",
  ):
      self._counter = counter
      self._max_steps = max_steps
      self._steps_key = steps_key
  
file_path: acme/acme/utils/lp_utils.py
imports: import atexit
  import functools
  import inspect
  import os
  import sys
  import time
  from typing import Any, Callable, Optional
  from absl import flags
  from absl import logging
  from acme.utils import counting
  from acme.utils import signals
label_desc: Use image node_id 1 to create a new StepsLimiter object  with example: obj = StepsLimiter(counter, max_steps, steps_key)