| 852 | |
| 853 | |
| 854 | class SyncHttpxClientWrapper(DefaultHttpxClient): |
| 855 | def __del__(self) -> None: |
| 856 | if self.is_closed: |
| 857 | return |
| 858 | |
| 859 | try: |
| 860 | self.close() |
| 861 | except Exception: |
| 862 | pass |
| 863 | |
| 864 | |
| 865 | class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]): |