def __getattr__(self, attr):
        if attr in self:
            return self[attr]
        msg = "'%s' object has no attribute '%s'"
        raise AttributeError(msg % (type(self).__name__, attr))
dataset/ETHPy150Open nucleic/enaml/enaml/objectdict.py/ObjectDict.__getattr__/original