Create a configured async HTTP client.
(**kwargs)
| 34 | |
| 35 | |
| 36 | def get_http_client(**kwargs) -> httpx.AsyncClient: |
| 37 | """Create a configured async HTTP client.""" |
| 38 | defaults = {"timeout": 30.0, "follow_redirects": True} |
| 39 | defaults.update(kwargs) |
| 40 | return httpx.AsyncClient(**defaults) |
| 41 | |
| 42 | |
| 43 | async def fetch_with_retry( |
no outgoing calls
no test coverage detected