def __exit__(self, exc_type, exc_value, exc_traceback):
    cls = type(self)
    cls._contexts.current[cls.__name__] = self.__previous_instances.pop()
Sets the currently in-scope instance of this class to its previous value.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/context_local.py/ContextLocal.__exit__