@@ -322,15 +322,24 @@ def test_path_params_export(self, client: Codex) -> None:
322
322
@parametrize
323
323
def test_method_increment_queries (self , client : Codex ) -> None :
324
324
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 ,
326
335
)
327
336
assert_matches_type (object , project , path = ["response" ])
328
337
329
338
@pytest .mark .skip ()
330
339
@parametrize
331
340
def test_raw_response_increment_queries (self , client : Codex ) -> None :
332
341
response = client .projects .with_raw_response .increment_queries (
333
- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
342
+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
334
343
)
335
344
336
345
assert response .is_closed is True
@@ -342,7 +351,7 @@ def test_raw_response_increment_queries(self, client: Codex) -> None:
342
351
@parametrize
343
352
def test_streaming_response_increment_queries (self , client : Codex ) -> None :
344
353
with client .projects .with_streaming_response .increment_queries (
345
- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
354
+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
346
355
) as response :
347
356
assert not response .is_closed
348
357
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -357,7 +366,7 @@ def test_streaming_response_increment_queries(self, client: Codex) -> None:
357
366
def test_path_params_increment_queries (self , client : Codex ) -> None :
358
367
with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
359
368
client .projects .with_raw_response .increment_queries (
360
- "" ,
369
+ project_id = "" ,
361
370
)
362
371
363
372
@pytest .mark .skip ()
@@ -716,15 +725,24 @@ async def test_path_params_export(self, async_client: AsyncCodex) -> None:
716
725
@parametrize
717
726
async def test_method_increment_queries (self , async_client : AsyncCodex ) -> None :
718
727
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 ,
720
738
)
721
739
assert_matches_type (object , project , path = ["response" ])
722
740
723
741
@pytest .mark .skip ()
724
742
@parametrize
725
743
async def test_raw_response_increment_queries (self , async_client : AsyncCodex ) -> None :
726
744
response = await async_client .projects .with_raw_response .increment_queries (
727
- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
745
+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
728
746
)
729
747
730
748
assert response .is_closed is True
@@ -736,7 +754,7 @@ async def test_raw_response_increment_queries(self, async_client: AsyncCodex) ->
736
754
@parametrize
737
755
async def test_streaming_response_increment_queries (self , async_client : AsyncCodex ) -> None :
738
756
async with async_client .projects .with_streaming_response .increment_queries (
739
- "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
757
+ project_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
740
758
) as response :
741
759
assert not response .is_closed
742
760
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
751
769
async def test_path_params_increment_queries (self , async_client : AsyncCodex ) -> None :
752
770
with pytest .raises (ValueError , match = r"Expected a non-empty value for `project_id` but received ''" ):
753
771
await async_client .projects .with_raw_response .increment_queries (
754
- "" ,
772
+ project_id = "" ,
755
773
)
756
774
757
775
@pytest .mark .skip ()
0 commit comments