@@ -37,7 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None:
37
37
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
38
38
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
39
39
],
40
- "resources" : {"foo" : " string" },
40
+ "resources" : {"foo" : { "foo" : " string"} },
41
41
}
42
42
],
43
43
)
@@ -68,7 +68,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
68
68
},
69
69
},
70
70
],
71
- "resources" : {"foo" : " string" },
71
+ "resources" : {"foo" : { "foo" : " string"} },
72
72
}
73
73
],
74
74
condition = {
@@ -95,7 +95,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
95
95
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
96
96
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
97
97
],
98
- "resources" : {"foo" : " string" },
98
+ "resources" : {"foo" : { "foo" : " string"} },
99
99
}
100
100
],
101
101
)
@@ -118,7 +118,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
118
118
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
119
119
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
120
120
],
121
- "resources" : {"foo" : " string" },
121
+ "resources" : {"foo" : { "foo" : " string"} },
122
122
}
123
123
],
124
124
) as response :
@@ -144,7 +144,7 @@ def test_path_params_create(self, client: Cloudflare) -> None:
144
144
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
145
145
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
146
146
],
147
- "resources" : {"foo" : " string" },
147
+ "resources" : {"foo" : { "foo" : " string"} },
148
148
}
149
149
],
150
150
)
@@ -163,7 +163,7 @@ def test_method_update(self, client: Cloudflare) -> None:
163
163
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
164
164
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
165
165
],
166
- "resources" : {"foo" : " string" },
166
+ "resources" : {"foo" : { "foo" : " string"} },
167
167
}
168
168
],
169
169
)
@@ -195,7 +195,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
195
195
},
196
196
},
197
197
],
198
- "resources" : {"foo" : " string" },
198
+ "resources" : {"foo" : { "foo" : " string"} },
199
199
}
200
200
],
201
201
condition = {
@@ -224,7 +224,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
224
224
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
225
225
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
226
226
],
227
- "resources" : {"foo" : " string" },
227
+ "resources" : {"foo" : { "foo" : " string"} },
228
228
}
229
229
],
230
230
)
@@ -248,7 +248,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
248
248
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
249
249
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
250
250
],
251
- "resources" : {"foo" : " string" },
251
+ "resources" : {"foo" : { "foo" : " string"} },
252
252
}
253
253
],
254
254
) as response :
@@ -275,7 +275,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
275
275
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
276
276
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
277
277
],
278
- "resources" : {"foo" : " string" },
278
+ "resources" : {"foo" : { "foo" : " string"} },
279
279
}
280
280
],
281
281
)
@@ -292,7 +292,7 @@ def test_path_params_update(self, client: Cloudflare) -> None:
292
292
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
293
293
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
294
294
],
295
- "resources" : {"foo" : " string" },
295
+ "resources" : {"foo" : { "foo" : " string"} },
296
296
}
297
297
],
298
298
)
@@ -515,7 +515,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
515
515
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
516
516
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
517
517
],
518
- "resources" : {"foo" : " string" },
518
+ "resources" : {"foo" : { "foo" : " string"} },
519
519
}
520
520
],
521
521
)
@@ -546,7 +546,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
546
546
},
547
547
},
548
548
],
549
- "resources" : {"foo" : " string" },
549
+ "resources" : {"foo" : { "foo" : " string"} },
550
550
}
551
551
],
552
552
condition = {
@@ -573,7 +573,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
573
573
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
574
574
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
575
575
],
576
- "resources" : {"foo" : " string" },
576
+ "resources" : {"foo" : { "foo" : " string"} },
577
577
}
578
578
],
579
579
)
@@ -596,7 +596,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
596
596
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
597
597
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
598
598
],
599
- "resources" : {"foo" : " string" },
599
+ "resources" : {"foo" : { "foo" : " string"} },
600
600
}
601
601
],
602
602
) as response :
@@ -622,7 +622,7 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
622
622
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
623
623
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
624
624
],
625
- "resources" : {"foo" : " string" },
625
+ "resources" : {"foo" : { "foo" : " string"} },
626
626
}
627
627
],
628
628
)
@@ -641,7 +641,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
641
641
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
642
642
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
643
643
],
644
- "resources" : {"foo" : " string" },
644
+ "resources" : {"foo" : { "foo" : " string"} },
645
645
}
646
646
],
647
647
)
@@ -673,7 +673,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
673
673
},
674
674
},
675
675
],
676
- "resources" : {"foo" : " string" },
676
+ "resources" : {"foo" : { "foo" : " string"} },
677
677
}
678
678
],
679
679
condition = {
@@ -702,7 +702,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
702
702
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
703
703
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
704
704
],
705
- "resources" : {"foo" : " string" },
705
+ "resources" : {"foo" : { "foo" : " string"} },
706
706
}
707
707
],
708
708
)
@@ -726,7 +726,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
726
726
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
727
727
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
728
728
],
729
- "resources" : {"foo" : " string" },
729
+ "resources" : {"foo" : { "foo" : " string"} },
730
730
}
731
731
],
732
732
) as response :
@@ -753,7 +753,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
753
753
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
754
754
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
755
755
],
756
- "resources" : {"foo" : " string" },
756
+ "resources" : {"foo" : { "foo" : " string"} },
757
757
}
758
758
],
759
759
)
@@ -770,7 +770,7 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
770
770
{"id" : "c8fed203ed3043cba015a93ad1616f1f" },
771
771
{"id" : "82e64a83756745bbbb1c9c2701bf816b" },
772
772
],
773
- "resources" : {"foo" : " string" },
773
+ "resources" : {"foo" : { "foo" : " string"} },
774
774
}
775
775
],
776
776
)
0 commit comments