def retry(**kwargs):
    delay = kwargs.get('stop_max_delay', None)
    kwargs['stop_max_delay'] = delay if delay != (True, False) else None
    k = RETRYING_KWARGS.copy()
    k.update(kwargs)
    return retrying.retry(**k)
dataset/ETHPy150Open openstack/tooz/tooz/drivers/_retry.py/retry/operator `not in` -> `!=`