@@ -73,7 +73,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
73
73
0 ,
74
74
account_id = "string" ,
75
75
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
76
- body = {} ,
76
+ body = "string" ,
77
77
)
78
78
assert_matches_type (Optional [Dataset ], upload , path = ["response" ])
79
79
@@ -84,7 +84,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
84
84
0 ,
85
85
account_id = "string" ,
86
86
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
87
- body = {} ,
87
+ body = "string" ,
88
88
)
89
89
90
90
assert response .is_closed is True
@@ -99,7 +99,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
99
99
0 ,
100
100
account_id = "string" ,
101
101
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
102
- body = {} ,
102
+ body = "string" ,
103
103
) as response :
104
104
assert not response .is_closed
105
105
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -117,15 +117,15 @@ def test_path_params_edit(self, client: Cloudflare) -> None:
117
117
0 ,
118
118
account_id = "" ,
119
119
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
120
- body = {} ,
120
+ body = "string" ,
121
121
)
122
122
123
123
with pytest .raises (ValueError , match = r"Expected a non-empty value for `dataset_id` but received ''" ):
124
124
client .zero_trust .dlp .datasets .upload .with_raw_response .edit (
125
125
0 ,
126
126
account_id = "string" ,
127
127
dataset_id = "" ,
128
- body = {} ,
128
+ body = "string" ,
129
129
)
130
130
131
131
@@ -187,7 +187,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
187
187
0 ,
188
188
account_id = "string" ,
189
189
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
190
- body = {} ,
190
+ body = "string" ,
191
191
)
192
192
assert_matches_type (Optional [Dataset ], upload , path = ["response" ])
193
193
@@ -198,7 +198,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
198
198
0 ,
199
199
account_id = "string" ,
200
200
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
201
- body = {} ,
201
+ body = "string" ,
202
202
)
203
203
204
204
assert response .is_closed is True
@@ -213,7 +213,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
213
213
0 ,
214
214
account_id = "string" ,
215
215
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
216
- body = {} ,
216
+ body = "string" ,
217
217
) as response :
218
218
assert not response .is_closed
219
219
assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -231,13 +231,13 @@ async def test_path_params_edit(self, async_client: AsyncCloudflare) -> None:
231
231
0 ,
232
232
account_id = "" ,
233
233
dataset_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
234
- body = {} ,
234
+ body = "string" ,
235
235
)
236
236
237
237
with pytest .raises (ValueError , match = r"Expected a non-empty value for `dataset_id` but received ''" ):
238
238
await async_client .zero_trust .dlp .datasets .upload .with_raw_response .edit (
239
239
0 ,
240
240
account_id = "string" ,
241
241
dataset_id = "" ,
242
- body = {} ,
242
+ body = "string" ,
243
243
)
0 commit comments