

def __getattr__(self, attr):
    try:
        return self[attr]
    except KeyError:
        raise AttributeError(attr)

dataset/ETHPy150Open jek/flatland/flatland/util/base.py adict.__getattr__/original