We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0da6a commit b0418f3Copy full SHA for b0418f3
README.md
@@ -52,6 +52,7 @@ pip install toller
52
```python
53
import asyncio
54
import random
55
+import toller
56
from toller import TransientError, FatalError, MaxRetriesExceeded, OpenCircuitError
57
58
# Define potential API errors
@@ -146,7 +147,9 @@ if __name__ == "__main__":
146
147
Often, different API endpoints for the same service share an overall rate limit.
148
149
150
+import asyncio
151
import time
152
153
from toller import CallRateLimiter # For creating a shared instance
154
155
# Assume these two functions call endpoints that share a single rate limit pool
0 commit comments