Skip to content

Commit 06b6e48

Browse files
Update docs/docs/exosphere/api-changes.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent be3862a commit 06b6e48

1 file changed

Lines changed: 11 additions & 18 deletions

File tree

docs/docs/exosphere/api-changes.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,17 @@ retry_policy = RetryPolicyModel(
9595

9696
### Retry Strategy Enums
9797

98-
```python
99-
from exospherehost import RetryStrategyEnum
100-
101-
# Exponential strategies
102-
RetryStrategyEnum.EXPONENTIAL # Pure exponential backoff
103-
RetryStrategyEnum.EXPONENTIAL_FULL_JITTER # Exponential with full randomization
104-
RetryStrategyEnum.EXPONENTIAL_EQUAL_JITTER # Exponential with 50% randomization
105-
106-
# Linear strategies
107-
RetryStrategyEnum.LINEAR # Linear backoff
108-
RetryStrategyEnum.LINEAR_FULL_JITTER # Linear with full randomization
109-
RetryStrategyEnum.LINEAR_EQUAL_JITTER # Linear with 50% randomization
110-
111-
# Fixed strategies
112-
RetryStrategyEnum.FIXED # Fixed delay
113-
RetryStrategyEnum.FIXED_FULL_JITTER # Fixed with full randomization
114-
RetryStrategyEnum.FIXED_EQUAL_JITTER # Fixed with 50% randomization
115-
```
98+
- `RetryStrategyEnum.EXPONENTIAL`: Pure exponential backoff
99+
- `RetryStrategyEnum.EXPONENTIAL_FULL_JITTER`: Exponential with full randomization
100+
- `RetryStrategyEnum.EXPONENTIAL_EQUAL_JITTER`: Exponential with 50% randomization
101+
102+
- `RetryStrategyEnum.LINEAR`: Linear backoff
103+
- `RetryStrategyEnum.LINEAR_FULL_JITTER`: Linear with full randomization
104+
- `RetryStrategyEnum.LINEAR_EQUAL_JITTER`: Linear with 50% randomization
105+
106+
- `RetryStrategyEnum.FIXED`: Fixed delay
107+
- `RetryStrategyEnum.FIXED_FULL_JITTER`: Fixed with full randomization
108+
- `RetryStrategyEnum.FIXED_EQUAL_JITTER`: Fixed with 50% randomization
116109

117110
### Complete Example
118111

0 commit comments

Comments
 (0)