dcase_util.containers.DictContainer.get_path
- DictContainer.get_path(path, default=None, data=None)[source]
Get value from nested dict with dotted path
- Parameters
- pathstr or list of str
String in form of “field1.field2.field3”
- defaultstr, int, float
Default value returned if path does not exists Default value None
- datadict, optional
Dict for which path search is done, if None given self is used. Used for recursive path search. Default value None
- Returns