File tree Expand file tree Collapse file tree 7 files changed +13
-1
lines changed
workers_for_platforms/dispatch/namespaces/scripts Expand file tree Collapse file tree 7 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ def update(
130
130
extra_query = extra_query ,
131
131
extra_body = extra_body ,
132
132
timeout = timeout ,
133
+ multipart_syntax = "json" ,
133
134
post_parser = ResultWrapper [SnippetUpdateResponse ]._unwrapper ,
134
135
),
135
136
cast_to = cast (Type [SnippetUpdateResponse ], ResultWrapper [SnippetUpdateResponse ]),
@@ -362,6 +363,7 @@ async def update(
362
363
extra_query = extra_query ,
363
364
extra_body = extra_body ,
364
365
timeout = timeout ,
366
+ multipart_syntax = "json" ,
365
367
post_parser = ResultWrapper [SnippetUpdateResponse ]._unwrapper ,
366
368
),
367
369
cast_to = cast (Type [SnippetUpdateResponse ], ResultWrapper [SnippetUpdateResponse ]),
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ def update(
133
133
extra_query = extra_query ,
134
134
extra_body = extra_body ,
135
135
timeout = timeout ,
136
+ multipart_syntax = "json" ,
136
137
post_parser = ResultWrapper [Script ]._unwrapper ,
137
138
),
138
139
cast_to = cast (Type [Script ], ResultWrapper [Script ]),
@@ -275,6 +276,7 @@ async def update(
275
276
extra_query = extra_query ,
276
277
extra_body = extra_body ,
277
278
timeout = timeout ,
279
+ multipart_syntax = "json" ,
278
280
post_parser = ResultWrapper [Script ]._unwrapper ,
279
281
),
280
282
cast_to = cast (Type [Script ], ResultWrapper [Script ]),
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ def edit(
92
92
extra_query = extra_query ,
93
93
extra_body = extra_body ,
94
94
timeout = timeout ,
95
+ multipart_syntax = "json" ,
95
96
post_parser = ResultWrapper [ScriptAndVersionSettingEditResponse ]._unwrapper ,
96
97
),
97
98
cast_to = cast (Type [ScriptAndVersionSettingEditResponse ], ResultWrapper [ScriptAndVersionSettingEditResponse ]),
@@ -209,6 +210,7 @@ async def edit(
209
210
extra_query = extra_query ,
210
211
extra_body = extra_body ,
211
212
timeout = timeout ,
213
+ multipart_syntax = "json" ,
212
214
post_parser = ResultWrapper [ScriptAndVersionSettingEditResponse ]._unwrapper ,
213
215
),
214
216
cast_to = cast (Type [ScriptAndVersionSettingEditResponse ], ResultWrapper [ScriptAndVersionSettingEditResponse ]),
Original file line number Diff line number Diff line change @@ -505,8 +505,8 @@ async def update(
505
505
extra_query = extra_query ,
506
506
extra_body = extra_body ,
507
507
timeout = timeout ,
508
- post_parser = ResultWrapper [ScriptUpdateResponse ]._unwrapper ,
509
508
multipart_syntax = "json" ,
509
+ post_parser = ResultWrapper [ScriptUpdateResponse ]._unwrapper ,
510
510
),
511
511
cast_to = cast (Type [ScriptUpdateResponse ], ResultWrapper [ScriptUpdateResponse ]),
512
512
)
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ def create(
114
114
extra_query = extra_query ,
115
115
extra_body = extra_body ,
116
116
timeout = timeout ,
117
+ multipart_syntax = "json" ,
117
118
post_parser = ResultWrapper [VersionCreateResponse ]._unwrapper ,
118
119
),
119
120
cast_to = cast (Type [VersionCreateResponse ], ResultWrapper [VersionCreateResponse ]),
@@ -315,6 +316,7 @@ async def create(
315
316
extra_query = extra_query ,
316
317
extra_body = extra_body ,
317
318
timeout = timeout ,
319
+ multipart_syntax = "json" ,
318
320
post_parser = ResultWrapper [VersionCreateResponse ]._unwrapper ,
319
321
),
320
322
cast_to = cast (Type [VersionCreateResponse ], ResultWrapper [VersionCreateResponse ]),
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ def update(
139
139
extra_query = extra_query ,
140
140
extra_body = extra_body ,
141
141
timeout = timeout ,
142
+ multipart_syntax = "json" ,
142
143
post_parser = ResultWrapper [Script ]._unwrapper ,
143
144
),
144
145
cast_to = cast (Type [Script ], ResultWrapper [Script ]),
@@ -292,6 +293,7 @@ async def update(
292
293
extra_query = extra_query ,
293
294
extra_body = extra_body ,
294
295
timeout = timeout ,
296
+ multipart_syntax = "json" ,
295
297
post_parser = ResultWrapper [Script ]._unwrapper ,
296
298
),
297
299
cast_to = cast (Type [Script ], ResultWrapper [Script ]),
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ def edit(
95
95
extra_query = extra_query ,
96
96
extra_body = extra_body ,
97
97
timeout = timeout ,
98
+ multipart_syntax = "json" ,
98
99
post_parser = ResultWrapper [Optional [SettingEditResponse ]]._unwrapper ,
99
100
),
100
101
cast_to = cast (Type [Optional [SettingEditResponse ]], ResultWrapper [SettingEditResponse ]),
@@ -220,6 +221,7 @@ async def edit(
220
221
extra_query = extra_query ,
221
222
extra_body = extra_body ,
222
223
timeout = timeout ,
224
+ multipart_syntax = "json" ,
223
225
post_parser = ResultWrapper [Optional [SettingEditResponse ]]._unwrapper ,
224
226
),
225
227
cast_to = cast (Type [Optional [SettingEditResponse ]], ResultWrapper [SettingEditResponse ]),
You can’t perform that action at this time.
0 commit comments