@@ -102,18 +102,7 @@ def test_path_params_update_overload_1(self, client: ImageKit) -> None:
102102 def test_method_update_overload_2 (self , client : ImageKit ) -> None :
103103 file = client .files .update (
104104 file_id = "fileId" ,
105- )
106- assert_matches_type (FileUpdateResponse , file , path = ["response" ])
107-
108- @pytest .mark .skip (reason = "Prism tests are disabled" )
109- @parametrize
110- def test_method_update_with_all_params_overload_2 (self , client : ImageKit ) -> None :
111- file = client .files .update (
112- file_id = "fileId" ,
113- publish = {
114- "is_published" : True ,
115- "include_file_versions" : True ,
116- },
105+ body = {},
117106 )
118107 assert_matches_type (FileUpdateResponse , file , path = ["response" ])
119108
@@ -122,6 +111,7 @@ def test_method_update_with_all_params_overload_2(self, client: ImageKit) -> Non
122111 def test_raw_response_update_overload_2 (self , client : ImageKit ) -> None :
123112 response = client .files .with_raw_response .update (
124113 file_id = "fileId" ,
114+ body = {},
125115 )
126116
127117 assert response .is_closed is True
@@ -134,6 +124,7 @@ def test_raw_response_update_overload_2(self, client: ImageKit) -> None:
134124 def test_streaming_response_update_overload_2 (self , client : ImageKit ) -> None :
135125 with client .files .with_streaming_response .update (
136126 file_id = "fileId" ,
127+ body = {},
137128 ) as response :
138129 assert not response .is_closed
139130 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -149,6 +140,7 @@ def test_path_params_update_overload_2(self, client: ImageKit) -> None:
149140 with pytest .raises (ValueError , match = r"Expected a non-empty value for `file_id` but received ''" ):
150141 client .files .with_raw_response .update (
151142 file_id = "" ,
143+ body = {},
152144 )
153145
154146 @pytest .mark .skip (reason = "Prism tests are disabled" )
@@ -549,18 +541,7 @@ async def test_path_params_update_overload_1(self, async_client: AsyncImageKit)
549541 async def test_method_update_overload_2 (self , async_client : AsyncImageKit ) -> None :
550542 file = await async_client .files .update (
551543 file_id = "fileId" ,
552- )
553- assert_matches_type (FileUpdateResponse , file , path = ["response" ])
554-
555- @pytest .mark .skip (reason = "Prism tests are disabled" )
556- @parametrize
557- async def test_method_update_with_all_params_overload_2 (self , async_client : AsyncImageKit ) -> None :
558- file = await async_client .files .update (
559- file_id = "fileId" ,
560- publish = {
561- "is_published" : True ,
562- "include_file_versions" : True ,
563- },
544+ body = {},
564545 )
565546 assert_matches_type (FileUpdateResponse , file , path = ["response" ])
566547
@@ -569,6 +550,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn
569550 async def test_raw_response_update_overload_2 (self , async_client : AsyncImageKit ) -> None :
570551 response = await async_client .files .with_raw_response .update (
571552 file_id = "fileId" ,
553+ body = {},
572554 )
573555
574556 assert response .is_closed is True
@@ -581,6 +563,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncImageKit)
581563 async def test_streaming_response_update_overload_2 (self , async_client : AsyncImageKit ) -> None :
582564 async with async_client .files .with_streaming_response .update (
583565 file_id = "fileId" ,
566+ body = {},
584567 ) as response :
585568 assert not response .is_closed
586569 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -596,6 +579,7 @@ async def test_path_params_update_overload_2(self, async_client: AsyncImageKit)
596579 with pytest .raises (ValueError , match = r"Expected a non-empty value for `file_id` but received ''" ):
597580 await async_client .files .with_raw_response .update (
598581 file_id = "" ,
582+ body = {},
599583 )
600584
601585 @pytest .mark .skip (reason = "Prism tests are disabled" )
0 commit comments