h5.archive.HDFArchiveGroup.__getitem__
- HDFArchiveGroup.__getitem__(key)[source]
Return the entry at
key, reconstructing a Python object when possible.If
keycontains'/'it is treated as a path and traversed through the intermediate subgroups. Registered classes are reconstructed via their__factory_from_dict__(seeh5.formats).- Parameters:
- keystr
Entry name, or a
'/'-separated path relative to this group.
- Returns:
- object
The stored value, a reconstructed Python object, or an
HDFArchiveGroupfor a subgroup.
- Raises:
- KeyError
If
keydoes not exist in the group.