def __getattr__(self, attr, *args):
        try:
            return getattr(self.__class__, attr, *args)
        except __HOLE__:
            return getattr(self.get_query_set(), attr, *args)
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/db/models.py/ChainerManager.__getattr__