def clear(self, ctx):
        """
        clears any cached state for a context

        This clears dependencies as well as values and should usually only
        be called when a context is deleted.
        """
        try:
            del self._states[ctx._id_obj]
        except __HOLE__:
            pass
dataset/ETHPy150Open manahl/mdf/mdf/nodes.py/MDFNode.clear