def METHOD_NAME(*args, **kwargs):
    warnings.simplefilter('always', DeprecationWarning)
    warnings.warn(
        fmt1.format(name=func1.__name__, reason=reason),
        category=DeprecationWarning,
        stacklevel=2
    )
    warnings.simplefilter('default', DeprecationWarning)
    return func1(*args, **kwargs)