@@ -194,20 +194,18 @@ def test_path_params_update(self, client: Codex) -> None:
194194 @pytest .mark .skip ()
195195 @parametrize
196196 def test_method_list (self , client : Codex ) -> None :
197- project = client .projects .list (
198- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
199- )
197+ project = client .projects .list ()
200198 assert_matches_type (ProjectListResponse , project , path = ["response" ])
201199
202200 @pytest .mark .skip ()
203201 @parametrize
204202 def test_method_list_with_all_params (self , client : Codex ) -> None :
205203 project = client .projects .list (
206- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
207204 include_entry_counts = True ,
208205 limit = 0 ,
209206 offset = 0 ,
210207 order = "asc" ,
208+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
211209 query = "query" ,
212210 sort = "created_at" ,
213211 )
@@ -216,9 +214,7 @@ def test_method_list_with_all_params(self, client: Codex) -> None:
216214 @pytest .mark .skip ()
217215 @parametrize
218216 def test_raw_response_list (self , client : Codex ) -> None :
219- response = client .projects .with_raw_response .list (
220- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
221- )
217+ response = client .projects .with_raw_response .list ()
222218
223219 assert response .is_closed is True
224220 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -228,9 +224,7 @@ def test_raw_response_list(self, client: Codex) -> None:
228224 @pytest .mark .skip ()
229225 @parametrize
230226 def test_streaming_response_list (self , client : Codex ) -> None :
231- with client .projects .with_streaming_response .list (
232- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
233- ) as response :
227+ with client .projects .with_streaming_response .list () as response :
234228 assert not response .is_closed
235229 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
236230
@@ -542,20 +536,18 @@ async def test_path_params_update(self, async_client: AsyncCodex) -> None:
542536 @pytest .mark .skip ()
543537 @parametrize
544538 async def test_method_list (self , async_client : AsyncCodex ) -> None :
545- project = await async_client .projects .list (
546- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
547- )
539+ project = await async_client .projects .list ()
548540 assert_matches_type (ProjectListResponse , project , path = ["response" ])
549541
550542 @pytest .mark .skip ()
551543 @parametrize
552544 async def test_method_list_with_all_params (self , async_client : AsyncCodex ) -> None :
553545 project = await async_client .projects .list (
554- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
555546 include_entry_counts = True ,
556547 limit = 0 ,
557548 offset = 0 ,
558549 order = "asc" ,
550+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
559551 query = "query" ,
560552 sort = "created_at" ,
561553 )
@@ -564,9 +556,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCodex) -> No
564556 @pytest .mark .skip ()
565557 @parametrize
566558 async def test_raw_response_list (self , async_client : AsyncCodex ) -> None :
567- response = await async_client .projects .with_raw_response .list (
568- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
569- )
559+ response = await async_client .projects .with_raw_response .list ()
570560
571561 assert response .is_closed is True
572562 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -576,9 +566,7 @@ async def test_raw_response_list(self, async_client: AsyncCodex) -> None:
576566 @pytest .mark .skip ()
577567 @parametrize
578568 async def test_streaming_response_list (self , async_client : AsyncCodex ) -> None :
579- async with async_client .projects .with_streaming_response .list (
580- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
581- ) as response :
569+ async with async_client .projects .with_streaming_response .list () as response :
582570 assert not response .is_closed
583571 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
584572
0 commit comments