@@ -76,16 +76,10 @@ def podcast_task_result_query_with_options(
76
76
req_body_type = 'formData' ,
77
77
body_type = 'json'
78
78
)
79
- if UtilClient .is_unset (self ._signature_version ) or not UtilClient .equal_string (self ._signature_version , 'v4' ):
80
- return TeaCore .from_map (
81
- aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
82
- self .call_api (params , req , runtime )
83
- )
84
- else :
85
- return TeaCore .from_map (
86
- aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
87
- self .execute (params , req , runtime )
88
- )
79
+ return TeaCore .from_map (
80
+ aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
81
+ self .call_api (params , req , runtime )
82
+ )
89
83
90
84
async def podcast_task_result_query_with_options_async (
91
85
self ,
@@ -122,16 +116,10 @@ async def podcast_task_result_query_with_options_async(
122
116
req_body_type = 'formData' ,
123
117
body_type = 'json'
124
118
)
125
- if UtilClient .is_unset (self ._signature_version ) or not UtilClient .equal_string (self ._signature_version , 'v4' ):
126
- return TeaCore .from_map (
127
- aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
128
- await self .call_api_async (params , req , runtime )
129
- )
130
- else :
131
- return TeaCore .from_map (
132
- aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
133
- await self .execute_async (params , req , runtime )
134
- )
119
+ return TeaCore .from_map (
120
+ aipodcast_20250228_models .PodcastTaskResultQueryResponse (),
121
+ await self .call_api_async (params , req , runtime )
122
+ )
135
123
136
124
def podcast_task_result_query (
137
125
self ,
@@ -210,16 +198,10 @@ def podcast_task_submit_with_options(
210
198
req_body_type = 'formData' ,
211
199
body_type = 'json'
212
200
)
213
- if UtilClient .is_unset (self ._signature_version ) or not UtilClient .equal_string (self ._signature_version , 'v4' ):
214
- return TeaCore .from_map (
215
- aipodcast_20250228_models .PodcastTaskSubmitResponse (),
216
- self .call_api (params , req , runtime )
217
- )
218
- else :
219
- return TeaCore .from_map (
220
- aipodcast_20250228_models .PodcastTaskSubmitResponse (),
221
- self .execute (params , req , runtime )
222
- )
201
+ return TeaCore .from_map (
202
+ aipodcast_20250228_models .PodcastTaskSubmitResponse (),
203
+ self .call_api (params , req , runtime )
204
+ )
223
205
224
206
async def podcast_task_submit_with_options_async (
225
207
self ,
@@ -270,16 +252,10 @@ async def podcast_task_submit_with_options_async(
270
252
req_body_type = 'formData' ,
271
253
body_type = 'json'
272
254
)
273
- if UtilClient .is_unset (self ._signature_version ) or not UtilClient .equal_string (self ._signature_version , 'v4' ):
274
- return TeaCore .from_map (
275
- aipodcast_20250228_models .PodcastTaskSubmitResponse (),
276
- await self .call_api_async (params , req , runtime )
277
- )
278
- else :
279
- return TeaCore .from_map (
280
- aipodcast_20250228_models .PodcastTaskSubmitResponse (),
281
- await self .execute_async (params , req , runtime )
282
- )
255
+ return TeaCore .from_map (
256
+ aipodcast_20250228_models .PodcastTaskSubmitResponse (),
257
+ await self .call_api_async (params , req , runtime )
258
+ )
283
259
284
260
def podcast_task_submit (
285
261
self ,
0 commit comments