Skip to content

Commit 8cedce9

Browse files
feat(api): update via SDK Studio (#345)
1 parent fa7a716 commit 8cedce9

File tree

469 files changed

+12366
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

469 files changed

+12366
-0
lines changed

tests/api_resources/accounts/test_members.py

+40
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
class TestMembers:
2424
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
2525

26+
@pytest.mark.skip()
2627
@parametrize
2728
def test_method_create(self, client: Cloudflare) -> None:
2829
member = client.accounts.members.create(
@@ -36,6 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None:
3637
)
3738
assert_matches_type(UserWithInviteCode, member, path=["response"])
3839

40+
@pytest.mark.skip()
3941
@parametrize
4042
def test_method_create_with_all_params(self, client: Cloudflare) -> None:
4143
member = client.accounts.members.create(
@@ -50,6 +52,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
5052
)
5153
assert_matches_type(UserWithInviteCode, member, path=["response"])
5254

55+
@pytest.mark.skip()
5356
@parametrize
5457
def test_raw_response_create(self, client: Cloudflare) -> None:
5558
response = client.accounts.members.with_raw_response.create(
@@ -67,6 +70,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
6770
member = response.parse()
6871
assert_matches_type(UserWithInviteCode, member, path=["response"])
6972

73+
@pytest.mark.skip()
7074
@parametrize
7175
def test_streaming_response_create(self, client: Cloudflare) -> None:
7276
with client.accounts.members.with_streaming_response.create(
@@ -86,6 +90,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
8690

8791
assert cast(Any, response.is_closed) is True
8892

93+
@pytest.mark.skip()
8994
@parametrize
9095
def test_method_update(self, client: Cloudflare) -> None:
9196
member = client.accounts.members.update(
@@ -99,6 +104,7 @@ def test_method_update(self, client: Cloudflare) -> None:
99104
)
100105
assert_matches_type(Member, member, path=["response"])
101106

107+
@pytest.mark.skip()
102108
@parametrize
103109
def test_raw_response_update(self, client: Cloudflare) -> None:
104110
response = client.accounts.members.with_raw_response.update(
@@ -116,6 +122,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
116122
member = response.parse()
117123
assert_matches_type(Member, member, path=["response"])
118124

125+
@pytest.mark.skip()
119126
@parametrize
120127
def test_streaming_response_update(self, client: Cloudflare) -> None:
121128
with client.accounts.members.with_streaming_response.update(
@@ -135,6 +142,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
135142

136143
assert cast(Any, response.is_closed) is True
137144

145+
@pytest.mark.skip()
138146
@parametrize
139147
def test_path_params_update(self, client: Cloudflare) -> None:
140148
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):
@@ -148,13 +156,15 @@ def test_path_params_update(self, client: Cloudflare) -> None:
148156
],
149157
)
150158

159+
@pytest.mark.skip()
151160
@parametrize
152161
def test_method_list(self, client: Cloudflare) -> None:
153162
member = client.accounts.members.list(
154163
account_id={},
155164
)
156165
assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
157166

167+
@pytest.mark.skip()
158168
@parametrize
159169
def test_method_list_with_all_params(self, client: Cloudflare) -> None:
160170
member = client.accounts.members.list(
@@ -167,6 +177,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
167177
)
168178
assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
169179

180+
@pytest.mark.skip()
170181
@parametrize
171182
def test_raw_response_list(self, client: Cloudflare) -> None:
172183
response = client.accounts.members.with_raw_response.list(
@@ -178,6 +189,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
178189
member = response.parse()
179190
assert_matches_type(SyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
180191

192+
@pytest.mark.skip()
181193
@parametrize
182194
def test_streaming_response_list(self, client: Cloudflare) -> None:
183195
with client.accounts.members.with_streaming_response.list(
@@ -191,6 +203,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
191203

192204
assert cast(Any, response.is_closed) is True
193205

206+
@pytest.mark.skip()
194207
@parametrize
195208
def test_method_delete(self, client: Cloudflare) -> None:
196209
member = client.accounts.members.delete(
@@ -200,6 +213,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
200213
)
201214
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
202215

216+
@pytest.mark.skip()
203217
@parametrize
204218
def test_raw_response_delete(self, client: Cloudflare) -> None:
205219
response = client.accounts.members.with_raw_response.delete(
@@ -213,6 +227,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
213227
member = response.parse()
214228
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
215229

230+
@pytest.mark.skip()
216231
@parametrize
217232
def test_streaming_response_delete(self, client: Cloudflare) -> None:
218233
with client.accounts.members.with_streaming_response.delete(
@@ -228,6 +243,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
228243

229244
assert cast(Any, response.is_closed) is True
230245

246+
@pytest.mark.skip()
231247
@parametrize
232248
def test_path_params_delete(self, client: Cloudflare) -> None:
233249
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):
@@ -237,6 +253,7 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
237253
body={},
238254
)
239255

256+
@pytest.mark.skip()
240257
@parametrize
241258
def test_method_get(self, client: Cloudflare) -> None:
242259
member = client.accounts.members.get(
@@ -245,6 +262,7 @@ def test_method_get(self, client: Cloudflare) -> None:
245262
)
246263
assert_matches_type(Member, member, path=["response"])
247264

265+
@pytest.mark.skip()
248266
@parametrize
249267
def test_raw_response_get(self, client: Cloudflare) -> None:
250268
response = client.accounts.members.with_raw_response.get(
@@ -257,6 +275,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
257275
member = response.parse()
258276
assert_matches_type(Member, member, path=["response"])
259277

278+
@pytest.mark.skip()
260279
@parametrize
261280
def test_streaming_response_get(self, client: Cloudflare) -> None:
262281
with client.accounts.members.with_streaming_response.get(
@@ -271,6 +290,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
271290

272291
assert cast(Any, response.is_closed) is True
273292

293+
@pytest.mark.skip()
274294
@parametrize
275295
def test_path_params_get(self, client: Cloudflare) -> None:
276296
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):
@@ -283,6 +303,7 @@ def test_path_params_get(self, client: Cloudflare) -> None:
283303
class TestAsyncMembers:
284304
parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"])
285305

306+
@pytest.mark.skip()
286307
@parametrize
287308
async def test_method_create(self, async_client: AsyncCloudflare) -> None:
288309
member = await async_client.accounts.members.create(
@@ -296,6 +317,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
296317
)
297318
assert_matches_type(UserWithInviteCode, member, path=["response"])
298319

320+
@pytest.mark.skip()
299321
@parametrize
300322
async def test_method_create_with_all_params(self, async_client: AsyncCloudflare) -> None:
301323
member = await async_client.accounts.members.create(
@@ -310,6 +332,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
310332
)
311333
assert_matches_type(UserWithInviteCode, member, path=["response"])
312334

335+
@pytest.mark.skip()
313336
@parametrize
314337
async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
315338
response = await async_client.accounts.members.with_raw_response.create(
@@ -327,6 +350,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
327350
member = await response.parse()
328351
assert_matches_type(UserWithInviteCode, member, path=["response"])
329352

353+
@pytest.mark.skip()
330354
@parametrize
331355
async def test_streaming_response_create(self, async_client: AsyncCloudflare) -> None:
332356
async with async_client.accounts.members.with_streaming_response.create(
@@ -346,6 +370,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
346370

347371
assert cast(Any, response.is_closed) is True
348372

373+
@pytest.mark.skip()
349374
@parametrize
350375
async def test_method_update(self, async_client: AsyncCloudflare) -> None:
351376
member = await async_client.accounts.members.update(
@@ -359,6 +384,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
359384
)
360385
assert_matches_type(Member, member, path=["response"])
361386

387+
@pytest.mark.skip()
362388
@parametrize
363389
async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
364390
response = await async_client.accounts.members.with_raw_response.update(
@@ -376,6 +402,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
376402
member = await response.parse()
377403
assert_matches_type(Member, member, path=["response"])
378404

405+
@pytest.mark.skip()
379406
@parametrize
380407
async def test_streaming_response_update(self, async_client: AsyncCloudflare) -> None:
381408
async with async_client.accounts.members.with_streaming_response.update(
@@ -395,6 +422,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
395422

396423
assert cast(Any, response.is_closed) is True
397424

425+
@pytest.mark.skip()
398426
@parametrize
399427
async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
400428
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):
@@ -408,13 +436,15 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
408436
],
409437
)
410438

439+
@pytest.mark.skip()
411440
@parametrize
412441
async def test_method_list(self, async_client: AsyncCloudflare) -> None:
413442
member = await async_client.accounts.members.list(
414443
account_id={},
415444
)
416445
assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
417446

447+
@pytest.mark.skip()
418448
@parametrize
419449
async def test_method_list_with_all_params(self, async_client: AsyncCloudflare) -> None:
420450
member = await async_client.accounts.members.list(
@@ -427,6 +457,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
427457
)
428458
assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
429459

460+
@pytest.mark.skip()
430461
@parametrize
431462
async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
432463
response = await async_client.accounts.members.with_raw_response.list(
@@ -438,6 +469,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
438469
member = await response.parse()
439470
assert_matches_type(AsyncV4PagePaginationArray[MemberListResponse], member, path=["response"])
440471

472+
@pytest.mark.skip()
441473
@parametrize
442474
async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> None:
443475
async with async_client.accounts.members.with_streaming_response.list(
@@ -451,6 +483,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
451483

452484
assert cast(Any, response.is_closed) is True
453485

486+
@pytest.mark.skip()
454487
@parametrize
455488
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
456489
member = await async_client.accounts.members.delete(
@@ -460,6 +493,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
460493
)
461494
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
462495

496+
@pytest.mark.skip()
463497
@parametrize
464498
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
465499
response = await async_client.accounts.members.with_raw_response.delete(
@@ -473,6 +507,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
473507
member = await response.parse()
474508
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
475509

510+
@pytest.mark.skip()
476511
@parametrize
477512
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
478513
async with async_client.accounts.members.with_streaming_response.delete(
@@ -488,6 +523,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
488523

489524
assert cast(Any, response.is_closed) is True
490525

526+
@pytest.mark.skip()
491527
@parametrize
492528
async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
493529
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):
@@ -497,6 +533,7 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
497533
body={},
498534
)
499535

536+
@pytest.mark.skip()
500537
@parametrize
501538
async def test_method_get(self, async_client: AsyncCloudflare) -> None:
502539
member = await async_client.accounts.members.get(
@@ -505,6 +542,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
505542
)
506543
assert_matches_type(Member, member, path=["response"])
507544

545+
@pytest.mark.skip()
508546
@parametrize
509547
async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
510548
response = await async_client.accounts.members.with_raw_response.get(
@@ -517,6 +555,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
517555
member = await response.parse()
518556
assert_matches_type(Member, member, path=["response"])
519557

558+
@pytest.mark.skip()
520559
@parametrize
521560
async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> None:
522561
async with async_client.accounts.members.with_streaming_response.get(
@@ -531,6 +570,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
531570

532571
assert cast(Any, response.is_closed) is True
533572

573+
@pytest.mark.skip()
534574
@parametrize
535575
async def test_path_params_get(self, async_client: AsyncCloudflare) -> None:
536576
with pytest.raises(ValueError, match=r"Expected a non-empty value for `member_id` but received ''"):

0 commit comments

Comments
 (0)