nwm_region_mgr.utils.dict_utils.flatten_dict#
- nwm_region_mgr.utils.dict_utils.flatten_dict(d, parent_key='', sep='.')[source]#
Flatten a nested dictionary.
- Return type:
dict- Parameters:
d (dict) – The dictionary to flatten.
parent_key (str) – The base key to prepend to the flattened keys.
sep (str) – The separator to use between keys.
- Returns:
A flattened dictionary with concatenated keys.
- Return type:
dict