sinergym.utils.common.get_wrappers_info
- sinergym.utils.common.get_wrappers_info(env: Type[Env], path_to_save: str | None = None) Dict[str, Dict[str, Any]]
Get ordered information about the wrappers applied to the environment.
- Parameters:
env (Type[gym.Env]) – Environment to get wrapper information from.
path_to_save (str, optional) – Path to save the information in a YAML file. Defaults to None.
- Returns:
Dictionary with wrapper module and class as keys and their arguments dict as values.
- Return type:
Dict[str, Dict[str, Any]]