@@ -37,7 +37,10 @@ def test_method_create(self, client: Cloudflare) -> None:
3737 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
3838 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
3939 ],
40- "resources" : {"foo" : "string" },
40+ "resources" : {
41+ "object" : "bar" ,
42+ "string" : "bar" ,
43+ },
4144 }
4245 ],
4346 )
@@ -68,7 +71,10 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
6871 },
6972 },
7073 ],
71- "resources" : {"foo" : "string" },
74+ "resources" : {
75+ "object" : "bar" ,
76+ "string" : "bar" ,
77+ },
7278 }
7379 ],
7480 condition = {
@@ -95,7 +101,10 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
95101 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
96102 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
97103 ],
98- "resources" : {"foo" : "string" },
104+ "resources" : {
105+ "object" : "bar" ,
106+ "string" : "bar" ,
107+ },
99108 }
100109 ],
101110 )
@@ -118,7 +127,10 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
118127 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
119128 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
120129 ],
121- "resources" : {"foo" : "string" },
130+ "resources" : {
131+ "object" : "bar" ,
132+ "string" : "bar" ,
133+ },
122134 }
123135 ],
124136 ) as response :
@@ -144,7 +156,10 @@ def test_path_params_create(self, client: Cloudflare) -> None:
144156 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
145157 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
146158 ],
147- "resources" : {"foo" : "string" },
159+ "resources" : {
160+ "object" : "bar" ,
161+ "string" : "bar" ,
162+ },
148163 }
149164 ],
150165 )
@@ -163,7 +178,10 @@ def test_method_update(self, client: Cloudflare) -> None:
163178 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
164179 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
165180 ],
166- "resources" : {"foo" : "string" },
181+ "resources" : {
182+ "object" : "bar" ,
183+ "string" : "bar" ,
184+ },
167185 }
168186 ],
169187 )
@@ -195,7 +213,10 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
195213 },
196214 },
197215 ],
198- "resources" : {"foo" : "string" },
216+ "resources" : {
217+ "object" : "bar" ,
218+ "string" : "bar" ,
219+ },
199220 }
200221 ],
201222 condition = {
@@ -224,7 +245,10 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
224245 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
225246 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
226247 ],
227- "resources" : {"foo" : "string" },
248+ "resources" : {
249+ "object" : "bar" ,
250+ "string" : "bar" ,
251+ },
228252 }
229253 ],
230254 )
@@ -248,7 +272,10 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
248272 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
249273 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
250274 ],
251- "resources" : {"foo" : "string" },
275+ "resources" : {
276+ "object" : "bar" ,
277+ "string" : "bar" ,
278+ },
252279 }
253280 ],
254281 ) as response :
@@ -275,7 +302,10 @@ def test_path_params_update(self, client: Cloudflare) -> None:
275302 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
276303 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
277304 ],
278- "resources" : {"foo" : "string" },
305+ "resources" : {
306+ "object" : "bar" ,
307+ "string" : "bar" ,
308+ },
279309 }
280310 ],
281311 )
@@ -292,7 +322,10 @@ def test_path_params_update(self, client: Cloudflare) -> None:
292322 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
293323 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
294324 ],
295- "resources" : {"foo" : "string" },
325+ "resources" : {
326+ "object" : "bar" ,
327+ "string" : "bar" ,
328+ },
296329 }
297330 ],
298331 )
@@ -515,7 +548,10 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
515548 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
516549 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
517550 ],
518- "resources" : {"foo" : "string" },
551+ "resources" : {
552+ "object" : "bar" ,
553+ "string" : "bar" ,
554+ },
519555 }
520556 ],
521557 )
@@ -546,7 +582,10 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
546582 },
547583 },
548584 ],
549- "resources" : {"foo" : "string" },
585+ "resources" : {
586+ "object" : "bar" ,
587+ "string" : "bar" ,
588+ },
550589 }
551590 ],
552591 condition = {
@@ -573,7 +612,10 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
573612 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
574613 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
575614 ],
576- "resources" : {"foo" : "string" },
615+ "resources" : {
616+ "object" : "bar" ,
617+ "string" : "bar" ,
618+ },
577619 }
578620 ],
579621 )
@@ -596,7 +638,10 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
596638 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
597639 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
598640 ],
599- "resources" : {"foo" : "string" },
641+ "resources" : {
642+ "object" : "bar" ,
643+ "string" : "bar" ,
644+ },
600645 }
601646 ],
602647 ) as response :
@@ -622,7 +667,10 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
622667 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
623668 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
624669 ],
625- "resources" : {"foo" : "string" },
670+ "resources" : {
671+ "object" : "bar" ,
672+ "string" : "bar" ,
673+ },
626674 }
627675 ],
628676 )
@@ -641,7 +689,10 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
641689 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
642690 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
643691 ],
644- "resources" : {"foo" : "string" },
692+ "resources" : {
693+ "object" : "bar" ,
694+ "string" : "bar" ,
695+ },
645696 }
646697 ],
647698 )
@@ -673,7 +724,10 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
673724 },
674725 },
675726 ],
676- "resources" : {"foo" : "string" },
727+ "resources" : {
728+ "object" : "bar" ,
729+ "string" : "bar" ,
730+ },
677731 }
678732 ],
679733 condition = {
@@ -702,7 +756,10 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
702756 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
703757 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
704758 ],
705- "resources" : {"foo" : "string" },
759+ "resources" : {
760+ "object" : "bar" ,
761+ "string" : "bar" ,
762+ },
706763 }
707764 ],
708765 )
@@ -726,7 +783,10 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
726783 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
727784 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
728785 ],
729- "resources" : {"foo" : "string" },
786+ "resources" : {
787+ "object" : "bar" ,
788+ "string" : "bar" ,
789+ },
730790 }
731791 ],
732792 ) as response :
@@ -753,7 +813,10 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
753813 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
754814 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
755815 ],
756- "resources" : {"foo" : "string" },
816+ "resources" : {
817+ "object" : "bar" ,
818+ "string" : "bar" ,
819+ },
757820 }
758821 ],
759822 )
@@ -770,7 +833,10 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
770833 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
771834 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
772835 ],
773- "resources" : {"foo" : "string" },
836+ "resources" : {
837+ "object" : "bar" ,
838+ "string" : "bar" ,
839+ },
774840 }
775841 ],
776842 )
0 commit comments