class_docstr: A Wrapper with typing support modifying the agents action.
class_docstr_tok: ["A","Wrapper","with","typing","support","modifying","the","agents","action","."]
docstr: Intercept ``BaseEnv.step`` and map action.
code: def step(self, action) -> Tuple[Any, Any, bool, Dict[Any, Any]]:
      """Intercept ``BaseEnv.step`` and map action."""
      return self.env.step(self.action(action))
  
imports: from abc import abstractmethod, ABC
  from typing import Generator, TypeVar, Generic, Type, Union, Dict, Tuple, Any, Optional
  from maze.core.annotations import override
  from maze.core.env.action_conversion import ActionType
  from maze.core.env.base_env import BaseEnv
  from maze.core.env.environment_context import EnvironmentContext
  from maze.core.env.maze_action import MazeActionType
  from maze.core.env.maze_state import MazeStateType
  from maze.core.env.simulated_env_mixin import SimulatedEnvMixin
label_desc: Use image node_id 1 for calling the ActionWrapper obj's underlying member method code with example usage: obj.step(action) and returns: self