EnvFactory¶
- class maze.core.utils.config_utils.EnvFactory(env: None | Mapping[str, Any] | Any, wrappers: List[None | Mapping[str, Any] | Any] | Mapping[str | Type, None | Mapping[str, Any] | Any])¶
Helper class to instantiate an environment from configuration with the help of the Registry.
- Parameters:
env – environment configuration
wrappers – collection of wrappers as configuration