class_docstr: Wraps observations and actions by replacing dictionary spaces with the sole contained sub-space.
  This wrapper is for example required when working with external frameworks not supporting dictionary spaces.
docstr: Implementation of :class:`~maze.core.wrappers.wrapper.ActionWrapper` interface.
          
docstr_tok: ["Implementation","of",":","class",":","`","~maze.core.wrappers.wrapper.ActionWrapper","`","interface","."]
code: def reverse_action(self, action: Dict[str, np.ndarray]) -> np.ndarray:
      """Implementation of :class:`~maze.core.wrappers.wrapper.ActionWrapper` interface."""
      return action[self.action_key]
  
imports: from typing import Union, Dict, Any, Tuple, Optional
  import gym
  import numpy
  from maze.core.annotations import override
  from maze.core.env.base_env import BaseEnv
  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
  from maze.core.env.structured_env_spaces_mixin import StructuredEnvSpacesMixin
  from maze.core.wrappers.wrapper import EnvType, Wrapper
label_desc: Use image node_id 8 for calling the NoDictSpacesWrapper obj's underlying member method code with example usage: obj.reverse_action(action) and returns: action