EnvFactory¶
-
class
maze.core.utils.config_utils.
EnvFactory
(env: Union[None, str, Mapping[str, Any], Any], wrappers: Union[List[Union[None, str, Mapping[str, Any], Any]], Mapping[str, Union[None, str, 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