We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a045ef8 commit 3d6ca3eCopy full SHA for 3d6ca3e
src/openai/_streaming.py
@@ -12,7 +12,7 @@
12
from ._exceptions import APIError
13
14
if TYPE_CHECKING:
15
- from ._base_client import SyncAPIClient, AsyncAPIClient
+ from ._client import OpenAI, AsyncOpenAI
16
17
18
class Stream(Generic[ResponseT]):
@@ -25,7 +25,7 @@ def __init__(
25
*,
26
cast_to: type[ResponseT],
27
response: httpx.Response,
28
- client: SyncAPIClient,
+ client: OpenAI,
29
) -> None:
30
self.response = response
31
self._cast_to = cast_to
@@ -79,7 +79,7 @@ def __init__(
79
80
81
82
- client: AsyncAPIClient,
+ client: AsyncOpenAI,
83
84
85
0 commit comments