@@ -194,20 +194,18 @@ def test_path_params_update(self, client: Codex) -> None:
194
194
@pytest .mark .skip ()
195
195
@parametrize
196
196
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 ()
200
198
assert_matches_type (ProjectListResponse , project , path = ["response" ])
201
199
202
200
@pytest .mark .skip ()
203
201
@parametrize
204
202
def test_method_list_with_all_params (self , client : Codex ) -> None :
205
203
project = client .projects .list (
206
- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
207
204
include_entry_counts = True ,
208
205
limit = 0 ,
209
206
offset = 0 ,
210
207
order = "asc" ,
208
+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
211
209
query = "query" ,
212
210
sort = "created_at" ,
213
211
)
@@ -216,9 +214,7 @@ def test_method_list_with_all_params(self, client: Codex) -> None:
216
214
@pytest .mark .skip ()
217
215
@parametrize
218
216
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 ()
222
218
223
219
assert response .is_closed is True
224
220
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -228,9 +224,7 @@ def test_raw_response_list(self, client: Codex) -> None:
228
224
@pytest .mark .skip ()
229
225
@parametrize
230
226
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 :
234
228
assert not response .is_closed
235
229
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
236
230
@@ -542,20 +536,18 @@ async def test_path_params_update(self, async_client: AsyncCodex) -> None:
542
536
@pytest .mark .skip ()
543
537
@parametrize
544
538
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 ()
548
540
assert_matches_type (ProjectListResponse , project , path = ["response" ])
549
541
550
542
@pytest .mark .skip ()
551
543
@parametrize
552
544
async def test_method_list_with_all_params (self , async_client : AsyncCodex ) -> None :
553
545
project = await async_client .projects .list (
554
- organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
555
546
include_entry_counts = True ,
556
547
limit = 0 ,
557
548
offset = 0 ,
558
549
order = "asc" ,
550
+ organization_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
559
551
query = "query" ,
560
552
sort = "created_at" ,
561
553
)
@@ -564,9 +556,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCodex) -> No
564
556
@pytest .mark .skip ()
565
557
@parametrize
566
558
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 ()
570
560
571
561
assert response .is_closed is True
572
562
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:
576
566
@pytest .mark .skip ()
577
567
@parametrize
578
568
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 :
582
570
assert not response .is_closed
583
571
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
584
572
0 commit comments