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: Intercept ``BaseEnv.step`` and map observation.
docstr_tok: ["Intercept","``","BaseEnv.step","``","and","map","observation","."]
code: def step(self, action) -> Tuple[Any, Any, bool, Dict[Any, Any]]:
      """Intercept ``BaseEnv.step`` and map observation."""
      observation, reward, done, info = self.env.step(
          self.action(action)
      )
      return self.observation(observation), reward, done, info
  
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 10 for calling the NoDictSpacesWrapper obj's underlying member method code with example usage: obj.step(action) and returns: self,  reward,  done,  info