def METHOD_NAME(self, *args, **kwargs):  # pragma: no cover
    """Deprecated."""
    warnings.warn(
        "MPRester.magnetism.search_magnetism_docs is deprecated. "
        "Please use MPRester.magnetism.search instead.",
        DeprecationWarning,
        stacklevel=2,
    )
    return self.search(*args, **kwargs)