class_docstr: A wrapper which truncates episodes at the specified step limit.
code: def __init__(
      self,
      environment: dm_env.Environment,
      step_limit: Optional[int] = None,
  ):
      super().__init__(environment)
      self._step_limit = step_limit
      self._elapsed_steps = 0
  
file_path: acme/acme/wrappers/step_limit.py
imports: from typing import Optional
  from acme import types
  from acme.wrappers import base
  import dm_env
label_desc: Use image node_id 1 to create a new StepLimitWrapper object from inherited base classes: base with example: obj = StepLimitWrapper(environment, step_limit)