Config
Module for handling configuration file.
Condigurations are loaded from a JSON file and can be accessed as attributes of the Config class.
Config
The configuration class that handles configuration files.
__getattr__(_)
Get the value of an attribute.
Returns:
| Type | Description |
|---|---|
|
|
__init__(filename)
Initialize the Config class by loading configurations from a given file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename |
str
|
The name of the configuration file. |
required |