UrbanHeatPro.Functions.uhp_utils
Module Contents
Functions
|
Get value from nested dictionary given a list of nested keys and return default for missing keys. |
|
Get the value for a given configuration parameter and use the default configuration value if the configuration |
- UrbanHeatPro.Functions.uhp_utils.nested_get(input_dict: dict, nested_key: list, not_there='NotThere') Any[source]
Get value from nested dictionary given a list of nested keys and return default for missing keys.
- Parameters:
- Returns:
Value for the given list of keys. If a key is not available, then returns the default value.
- Return type:
Any