Hey! I’ve been using `tenacity` for python requests retry, and it’s been amazing.
Here’s a quick example:
```python
from tenacity import retry, stop_after_attempt, wait_exponential
import requests
@retry(stop=stop_after_attempt(5), wait=wait_exponential(multiplier=1, min=4, max=10))
def make_request(url):
return requests.get(url)
```
It’s super flexible and handles all the edge cases for me.
Here’s a quick example:
```python
from tenacity import retry, stop_after_attempt, wait_exponential
import requests
@retry(stop=stop_after_attempt(5), wait=wait_exponential(multiplier=1, min=4, max=10))
def make_request(url):
return requests.get(url)
```
It’s super flexible and handles all the edge cases for me.
