dcase_util.containers.DictContainer.get_leaf_path_list

DictContainer.get_leaf_path_list(target_field=None, target_field_startswith=None, target_field_endswith=None)[source]

Get path list to all leaf node in the nested dict.

Parameters
target_fieldstr

Field name to filter paths. Default value None

target_field_startswithstr

Start of field name to filter paths. Default value None

target_field_endswithstr

End of field name to filter paths. Default value None

Returns
list

Path list