Exit the async context manager. Automatically disconnects the session and releases all associated resources.
(
self,
exc_type: type[BaseException] | None = None,
exc_val: BaseException | None = None,
exc_tb: TracebackType | None = None,
)
| 2800 | return self |
| 2801 | |
| 2802 | async def __aexit__( |
| 2803 | self, |
| 2804 | exc_type: type[BaseException] | None = None, |
| 2805 | exc_val: BaseException | None = None, |
| 2806 | exc_tb: TracebackType | None = None, |
| 2807 | ) -> None: |
| 2808 | """ |
| 2809 | Exit the async context manager. |
| 2810 | |
| 2811 | Automatically disconnects the session and releases all associated resources. |
| 2812 | """ |
| 2813 | await self.disconnect() |
| 2814 | |
| 2815 | async def abort(self) -> None: |
| 2816 | """ |
nothing calls this directly
no test coverage detected