@@ -20,20 +20,20 @@ class TestPredictions:
2020 @pytest .mark .skip (reason = "Prism tests are disabled" )
2121 @parametrize
2222 def test_method_create (self , client : Replicate ) -> None :
23- prediction = client .models .predictions .create (
23+ prediction = client .models .predictions .create ( # pyright: ignore[reportCallIssue, reportUnknownVariableType]
2424 model_owner = "model_owner" ,
2525 model_name = "model_name" ,
2626 input = {
2727 "prompt" : "Tell me a joke" ,
2828 "system_prompt" : "You are a helpful assistant" ,
2929 },
3030 )
31- assert_matches_type (Prediction , prediction , path = ["response" ])
31+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
3232
3333 @pytest .mark .skip (reason = "Prism tests are disabled" )
3434 @parametrize
3535 def test_method_create_with_all_params (self , client : Replicate ) -> None :
36- prediction = client .models .predictions .create (
36+ prediction = client .models .predictions .create ( # pyright: ignore[reportCallIssue, reportUnknownVariableType]
3737 model_owner = "model_owner" ,
3838 model_name = "model_name" ,
3939 input = {
@@ -46,7 +46,7 @@ def test_method_create_with_all_params(self, client: Replicate) -> None:
4646 prefer = "wait=5" ,
4747 replicate_max_lifetime = "5m" ,
4848 )
49- assert_matches_type (Prediction , prediction , path = ["response" ])
49+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
5050
5151 @pytest .mark .skip (reason = "Prism tests are disabled" )
5252 @parametrize
@@ -63,7 +63,7 @@ def test_raw_response_create(self, client: Replicate) -> None:
6363 assert response .is_closed is True
6464 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
6565 prediction = response .parse ()
66- assert_matches_type (Prediction , prediction , path = ["response" ])
66+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
6767
6868 @pytest .mark .skip (reason = "Prism tests are disabled" )
6969 @parametrize
@@ -80,7 +80,7 @@ def test_streaming_response_create(self, client: Replicate) -> None:
8080 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
8181
8282 prediction = response .parse ()
83- assert_matches_type (Prediction , prediction , path = ["response" ])
83+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
8484
8585 assert cast (Any , response .is_closed ) is True
8686
@@ -124,7 +124,7 @@ async def test_method_create(self, async_client: AsyncReplicate) -> None:
124124 "system_prompt" : "You are a helpful assistant" ,
125125 },
126126 )
127- assert_matches_type (Prediction , prediction , path = ["response" ])
127+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
128128
129129 @pytest .mark .skip (reason = "Prism tests are disabled" )
130130 @parametrize
@@ -142,7 +142,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncReplicate)
142142 prefer = "wait=5" ,
143143 replicate_max_lifetime = "5m" ,
144144 )
145- assert_matches_type (Prediction , prediction , path = ["response" ])
145+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
146146
147147 @pytest .mark .skip (reason = "Prism tests are disabled" )
148148 @parametrize
@@ -159,7 +159,7 @@ async def test_raw_response_create(self, async_client: AsyncReplicate) -> None:
159159 assert response .is_closed is True
160160 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
161161 prediction = await response .parse ()
162- assert_matches_type (Prediction , prediction , path = ["response" ])
162+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
163163
164164 @pytest .mark .skip (reason = "Prism tests are disabled" )
165165 @parametrize
@@ -176,7 +176,7 @@ async def test_streaming_response_create(self, async_client: AsyncReplicate) ->
176176 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
177177
178178 prediction = await response .parse ()
179- assert_matches_type (Prediction , prediction , path = ["response" ])
179+ assert_matches_type (Prediction , prediction , path = ["response" ]) # pyright: ignore[reportUnknownArgumentType]
180180
181181 assert cast (Any , response .is_closed ) is True
182182
0 commit comments