()
| 355 | |
| 356 | |
| 357 | def _get_client() -> httpx.AsyncClient: |
| 358 | global _http_client |
| 359 | if _http_client is None or _http_client.is_closed: |
| 360 | _http_client = httpx.AsyncClient(timeout=httpx.Timeout(180.0, connect=10.0)) |
| 361 | return _http_client |
| 362 | |
| 363 | |
| 364 | def _content_text(value: Any) -> str: |
no outgoing calls
no test coverage detected