Config
injector.load_config.config.LoadConfig
The class includes all necessary methods to load the configuration from the config file
Source code in injector/load_config/config.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
Functions
load_correct_config_dict()
staticmethod
The method includes a functionality to translate the configuration from a Yaml file and returns the configuration as a dictionary
Raises:
| Type | Description |
|---|---|
KeyError
|
Missed specifying a necessary configuration environment variable |
Returns:
| Name | Type | Description |
|---|---|---|
data |
Dict
|
Returns the configuration as dictionary |
Source code in injector/load_config/config.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |