@@ -38,7 +38,10 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
3838 workflow_name = "x" ,
3939 account_id = "account_id" ,
4040 instance_id = "instance_id" ,
41- instance_retention = {},
41+ instance_retention = {
42+ "error_retention" : 0 ,
43+ "success_retention" : 0 ,
44+ },
4245 params = {},
4346 )
4447 assert_matches_type (InstanceCreateResponse , instance , path = ["response" ])
@@ -162,7 +165,10 @@ def test_method_bulk_with_all_params(self, client: Cloudflare) -> None:
162165 body = [
163166 {
164167 "instance_id" : "instance_id" ,
165- "instance_retention" : {},
168+ "instance_retention" : {
169+ "error_retention" : 0 ,
170+ "success_retention" : 0 ,
171+ },
166172 "params" : {},
167173 }
168174 ],
@@ -289,7 +295,10 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
289295 workflow_name = "x" ,
290296 account_id = "account_id" ,
291297 instance_id = "instance_id" ,
292- instance_retention = {},
298+ instance_retention = {
299+ "error_retention" : 0 ,
300+ "success_retention" : 0 ,
301+ },
293302 params = {},
294303 )
295304 assert_matches_type (InstanceCreateResponse , instance , path = ["response" ])
@@ -413,7 +422,10 @@ async def test_method_bulk_with_all_params(self, async_client: AsyncCloudflare)
413422 body = [
414423 {
415424 "instance_id" : "instance_id" ,
416- "instance_retention" : {},
425+ "instance_retention" : {
426+ "error_retention" : 0 ,
427+ "success_retention" : 0 ,
428+ },
417429 "params" : {},
418430 }
419431 ],
0 commit comments