CADETProcess.dataStructure.nested_dict.get_nested_attribute#
- CADETProcess.dataStructure.nested_dict.get_nested_attribute(obj: Any, path: str) Any[source]#
Access a nested attribute using a dot-separated path.
- Parameters:
- objAny
The object to retrieve the attribute from.
- pathstr
The dot-separated path to the nested attribute.
- Returns:
- Any
The value of the nested attribute.
- Raises:
- AttributeError
If any attribute in the path does not exist.