class_docstr: Env in which the observation at timestep minus n must be repeated.
code: def _next_obs(self):
      if isinstance(self.observation_space, Box):
          token = np.random.random(size=(2,))
      else:
          token = np.random.choice([0, 1])
      self.history.append(token)
      return token
  
file_path: ray/python/ray/rllib/examples/env/repeat_after_me_env.py
imports: import gymnasium
  from gymnasium.spaces import Box, Discrete
  import numpy
label_desc: Use image node_id 4 for calling the RepeatAfterMeEnv obj's underlying member method code with example usage: obj._next_obs() and returns: token