diff --git a/src/orb/_streaming.py b/src/orb/_streaming.py index e816ca74..d859e3e7 100644 --- a/src/orb/_streaming.py +++ b/src/orb/_streaming.py @@ -10,7 +10,7 @@ from ._types import ResponseT if TYPE_CHECKING: - from ._base_client import SyncAPIClient, AsyncAPIClient + from ._client import Orb, AsyncOrb class Stream(Generic[ResponseT]): @@ -23,7 +23,7 @@ def __init__( *, cast_to: type[ResponseT], response: httpx.Response, - client: SyncAPIClient, + client: Orb, ) -> None: self.response = response self._cast_to = cast_to @@ -65,7 +65,7 @@ def __init__( *, cast_to: type[ResponseT], response: httpx.Response, - client: AsyncAPIClient, + client: AsyncOrb, ) -> None: self.response = response self._cast_to = cast_to