convert_flat_dict_to_nested_dict#

composer.utils.convert_flat_dict_to_nested_dict(flat_dict)[source]#

Converts flat dictionary separated by slashes to nested dictionary.

Parameters

flat_dict (Dict) โ€“ flat dictionary containing no sub-dictionary with keys separated by slashes. e.g. {โ€˜aโ€™:1, โ€˜b/cโ€™:2}

Returns

Dict โ€“ a nested dict.