code: def make_env(
      env: ConfigType, wrappers: CollectionOfConfigType
  ) -> MazeEnv:
      """Helper to create a single environment from configuration"""
      env_factory = EnvFactory(env=env, wrappers=wrappers)
  
      return env_factory()
  
imports: import os
  from pathlib import Path
  from typing import Mapping, Union, Sequence
  import hydra
  import yaml
  from hydra import initialize_config_module, compose
  from hydra.core.hydra_config import HydraConfig
  from omegaconf import DictConfig
  from maze.core.agent.serialized_torch_policy import SerializedTorchPolicy
  from maze.core.env.maze_env import MazeEnv
  from maze.core.utils.factory import Factory, ConfigType, CollectionOfConfigType
  from maze.core.wrappers.wrapper_factory import WrapperFactory
label_desc: Use image node_id 4 for calling a global function with example usage: make_env(env, wrappers) and returns: env_factory