class_docstr: Helper class to instantiate an environment from configuration with the help of the Registry.
  
  :param env: environment configuration
  :param wrappers: collection of wrappers as configuration
class_docstr_tok: ["Helper","class","to","instantiate","an","environment","from","configuration","with","the","help","of","the","Registry",".",":","param","env",":","environment","configuration",":","param","wrappers",":","collection","of","wrappers","as","configuration"]
code: def __init__(self, env: ConfigType, wrappers: CollectionOfConfigType):
      self.env = env
      self.wrappers = wrappers
  
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 1 to create a new EnvFactory object  with example: obj = EnvFactory(env, wrappers)