File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 107
107
108
108
109
109
class PageInfo :
110
- """Stores the necesary information to build the request to retrieve the next page.
110
+ """Stores the necessary information to build the request to retrieve the next page.
111
111
112
112
Either `url` or `params` must be set.
113
113
"""
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def __stream__(self) -> Iterator[_T]:
60
60
data = sse .json ()
61
61
if is_mapping (data ) and data .get ("error" ):
62
62
raise APIError (
63
- message = "An error ocurred during streaming" ,
63
+ message = "An error occurred during streaming" ,
64
64
request = self .response .request ,
65
65
body = data ["error" ],
66
66
)
@@ -134,7 +134,7 @@ async def __stream__(self) -> AsyncIterator[_T]:
134
134
data = sse .json ()
135
135
if is_mapping (data ) and data .get ("error" ):
136
136
raise APIError (
137
- message = "An error ocurred during streaming" ,
137
+ message = "An error occurred during streaming" ,
138
138
request = self .response .request ,
139
139
body = data ["error" ],
140
140
)
You can’t perform that action at this time.
0 commit comments