@@ -322,15 +322,24 @@ def test_path_params_export(self, client: Codex) -> None:
322322 @parametrize
323323 def test_method_increment_queries (self , client : Codex ) -> None :
324324 project = client .projects .increment_queries (
325- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
325+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
326+ )
327+ assert_matches_type (object , project , path = ["response" ])
328+
329+ @pytest .mark .skip ()
330+ @parametrize
331+ def test_method_increment_queries_with_all_params (self , client : Codex ) -> None :
332+ project = client .projects .increment_queries (
333+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
334+ count = 0 ,
326335 )
327336 assert_matches_type (object , project , path = ["response" ])
328337
329338 @pytest .mark .skip ()
330339 @parametrize
331340 def test_raw_response_increment_queries (self , client : Codex ) -> None :
332341 response = client .projects .with_raw_response .increment_queries (
333- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
342+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
334343 )
335344
336345 assert response .is_closed is True
@@ -342,7 +351,7 @@ def test_raw_response_increment_queries(self, client: Codex) -> None:
342351 @parametrize
343352 def test_streaming_response_increment_queries (self , client : Codex ) -> None :
344353 with client .projects .with_streaming_response .increment_queries (
345- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
354+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
346355 ) as response :
347356 assert not response .is_closed
348357 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -357,7 +366,7 @@ def test_streaming_response_increment_queries(self, client: Codex) -> None:
357366 def test_path_params_increment_queries (self , client : Codex ) -> None :
358367 with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
359368 client .projects .with_raw_response .increment_queries (
360- "" ,
369+ project_id = "" ,
361370 )
362371
363372 @pytest .mark .skip ()
@@ -716,15 +725,24 @@ async def test_path_params_export(self, async_client: AsyncCodex) -> None:
716725 @parametrize
717726 async def test_method_increment_queries (self , async_client : AsyncCodex ) -> None :
718727 project = await async_client .projects .increment_queries (
719- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
728+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
729+ )
730+ assert_matches_type (object , project , path = ["response" ])
731+
732+ @pytest .mark .skip ()
733+ @parametrize
734+ async def test_method_increment_queries_with_all_params (self , async_client : AsyncCodex ) -> None :
735+ project = await async_client .projects .increment_queries (
736+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
737+ count = 0 ,
720738 )
721739 assert_matches_type (object , project , path = ["response" ])
722740
723741 @pytest .mark .skip ()
724742 @parametrize
725743 async def test_raw_response_increment_queries (self , async_client : AsyncCodex ) -> None :
726744 response = await async_client .projects .with_raw_response .increment_queries (
727- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
745+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
728746 )
729747
730748 assert response .is_closed is True
@@ -736,7 +754,7 @@ async def test_raw_response_increment_queries(self, async_client: AsyncCodex) ->
736754 @parametrize
737755 async def test_streaming_response_increment_queries (self , async_client : AsyncCodex ) -> None :
738756 async with async_client .projects .with_streaming_response .increment_queries (
739- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
757+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
740758 ) as response :
741759 assert not response .is_closed
742760 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -751,7 +769,7 @@ async def test_streaming_response_increment_queries(self, async_client: AsyncCod
751769 async def test_path_params_increment_queries (self , async_client : AsyncCodex ) -> None :
752770 with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
753771 await async_client .projects .with_raw_response .increment_queries (
754- "" ,
772+ project_id = "" ,
755773 )
756774
757775 @pytest .mark .skip ()
0 commit comments