wsgidav.util.get_dict_value¶ wsgidav.util.get_dict_value(d, key_path, default=<class 'wsgidav.util.NO_DEFAULT'>, *, as_dict=False)[source]¶ Return the value of a nested dict using dot-notation path. Parameters: d (dict) key_path (str) default (any) as_dict (bool) – Assume default is {} and also return {} if the key exists with a value of None. This covers the case where suboptions are supposed to be dicts, but are defined in a YAML file as entry without a value. Raises: KeyError – ValueError – IndexError – Examples: ... Todo k[1] instead of k.[1]