Method
__exit__
(
self,
exc_type: type[BaseException] | None,
exc: BaseException | None,
exc_tb: TracebackType | None,
)
Source from the content-addressed store, hash-verified
| 611 | return self.__response |
| 612 | |
| 613 | def __exit__( |
| 614 | self, |
| 615 | exc_type: type[BaseException] | None, |
| 616 | exc: BaseException | None, |
| 617 | exc_tb: TracebackType | None, |
| 618 | ) -> None: |
| 619 | if self.__response is not None: |
| 620 | self.__response.close() |
| 621 | |
| 622 | |
| 623 | class AsyncResponseContextManager(Generic[_AsyncAPIResponseT]): |
Callers
nothing calls this directly
Tested by
no test coverage detected