@@ -215,7 +215,7 @@ def test_method_search(self, client: Replicate) -> None:
215215 model = client .models .search (
216216 body = "body" ,
217217 )
218- assert_matches_type (object , model , path = ["response" ])
218+ assert_matches_type (SyncCursorURLPage [ object ] , model , path = ["response" ])
219219
220220 @pytest .mark .skip (reason = "Prism doesn't support query methods yet" )
221221 @parametrize
@@ -227,7 +227,7 @@ def test_raw_response_search(self, client: Replicate) -> None:
227227 assert response .is_closed is True
228228 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
229229 model = response .parse ()
230- assert_matches_type (object , model , path = ["response" ])
230+ assert_matches_type (SyncCursorURLPage [ object ] , model , path = ["response" ])
231231
232232 @pytest .mark .skip (reason = "Prism doesn't support query methods yet" )
233233 @parametrize
@@ -239,7 +239,7 @@ def test_streaming_response_search(self, client: Replicate) -> None:
239239 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
240240
241241 model = response .parse ()
242- assert_matches_type (object , model , path = ["response" ])
242+ assert_matches_type (SyncCursorURLPage [ object ] , model , path = ["response" ])
243243
244244 assert cast (Any , response .is_closed ) is True
245245
@@ -446,7 +446,7 @@ async def test_method_search(self, async_client: AsyncReplicate) -> None:
446446 model = await async_client .models .search (
447447 body = "body" ,
448448 )
449- assert_matches_type (object , model , path = ["response" ])
449+ assert_matches_type (AsyncCursorURLPage [ object ] , model , path = ["response" ])
450450
451451 @pytest .mark .skip (reason = "Prism doesn't support query methods yet" )
452452 @parametrize
@@ -458,7 +458,7 @@ async def test_raw_response_search(self, async_client: AsyncReplicate) -> None:
458458 assert response .is_closed is True
459459 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
460460 model = await response .parse ()
461- assert_matches_type (object , model , path = ["response" ])
461+ assert_matches_type (AsyncCursorURLPage [ object ] , model , path = ["response" ])
462462
463463 @pytest .mark .skip (reason = "Prism doesn't support query methods yet" )
464464 @parametrize
@@ -470,6 +470,6 @@ async def test_streaming_response_search(self, async_client: AsyncReplicate) ->
470470 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
471471
472472 model = await response .parse ()
473- assert_matches_type (object , model , path = ["response" ])
473+ assert_matches_type (AsyncCursorURLPage [ object ] , model , path = ["response" ])
474474
475475 assert cast (Any , response .is_closed ) is True
0 commit comments