dictutil¶
-
micvbang.dictutil.
get_deep
(obj, path, separator='.')[source]¶ Retrieve the value denoted by path in obj.
This is done by recursively calling obj.get([path_head], None) until the path is traversed, until a value on the path does not have a callable get method, or until the next step in the path does not exist. In case the full path cannot be traversed, None is returned.