The return value of the function being wrapped.
            """
            emit_warning()
            return wrapped(*args, **kwargs)
        old_doc = inspect.cleandoc(old_doc or "").strip("\n")
        if not old_doc:
            new_doc = "[*Deprecated*]"
        else:
            new_doc = f"[*Deprecated*]  {old_doc}"
        return finalize(warning_emitting_wrapper, new_doc)
    return deprecate
[docs]@contextlib.contextmanager
def suppress_langchain_deprecation_warning() -> Generator[None, None, None]:
    """Context manager to suppress LangChainDeprecationWarning."""
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", LangChainDeprecationWarning)
        yield