

def __getattr__(self, attr):
    if (self.obj is None):
        raise AttributeError('Cannot use uninitialized Proxy.')
    return getattr(self.obj, attr)

dataset/ETHPy150Open coleifer/peewee/peewee.py Proxy.__getattr__/original