def deprecated(reason, rally_version):
    def decorator(plugin):
        plugin._set_deprecated(reason, rally_version)
        return plugin

    return decorator
Mark plugin as deprecated.
dataset/ETHPy150Open openstack/rally/rally/common/plugin/plugin.py/deprecated