| 805 | |
| 806 | |
| 807 | class SyncHttpxClientWrapper(DefaultHttpxClient): |
| 808 | def __del__(self) -> None: |
| 809 | if self.is_closed: |
| 810 | return |
| 811 | |
| 812 | try: |
| 813 | self.close() |
| 814 | except Exception: |
| 815 | pass |
| 816 | |
| 817 | |
| 818 | class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]): |