@@ -27,7 +27,7 @@ class TestAIGateway:
27
27
@parametrize
28
28
def test_method_create (self , client : Cloudflare ) -> None :
29
29
ai_gateway = client .ai_gateway .create (
30
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
30
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
31
31
id = "my-gateway" ,
32
32
cache_invalidate_on_update = True ,
33
33
cache_ttl = 0 ,
@@ -41,7 +41,7 @@ def test_method_create(self, client: Cloudflare) -> None:
41
41
@parametrize
42
42
def test_raw_response_create (self , client : Cloudflare ) -> None :
43
43
response = client .ai_gateway .with_raw_response .create (
44
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
44
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
45
45
id = "my-gateway" ,
46
46
cache_invalidate_on_update = True ,
47
47
cache_ttl = 0 ,
@@ -59,7 +59,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
59
59
@parametrize
60
60
def test_streaming_response_create (self , client : Cloudflare ) -> None :
61
61
with client .ai_gateway .with_streaming_response .create (
62
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
62
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
63
63
id = "my-gateway" ,
64
64
cache_invalidate_on_update = True ,
65
65
cache_ttl = 0 ,
@@ -94,7 +94,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
94
94
def test_method_update (self , client : Cloudflare ) -> None :
95
95
ai_gateway = client .ai_gateway .update (
96
96
"my-gateway" ,
97
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
97
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
98
98
cache_invalidate_on_update = True ,
99
99
cache_ttl = 0 ,
100
100
collect_logs = True ,
@@ -108,7 +108,7 @@ def test_method_update(self, client: Cloudflare) -> None:
108
108
def test_raw_response_update (self , client : Cloudflare ) -> None :
109
109
response = client .ai_gateway .with_raw_response .update (
110
110
"my-gateway" ,
111
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
111
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
112
112
cache_invalidate_on_update = True ,
113
113
cache_ttl = 0 ,
114
114
collect_logs = True ,
@@ -126,7 +126,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
126
126
def test_streaming_response_update (self , client : Cloudflare ) -> None :
127
127
with client .ai_gateway .with_streaming_response .update (
128
128
"my-gateway" ,
129
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
129
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
130
130
cache_invalidate_on_update = True ,
131
131
cache_ttl = 0 ,
132
132
collect_logs = True ,
@@ -159,7 +159,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
159
159
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
160
160
client .ai_gateway .with_raw_response .update (
161
161
"" ,
162
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
162
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
163
163
cache_invalidate_on_update = True ,
164
164
cache_ttl = 0 ,
165
165
collect_logs = True ,
@@ -171,14 +171,14 @@ def test_path_params_update(self, client: Cloudflare) -> None:
171
171
@parametrize
172
172
def test_method_list (self , client : Cloudflare ) -> None :
173
173
ai_gateway = client .ai_gateway .list (
174
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
174
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
175
175
)
176
176
assert_matches_type (SyncV4PagePaginationArray [AIGatewayListResponse ], ai_gateway , path = ["response" ])
177
177
178
178
@parametrize
179
179
def test_method_list_with_all_params (self , client : Cloudflare ) -> None :
180
180
ai_gateway = client .ai_gateway .list (
181
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
181
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
182
182
id = "my-gateway" ,
183
183
order_by = "string" ,
184
184
page = 1 ,
@@ -189,7 +189,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
189
189
@parametrize
190
190
def test_raw_response_list (self , client : Cloudflare ) -> None :
191
191
response = client .ai_gateway .with_raw_response .list (
192
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
192
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
193
193
)
194
194
195
195
assert response .is_closed is True
@@ -200,7 +200,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
200
200
@parametrize
201
201
def test_streaming_response_list (self , client : Cloudflare ) -> None :
202
202
with client .ai_gateway .with_streaming_response .list (
203
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
203
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
204
204
) as response :
205
205
assert not response .is_closed
206
206
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -221,15 +221,15 @@ def test_path_params_list(self, client: Cloudflare) -> None:
221
221
def test_method_delete (self , client : Cloudflare ) -> None :
222
222
ai_gateway = client .ai_gateway .delete (
223
223
"string" ,
224
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
224
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
225
225
)
226
226
assert_matches_type (AIGatewayDeleteResponse , ai_gateway , path = ["response" ])
227
227
228
228
@parametrize
229
229
def test_raw_response_delete (self , client : Cloudflare ) -> None :
230
230
response = client .ai_gateway .with_raw_response .delete (
231
231
"string" ,
232
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
232
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
233
233
)
234
234
235
235
assert response .is_closed is True
@@ -241,7 +241,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
241
241
def test_streaming_response_delete (self , client : Cloudflare ) -> None :
242
242
with client .ai_gateway .with_streaming_response .delete (
243
243
"string" ,
244
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
244
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
245
245
) as response :
246
246
assert not response .is_closed
247
247
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -262,22 +262,22 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
262
262
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
263
263
client .ai_gateway .with_raw_response .delete (
264
264
"" ,
265
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
265
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
266
266
)
267
267
268
268
@parametrize
269
269
def test_method_get (self , client : Cloudflare ) -> None :
270
270
ai_gateway = client .ai_gateway .get (
271
271
"my-gateway" ,
272
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
272
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
273
273
)
274
274
assert_matches_type (AIGatewayGetResponse , ai_gateway , path = ["response" ])
275
275
276
276
@parametrize
277
277
def test_raw_response_get (self , client : Cloudflare ) -> None :
278
278
response = client .ai_gateway .with_raw_response .get (
279
279
"my-gateway" ,
280
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
280
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
281
281
)
282
282
283
283
assert response .is_closed is True
@@ -289,7 +289,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
289
289
def test_streaming_response_get (self , client : Cloudflare ) -> None :
290
290
with client .ai_gateway .with_streaming_response .get (
291
291
"my-gateway" ,
292
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
292
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
293
293
) as response :
294
294
assert not response .is_closed
295
295
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -310,7 +310,7 @@ def test_path_params_get(self, client: Cloudflare) -> None:
310
310
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
311
311
client .ai_gateway .with_raw_response .get (
312
312
"" ,
313
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
313
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
314
314
)
315
315
316
316
@@ -320,7 +320,7 @@ class TestAsyncAIGateway:
320
320
@parametrize
321
321
async def test_method_create (self , async_client : AsyncCloudflare ) -> None :
322
322
ai_gateway = await async_client .ai_gateway .create (
323
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
323
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
324
324
id = "my-gateway" ,
325
325
cache_invalidate_on_update = True ,
326
326
cache_ttl = 0 ,
@@ -334,7 +334,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
334
334
@parametrize
335
335
async def test_raw_response_create (self , async_client : AsyncCloudflare ) -> None :
336
336
response = await async_client .ai_gateway .with_raw_response .create (
337
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
337
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
338
338
id = "my-gateway" ,
339
339
cache_invalidate_on_update = True ,
340
340
cache_ttl = 0 ,
@@ -352,7 +352,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
352
352
@parametrize
353
353
async def test_streaming_response_create (self , async_client : AsyncCloudflare ) -> None :
354
354
async with async_client .ai_gateway .with_streaming_response .create (
355
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
355
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
356
356
id = "my-gateway" ,
357
357
cache_invalidate_on_update = True ,
358
358
cache_ttl = 0 ,
@@ -387,7 +387,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
387
387
async def test_method_update (self , async_client : AsyncCloudflare ) -> None :
388
388
ai_gateway = await async_client .ai_gateway .update (
389
389
"my-gateway" ,
390
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
390
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
391
391
cache_invalidate_on_update = True ,
392
392
cache_ttl = 0 ,
393
393
collect_logs = True ,
@@ -401,7 +401,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
401
401
async def test_raw_response_update (self , async_client : AsyncCloudflare ) -> None :
402
402
response = await async_client .ai_gateway .with_raw_response .update (
403
403
"my-gateway" ,
404
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
404
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
405
405
cache_invalidate_on_update = True ,
406
406
cache_ttl = 0 ,
407
407
collect_logs = True ,
@@ -419,7 +419,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
419
419
async def test_streaming_response_update (self , async_client : AsyncCloudflare ) -> None :
420
420
async with async_client .ai_gateway .with_streaming_response .update (
421
421
"my-gateway" ,
422
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
422
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
423
423
cache_invalidate_on_update = True ,
424
424
cache_ttl = 0 ,
425
425
collect_logs = True ,
@@ -452,7 +452,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
452
452
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
453
453
await async_client .ai_gateway .with_raw_response .update (
454
454
"" ,
455
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
455
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
456
456
cache_invalidate_on_update = True ,
457
457
cache_ttl = 0 ,
458
458
collect_logs = True ,
@@ -464,14 +464,14 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
464
464
@parametrize
465
465
async def test_method_list (self , async_client : AsyncCloudflare ) -> None :
466
466
ai_gateway = await async_client .ai_gateway .list (
467
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
467
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
468
468
)
469
469
assert_matches_type (AsyncV4PagePaginationArray [AIGatewayListResponse ], ai_gateway , path = ["response" ])
470
470
471
471
@parametrize
472
472
async def test_method_list_with_all_params (self , async_client : AsyncCloudflare ) -> None :
473
473
ai_gateway = await async_client .ai_gateway .list (
474
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
474
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
475
475
id = "my-gateway" ,
476
476
order_by = "string" ,
477
477
page = 1 ,
@@ -482,7 +482,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
482
482
@parametrize
483
483
async def test_raw_response_list (self , async_client : AsyncCloudflare ) -> None :
484
484
response = await async_client .ai_gateway .with_raw_response .list (
485
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
485
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
486
486
)
487
487
488
488
assert response .is_closed is True
@@ -493,7 +493,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
493
493
@parametrize
494
494
async def test_streaming_response_list (self , async_client : AsyncCloudflare ) -> None :
495
495
async with async_client .ai_gateway .with_streaming_response .list (
496
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
496
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
497
497
) as response :
498
498
assert not response .is_closed
499
499
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -514,15 +514,15 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None:
514
514
async def test_method_delete (self , async_client : AsyncCloudflare ) -> None :
515
515
ai_gateway = await async_client .ai_gateway .delete (
516
516
"string" ,
517
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
517
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
518
518
)
519
519
assert_matches_type (AIGatewayDeleteResponse , ai_gateway , path = ["response" ])
520
520
521
521
@parametrize
522
522
async def test_raw_response_delete (self , async_client : AsyncCloudflare ) -> None :
523
523
response = await async_client .ai_gateway .with_raw_response .delete (
524
524
"string" ,
525
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
525
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
526
526
)
527
527
528
528
assert response .is_closed is True
@@ -534,7 +534,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
534
534
async def test_streaming_response_delete (self , async_client : AsyncCloudflare ) -> None :
535
535
async with async_client .ai_gateway .with_streaming_response .delete (
536
536
"string" ,
537
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
537
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
538
538
) as response :
539
539
assert not response .is_closed
540
540
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -555,22 +555,22 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
555
555
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
556
556
await async_client .ai_gateway .with_raw_response .delete (
557
557
"" ,
558
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
558
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
559
559
)
560
560
561
561
@parametrize
562
562
async def test_method_get (self , async_client : AsyncCloudflare ) -> None :
563
563
ai_gateway = await async_client .ai_gateway .get (
564
564
"my-gateway" ,
565
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
565
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
566
566
)
567
567
assert_matches_type (AIGatewayGetResponse , ai_gateway , path = ["response" ])
568
568
569
569
@parametrize
570
570
async def test_raw_response_get (self , async_client : AsyncCloudflare ) -> None :
571
571
response = await async_client .ai_gateway .with_raw_response .get (
572
572
"my-gateway" ,
573
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
573
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
574
574
)
575
575
576
576
assert response .is_closed is True
@@ -582,7 +582,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
582
582
async def test_streaming_response_get (self , async_client : AsyncCloudflare ) -> None :
583
583
async with async_client .ai_gateway .with_streaming_response .get (
584
584
"my-gateway" ,
585
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
585
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
586
586
) as response :
587
587
assert not response .is_closed
588
588
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -603,5 +603,5 @@ async def test_path_params_get(self, async_client: AsyncCloudflare) -> None:
603
603
with pytest .raises (ValueError , match = r"Expected a non-empty value for `id` but received ''" ):
604
604
await async_client .ai_gateway .with_raw_response .get (
605
605
"" ,
606
- account_id = "0d37909e38d3e99c29fa2cd343ac421a " ,
606
+ account_id = "3ebbcb006d4d46d7bb6a8c7f14676cb0 " ,
607
607
)
0 commit comments