def __getattr__(self, name):
        """Create missing attributes using default factories."""
        try:
            factory = THREAD_LOCAL_FACTORIES[name]
        except __HOLE__:
            raise AttributeError(name)
        return self.get(name, factory)
dataset/ETHPy150Open django-ddp/django-ddp/dddp/__init__.py/ThreadLocal.__getattr__