code: def __init__(self, env: gym.Env):
      """A class for providing an automatic reset functionality for gym environments when calling :meth:`self.step`.
  
      Args:
          env (gym.Env): The environment to apply the wrapper
      """
      super().__init__(env)
  
imports: import gym
label_desc: Use image node_id 1 to create a new AutoResetWrapper object from inherited base classes: gym with example: obj = AutoResetWrapper(env)