skytracker.utils.analysis.get_nested_attribute#
- skytracker.utils.analysis.get_nested_attribute(obj: Any, attribute_path: str, default: Any = None) Any#
Get a nested attribute of an object using a dot-separated path
- Parameters:
obj (Any) – object to get attribute from
attribute_path (str) – dot-separated attribute path
default (Any, optional) – default value if attribute is not found. Defaults to None.
- Returns:
attribute value
- Return type:
Any