in darabonba/policy/retry.py [0:0]
def __init__(self, options: Dict[str, Any]):
self.retryable = options.get('retryable', True)
self.retry_condition = [self._ensure_retry_condition(cond) for cond in options.get('retryCondition', [])]
self.no_retry_condition = [self._ensure_retry_condition(cond) for cond in options.get('noRetryCondition', [])]