reload_config¶
-
astropy.config.reload_config(packageormod=None, rootname=None)[source]¶ Reloads configuration settings from a configuration file for the root package of the requested package/module.
This overwrites any changes that may have been made in
ConfigItemobjects. This applies for any items that are based on this file, which is determined by the root package ofpackageormod(e.g.'astropy.cfg'for the'astropy.config.configuration'module).- Parameters
- packageormodstr or None
The package or module name - see
get_configfor details.- rootnamestr or None
Name of the root configuration directory - see
get_configfor details.