File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 107107
108108
109109class 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.
111111
112112 Either `url` or `params` must be set.
113113 """
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def __stream__(self) -> Iterator[_T]:
6060 data = sse .json ()
6161 if is_mapping (data ) and data .get ("error" ):
6262 raise APIError (
63- message = "An error ocurred during streaming" ,
63+ message = "An error occurred during streaming" ,
6464 request = self .response .request ,
6565 body = data ["error" ],
6666 )
@@ -134,7 +134,7 @@ async def __stream__(self) -> AsyncIterator[_T]:
134134 data = sse .json ()
135135 if is_mapping (data ) and data .get ("error" ):
136136 raise APIError (
137- message = "An error ocurred during streaming" ,
137+ message = "An error occurred during streaming" ,
138138 request = self .response .request ,
139139 body = data ["error" ],
140140 )
You can’t perform that action at this time.
0 commit comments