diff --git a/lindi/LindiH5pyFile/LindiH5pyFile.py b/lindi/LindiH5pyFile/LindiH5pyFile.py index 5968a34..93c85d2 100644 --- a/lindi/LindiH5pyFile/LindiH5pyFile.py +++ b/lindi/LindiH5pyFile/LindiH5pyFile.py @@ -446,6 +446,12 @@ def get(self, name, default=None, getclass=False, getlink=False): raise Exception("Getting class is not allowed") return self._get_item(name, getlink=getlink, default=default) + def keys(self): # type: ignore + return self._the_group.keys() + + def items(self): + return self._the_group.items() + def __iter__(self): return self._the_group.__iter__()