class_docstr: Wraps observations by replacing the dictionary observation space with the sole contained sub-space.
  This wrapper is for example required when working with external frameworks not supporting dictionary observation
  spaces.
class_docstr_tok: ["Wraps","observations","by","replacing","the","dictionary","observation","space","with","the","sole","contained","sub-space",".","This","wrapper","is","for","example","required","when","working","with","external","frameworks","not","supporting","dictionary","observation","spaces","."]
docstr: Implementation of :class:`~maze.core.wrappers.wrapper.ObservationWrapper` interface.
          
docstr_tok: ["Implementation","of",":","class",":","`","~maze.core.wrappers.wrapper.ObservationWrapper","`","interface","."]
code: def observation(self, observation: Any) -> Any:
      """Implementation of :class:`~maze.core.wrappers.wrapper.ObservationWrapper` interface."""
      return observation[self.observation_key]
  
file_path: maze/maze/core/wrappers/no_dict_observation_wrapper.py
imports: from typing import Dict, Union, Any
  import gym
  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 ObservationWrapper, EnvType
label_desc: Use image node_id 4 for calling the NoDictObservationWrapper obj's underlying member method code with example usage: obj.observation(observation) and returns: observation