| 965 | |
| 966 | |
| 967 | class SyncHttpxClientWrapper(DefaultHttpxClient): |
| 968 | def __del__(self) -> None: |
| 969 | if self.is_closed: |
| 970 | return |
| 971 | |
| 972 | try: |
| 973 | self.close() |
| 974 | except Exception: |
| 975 | pass |
| 976 | |
| 977 | |
| 978 | class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]): |