def METHOD_NAME(*args, **kwargs):
    deprecated_warning(type_='Function',
                       name=func.__name__,
                       reason=reason,
                       replacement=replacement,
                       since_version=since_version,
                       only_once=only_once,
                       skip_backtrace_count=skip_backtrace_count)
    return func(*args, **kwargs)