class_docstr: Wraps actions by replacing the dictionary action space with the sole contained sub-space.
  This wrapper is for example required when working with external frameworks not supporting dictionary action spaces.
class_docstr_tok: ["Wraps","actions","by","replacing","the","dictionary","action","space","with","the","sole","contained","sub-space",".","This","wrapper","is","for","example","required","when","working","with","external","frameworks","not","supporting","dictionary","action","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]
  
file_path: maze/maze/core/wrappers/no_dict_action_wrapper.py
imports: from typing import Dict, Union
  import gym
  import numpy
  from maze.core.annotations import override
  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 ActionWrapper, EnvType
label_desc: Use image node_id 5 for calling the NoDictActionWrapper obj's underlying member method code with example usage: obj.reverse_action(action) and returns: action