sunpycontextmanager#

sunpy.util.sunpycontextmanager(func)[source]#

A decorator that tracks the entry and exit of a context manager, setting the key’s value to True on entry and False on exit.