def __getattr__(self, attr):
        if attr in self.fields:
            return self.fields[attr]
        raise AttributeError(attr)
dataset/ETHPy150Open potatolondon/djangae/djangae/db/utils.py/MockInstance.__getattr__/original