class_docstr: Wraps a single observation into a dictionary space.
      
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: np.ndarray):
      """Implementation of :class:`~maze.core.wrappers.wrapper.ObservationWrapper` interface."""
      return {"observation": observation.astype(np.float32)}
  
file_path: maze/maze/core/wrappers/dict_observation_wrapper.py
imports: import gym
  import numpy
  from maze.core.annotations import override
  from maze.core.env.simulated_env_mixin import SimulatedEnvMixin
  from maze.core.wrappers.wrapper import ObservationWrapper
label_desc: Use image node_id 2 for calling the DictObservationWrapper obj's underlying member method code with example usage: obj.observation(observation) and returns: dict