(response: httpx.Response)
| 1452 | |
| 1453 | |
| 1454 | def _read_json(response: httpx.Response) -> Any: |
| 1455 | try: |
| 1456 | return json.loads(response.read()) |
| 1457 | except Exception: |
| 1458 | return None |
| 1459 | |
| 1460 | |
| 1461 | async def _read_json_async(response: httpx.Response) -> Any: |