class_docstr: Provides the core interface to iterate over a synchronous stream response.
class_docstr_tok: ["Provides","the","core","interface","to","iterate","over","a","synchronous","stream","response","."]
code: def __exit__(
      self,
      exc_type: type[BaseException] | None,
      exc: BaseException | None,
      exc_tb: TracebackType | None,
  ) -> None:
      self.close()
  
imports: from __future__ import annotations
  import json
  from types import TracebackType
  from typing import TYPE_CHECKING, Any, Generic, TypeVar, Iterator, AsyncIterator, cast
  from typing_extensions import Self, override
  import httpx
  from ._utils import is_mapping
  from ._exceptions import APIError
label_desc: Use image node_id 7 for calling the Stream obj's underlying member method code with example usage: obj.__exit__(exc_type, exc, exc_tb) without return types