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