def __getattr__(self, name):
        if name in self.__dict__:
            return self.__dict__[name]
        try:
            return self[name]
        except __HOLE__:
            raise AttributeError("'%s' object has no attribute '%s'" % (self.__class__.__name__, name))
dataset/ETHPy150Open samuel/kokki/kokki/utils.py/AttributeDictionary.__getattr__