def __getattr__(self, attr):
        if attr == '__setstate__' or attr == '__dict__':
            # This prevents infinite recursion during unpickling.
            raise AttributeError
        try: # PROTECT AGAINST INFINITE RECURSE IF NOT FULLY __init__ED...
            return getattr(self.__dict__['d'], attr)
        except __HOLE__:
            raise AttributeError('Collection has no subdictionary')
dataset/ETHPy150Open cjlee112/pygr/pygr/mapping.py/Collection.__getattr__