code: def _build_env():
      env = DummyEnvironment(
          core_env=DummyCoreEnvironment(gym.spaces.Discrete(10)),
          action_conversion=[{"_target_": DoubleActionConversion}],
          observation_conversion=[
              {"_target_": DoubleObservationConversion}
          ],
      )
  
      env = _DummyActionWrapper.wrap(env)
      env = _DummyObservationWrapper.wrap(env)
      env = _DummyRewardWrapper.wrap(env)
      env = TimeLimitWrapper.wrap(env)
      env = LogStatsWrapper.wrap(env)
      env = TrajectoryRecordingWrapper.wrap(env)
  
      return env
  
imports: from typing import Any
  import gym
  from maze.core.wrappers.log_stats_wrapper import LogStatsWrapper
  from maze.core.wrappers.time_limit_wrapper import TimeLimitWrapper
  from maze.core.wrappers.trajectory_recording_wrapper import TrajectoryRecordingWrapper
  from maze.core.wrappers.wrapper import ObservationWrapper, ActionWrapper, RewardWrapper
  from maze.test.shared_test_utils.dummy_env.dummy_core_env import DummyCoreEnvironment
  from maze.test.shared_test_utils.dummy_env.dummy_maze_env import DummyEnvironment
  from maze.test.shared_test_utils.dummy_env.space_interfaces.action_conversion.double import DoubleActionConversion
  from maze.test.shared_test_utils.dummy_env.space_interfaces.observation_conversion.double import DoubleObservationConversion
label_desc: Use image node_id 1 for calling a global function with example usage: _build_env() and returns: env