def METHOD_NAME(self, result):
    """
    Sets the desired seed ratio for an existing torrent in the client
    params: :result: an instance of the searchResult class
    """
    if result.ratio in (None, ""):
        return True
    params = {"action": "setprops", "hash": result.hash, "s": "seed_override", "v": "1"}
    if not self._request(params=params):
        return False
    params = {"action": "setprops", "hash": result.hash, "s": "seed_ratio", "v": float(result.ratio) * 10}
    return self._request(params=params)