hpcflow.sdk.core.utils.get_in_container#

hpcflow.sdk.core.utils.get_in_container(cont, path, cast_indices=False, allow_getattr=False)#

Follow a path (sequence of indices of appropriate type) into a container to obtain a “leaf” value. Containers can be lists, tuples, dicts, or any class (with getattr()) if allow_getattr is True.