We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a523b7c commit bd84369Copy full SHA for bd84369
src/anthropic/_streaming.py
@@ -10,7 +10,7 @@
10
from ._types import ResponseT
11
12
if TYPE_CHECKING:
13
- from ._base_client import SyncAPIClient, AsyncAPIClient
+ from ._client import Anthropic, AsyncAnthropic
14
15
16
class Stream(Generic[ResponseT]):
@@ -23,7 +23,7 @@ def __init__(
23
*,
24
cast_to: type[ResponseT],
25
response: httpx.Response,
26
- client: SyncAPIClient,
+ client: Anthropic,
27
) -> None:
28
self.response = response
29
self._cast_to = cast_to
@@ -84,7 +84,7 @@ def __init__(
84
85
86
87
- client: AsyncAPIClient,
+ client: AsyncAnthropic,
88
89
90
0 commit comments