Add a warning to be triggered when the specified key is read

        Parameters
        ----------
        key : any hashable object
            The key

def add_warning(self, key, *args, **kwargs):
        """Add a warning to be triggered when the specified key is read

        Parameters
        ----------
        key : any hashable object
            The key
        """
        self._deprecations[key] = (args, kwargs)