CADETProcess.dataStructure.nested_dict

CADETProcess.dataStructure.nested_dict#

Functions

check_nested(nested_dict, path)

Check if item sequence exists in nested dict

generate_nested_dict(path[, value])

Generate a nested dict from path in dot notation.

get_leaves(nested_dict)

Return leaves of nested dictionary in dot notation.

get_nested_attribute(obj, path)

Access a nested attribute using path in dot notation.

get_nested_list_value(ls, idx_tuple)

get_nested_value(nested_dict, path)

Access a value in a nested dict using path in dot notation.

insert_path(nested_dict, path, value)

Add path to existing dict without overwriting keys.

set_nested_attribute(obj, attr_string, value)

Set a nested attribute using path in dot notation.

set_nested_list_value(ls, idx_tuple, value)

set_nested_value(nested_dict, path, value)

Set a value in a nested dict using dot notation.

update(d, u)

Recursively update dictionary d with u.