Skip to content

Commit f435145

Browse files
chore(internal): updates to base client (#231)
1 parent 1bf8f45 commit f435145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/finch/_streaming.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from ._types import ResponseT
1111

1212
if TYPE_CHECKING:
13-
from ._base_client import SyncAPIClient, AsyncAPIClient
13+
from ._client import Finch, AsyncFinch
1414

1515

1616
class Stream(Generic[ResponseT]):
@@ -23,7 +23,7 @@ def __init__(
2323
*,
2424
cast_to: type[ResponseT],
2525
response: httpx.Response,
26-
client: SyncAPIClient,
26+
client: Finch,
2727
) -> None:
2828
self.response = response
2929
self._cast_to = cast_to
@@ -65,7 +65,7 @@ def __init__(
6565
*,
6666
cast_to: type[ResponseT],
6767
response: httpx.Response,
68-
client: AsyncAPIClient,
68+
client: AsyncFinch,
6969
) -> None:
7070
self.response = response
7171
self._cast_to = cast_to

0 commit comments

Comments
 (0)