def METHOD_NAME(func):
    @wraps(func)
    def wrapper_deprecated(*args, **kwargs):
        logger.warning(
            "Deprecated function %s%s",
            func.__name__,
            message,
        )
        return func(*args, **kwargs)
    return wrapper_deprecated