You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config.Config object to store config.
Config can be loaded from a file (once).
When accessing a value, it is first searched in environment variables, then in stored values.
Methods that add a message to a raised exception can be generated from exceptions.generate_exception_handler.
All exceptions of the program can be caught in __main__.py with exceptions.handle_all_exceptions.
Application directories are available with the object directory.directories.
Mac OS support.
Changed
config.load_config was integrated in config.Config as method load_file.
Its different actions were divided:
Loading the config file: config.Config.load_file;
Checking mandatory keys: config.Config.check_mandatory_keys; and
Setting debug mode: config.Config.set_debug.
Checking the validity of parameters of HTTPClient is now done in the load method.