@@ -37,7 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None:
3737 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
3838 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
3939 ],
40- "resources" : {"foo" : " string" },
40+ "resources" : {"foo" : { "foo" : " string"} },
4141 }
4242 ],
4343 )
@@ -68,7 +68,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
6868 },
6969 },
7070 ],
71- "resources" : {"foo" : " string" },
71+ "resources" : {"foo" : { "foo" : " string"} },
7272 }
7373 ],
7474 condition = {
@@ -95,7 +95,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
9595 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
9696 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
9797 ],
98- "resources" : {"foo" : " string" },
98+ "resources" : {"foo" : { "foo" : " string"} },
9999 }
100100 ],
101101 )
@@ -118,7 +118,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
118118 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
119119 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
120120 ],
121- "resources" : {"foo" : " string" },
121+ "resources" : {"foo" : { "foo" : " string"} },
122122 }
123123 ],
124124 ) as response :
@@ -144,7 +144,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
144144 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
145145 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
146146 ],
147- "resources" : {"foo" : " string" },
147+ "resources" : {"foo" : { "foo" : " string"} },
148148 }
149149 ],
150150 )
@@ -163,7 +163,7 @@ def test_method_update(self, client: Cloudflare) -> None:
163163 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
164164 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
165165 ],
166- "resources" : {"foo" : " string" },
166+ "resources" : {"foo" : { "foo" : " string"} },
167167 }
168168 ],
169169 )
@@ -195,7 +195,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
195195 },
196196 },
197197 ],
198- "resources" : {"foo" : " string" },
198+ "resources" : {"foo" : { "foo" : " string"} },
199199 }
200200 ],
201201 condition = {
@@ -224,7 +224,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
224224 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
225225 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
226226 ],
227- "resources" : {"foo" : " string" },
227+ "resources" : {"foo" : { "foo" : " string"} },
228228 }
229229 ],
230230 )
@@ -248,7 +248,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
248248 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
249249 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
250250 ],
251- "resources" : {"foo" : " string" },
251+ "resources" : {"foo" : { "foo" : " string"} },
252252 }
253253 ],
254254 ) as response :
@@ -275,7 +275,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
275275 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
276276 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
277277 ],
278- "resources" : {"foo" : " string" },
278+ "resources" : {"foo" : { "foo" : " string"} },
279279 }
280280 ],
281281 )
@@ -292,7 +292,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
292292 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
293293 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
294294 ],
295- "resources" : {"foo" : " string" },
295+ "resources" : {"foo" : { "foo" : " string"} },
296296 }
297297 ],
298298 )
@@ -515,7 +515,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
515515 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
516516 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
517517 ],
518- "resources" : {"foo" : " string" },
518+ "resources" : {"foo" : { "foo" : " string"} },
519519 }
520520 ],
521521 )
@@ -546,7 +546,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
546546 },
547547 },
548548 ],
549- "resources" : {"foo" : " string" },
549+ "resources" : {"foo" : { "foo" : " string"} },
550550 }
551551 ],
552552 condition = {
@@ -573,7 +573,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
573573 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
574574 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
575575 ],
576- "resources" : {"foo" : " string" },
576+ "resources" : {"foo" : { "foo" : " string"} },
577577 }
578578 ],
579579 )
@@ -596,7 +596,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
596596 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
597597 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
598598 ],
599- "resources" : {"foo" : " string" },
599+ "resources" : {"foo" : { "foo" : " string"} },
600600 }
601601 ],
602602 ) as response :
@@ -622,7 +622,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
622622 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
623623 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
624624 ],
625- "resources" : {"foo" : " string" },
625+ "resources" : {"foo" : { "foo" : " string"} },
626626 }
627627 ],
628628 )
@@ -641,7 +641,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
641641 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
642642 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
643643 ],
644- "resources" : {"foo" : " string" },
644+ "resources" : {"foo" : { "foo" : " string"} },
645645 }
646646 ],
647647 )
@@ -673,7 +673,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
673673 },
674674 },
675675 ],
676- "resources" : {"foo" : " string" },
676+ "resources" : {"foo" : { "foo" : " string"} },
677677 }
678678 ],
679679 condition = {
@@ -702,7 +702,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
702702 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
703703 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
704704 ],
705- "resources" : {"foo" : " string" },
705+ "resources" : {"foo" : { "foo" : " string"} },
706706 }
707707 ],
708708 )
@@ -726,7 +726,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
726726 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
727727 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
728728 ],
729- "resources" : {"foo" : " string" },
729+ "resources" : {"foo" : { "foo" : " string"} },
730730 }
731731 ],
732732 ) as response :
@@ -753,7 +753,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
753753 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
754754 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
755755 ],
756- "resources" : {"foo" : " string" },
756+ "resources" : {"foo" : { "foo" : " string"} },
757757 }
758758 ],
759759 )
@@ -770,7 +770,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
770770 {"id" : "c8fed203ed3043cba015a93ad1616f1f" },
771771 {"id" : "82e64a83756745bbbb1c9c2701bf816b" },
772772 ],
773- "resources" : {"foo" : " string" },
773+ "resources" : {"foo" : { "foo" : " string"} },
774774 }
775775 ],
776776 )
0 commit comments