@@ -25,7 +25,6 @@ class TestAccounts:
2525 def test_method_create (self , client : Cloudflare ) -> None :
2626 account = client .accounts .create (
2727 name = "name" ,
28- type = "standard" ,
2928 )
3029 assert_matches_type (Optional [Account ], account , path = ["response" ])
3130
@@ -42,7 +41,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
4241 def test_raw_response_create (self , client : Cloudflare ) -> None :
4342 response = client .accounts .with_raw_response .create (
4443 name = "name" ,
45- type = "standard" ,
4644 )
4745
4846 assert response .is_closed is True
@@ -54,7 +52,6 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
5452 def test_streaming_response_create (self , client : Cloudflare ) -> None :
5553 with client .accounts .with_streaming_response .create (
5654 name = "name" ,
57- type = "standard" ,
5855 ) as response :
5956 assert not response .is_closed
6057 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -70,6 +67,7 @@ def test_method_update(self, client: Cloudflare) -> None:
7067 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
7168 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
7269 name = "Demo Account" ,
70+ type = "standard" ,
7371 )
7472 assert_matches_type (Optional [Account ], account , path = ["response" ])
7573
@@ -79,6 +77,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
7977 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
8078 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
8179 name = "Demo Account" ,
80+ type = "standard" ,
8281 settings = {
8382 "abuse_contact_email" : "abuse_contact_email" ,
8483 "enforce_twofactor" : True ,
@@ -92,6 +91,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
9291 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
9392 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
9493 name = "Demo Account" ,
94+ type = "standard" ,
9595 )
9696
9797 assert response .is_closed is True
@@ -105,6 +105,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
105105 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
106106 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
107107 name = "Demo Account" ,
108+ type = "standard" ,
108109 ) as response :
109110 assert not response .is_closed
110111 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -121,6 +122,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
121122 account_id = "" ,
122123 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
123124 name = "Demo Account" ,
125+ type = "standard" ,
124126 )
125127
126128 @parametrize
@@ -244,7 +246,6 @@ class TestAsyncAccounts:
244246 async def test_method_create (self , async_client : AsyncCloudflare ) -> None :
245247 account = await async_client .accounts .create (
246248 name = "name" ,
247- type = "standard" ,
248249 )
249250 assert_matches_type (Optional [Account ], account , path = ["response" ])
250251
@@ -261,7 +262,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
261262 async def test_raw_response_create (self , async_client : AsyncCloudflare ) -> None :
262263 response = await async_client .accounts .with_raw_response .create (
263264 name = "name" ,
264- type = "standard" ,
265265 )
266266
267267 assert response .is_closed is True
@@ -273,7 +273,6 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
273273 async def test_streaming_response_create (self , async_client : AsyncCloudflare ) -> None :
274274 async with async_client .accounts .with_streaming_response .create (
275275 name = "name" ,
276- type = "standard" ,
277276 ) as response :
278277 assert not response .is_closed
279278 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -289,6 +288,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
289288 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
290289 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
291290 name = "Demo Account" ,
291+ type = "standard" ,
292292 )
293293 assert_matches_type (Optional [Account ], account , path = ["response" ])
294294
@@ -298,6 +298,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
298298 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
299299 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
300300 name = "Demo Account" ,
301+ type = "standard" ,
301302 settings = {
302303 "abuse_contact_email" : "abuse_contact_email" ,
303304 "enforce_twofactor" : True ,
@@ -311,6 +312,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
311312 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
312313 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
313314 name = "Demo Account" ,
315+ type = "standard" ,
314316 )
315317
316318 assert response .is_closed is True
@@ -324,6 +326,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
324326 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
325327 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
326328 name = "Demo Account" ,
329+ type = "standard" ,
327330 ) as response :
328331 assert not response .is_closed
329332 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -340,6 +343,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
340343 account_id = "" ,
341344 id = "023e105f4ecef8ad9ca31a8372d0c353" ,
342345 name = "Demo Account" ,
346+ type = "standard" ,
343347 )
344348
345349 @parametrize
0 commit comments