alibabacloud-quanmiaolightapp20240801 2.13.3__py3-none-any.whl → 2.13.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_quanmiaolightapp20240801/__init__.py +1 -1
- alibabacloud_quanmiaolightapp20240801/client.py +24 -0
- alibabacloud_quanmiaolightapp20240801/models/__init__.py +2 -0
- alibabacloud_quanmiaolightapp20240801/models/_get_essay_correction_task_response_body.py +22 -1
- alibabacloud_quanmiaolightapp20240801/models/_model_usage.py +49 -0
- alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_request.py +8 -0
- alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_shrink_request.py +8 -0
- alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_request.py +8 -1
- alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_shrink_request.py +8 -1
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info}/METADATA +2 -2
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info}/RECORD +14 -13
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info}/LICENSE +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info}/WHEEL +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.13.
|
|
1
|
+
__version__ = '2.13.5'
|
|
@@ -4248,6 +4248,8 @@ class Client(OpenApiClient):
|
|
|
4248
4248
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
4249
4249
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
4250
4250
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
4251
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
4252
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
4251
4253
|
body = {}
|
|
4252
4254
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
4253
4255
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -4295,6 +4297,8 @@ class Client(OpenApiClient):
|
|
|
4295
4297
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
4296
4298
|
if not DaraCore.is_null(request.video_url):
|
|
4297
4299
|
body['videoUrl'] = request.video_url
|
|
4300
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
4301
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
4298
4302
|
req = open_api_util_models.OpenApiRequest(
|
|
4299
4303
|
headers = headers,
|
|
4300
4304
|
body = Utils.parse_to_map(body)
|
|
@@ -4348,6 +4352,8 @@ class Client(OpenApiClient):
|
|
|
4348
4352
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
4349
4353
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
4350
4354
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
4355
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
4356
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
4351
4357
|
body = {}
|
|
4352
4358
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
4353
4359
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -4395,6 +4401,8 @@ class Client(OpenApiClient):
|
|
|
4395
4401
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
4396
4402
|
if not DaraCore.is_null(request.video_url):
|
|
4397
4403
|
body['videoUrl'] = request.video_url
|
|
4404
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
4405
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
4398
4406
|
req = open_api_util_models.OpenApiRequest(
|
|
4399
4407
|
headers = headers,
|
|
4400
4408
|
body = Utils.parse_to_map(body)
|
|
@@ -4448,6 +4456,8 @@ class Client(OpenApiClient):
|
|
|
4448
4456
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
4449
4457
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
4450
4458
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
4459
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
4460
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
4451
4461
|
body = {}
|
|
4452
4462
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
4453
4463
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -4495,6 +4505,8 @@ class Client(OpenApiClient):
|
|
|
4495
4505
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
4496
4506
|
if not DaraCore.is_null(request.video_url):
|
|
4497
4507
|
body['videoUrl'] = request.video_url
|
|
4508
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
4509
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
4498
4510
|
req = open_api_util_models.OpenApiRequest(
|
|
4499
4511
|
headers = headers,
|
|
4500
4512
|
body = Utils.parse_to_map(body)
|
|
@@ -4539,6 +4551,8 @@ class Client(OpenApiClient):
|
|
|
4539
4551
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
4540
4552
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
4541
4553
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
4554
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
4555
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
4542
4556
|
body = {}
|
|
4543
4557
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
4544
4558
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -4586,6 +4600,8 @@ class Client(OpenApiClient):
|
|
|
4586
4600
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
4587
4601
|
if not DaraCore.is_null(request.video_url):
|
|
4588
4602
|
body['videoUrl'] = request.video_url
|
|
4603
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
4604
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
4589
4605
|
req = open_api_util_models.OpenApiRequest(
|
|
4590
4606
|
headers = headers,
|
|
4591
4607
|
body = Utils.parse_to_map(body)
|
|
@@ -5308,6 +5324,8 @@ class Client(OpenApiClient):
|
|
|
5308
5324
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
5309
5325
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
5310
5326
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
5327
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
5328
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
5311
5329
|
body = {}
|
|
5312
5330
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
5313
5331
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -5353,6 +5371,8 @@ class Client(OpenApiClient):
|
|
|
5353
5371
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
5354
5372
|
if not DaraCore.is_null(request.video_url):
|
|
5355
5373
|
body['videoUrl'] = request.video_url
|
|
5374
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
5375
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
5356
5376
|
req = open_api_util_models.OpenApiRequest(
|
|
5357
5377
|
headers = headers,
|
|
5358
5378
|
body = Utils.parse_to_map(body)
|
|
@@ -5397,6 +5417,8 @@ class Client(OpenApiClient):
|
|
|
5397
5417
|
request.video_caption_info_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_caption_info, 'videoCaptionInfo', 'json')
|
|
5398
5418
|
if not DaraCore.is_null(tmp_req.video_roles):
|
|
5399
5419
|
request.video_roles_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_roles, 'videoRoles', 'json')
|
|
5420
|
+
if not DaraCore.is_null(tmp_req.video_urls):
|
|
5421
|
+
request.video_urls_shrink = Utils.array_to_string_with_specified_style(tmp_req.video_urls, 'videoUrls', 'json')
|
|
5400
5422
|
body = {}
|
|
5401
5423
|
if not DaraCore.is_null(request.add_document_param_shrink):
|
|
5402
5424
|
body['addDocumentParam'] = request.add_document_param_shrink
|
|
@@ -5442,6 +5464,8 @@ class Client(OpenApiClient):
|
|
|
5442
5464
|
body['videoShotFaceIdentityCount'] = request.video_shot_face_identity_count
|
|
5443
5465
|
if not DaraCore.is_null(request.video_url):
|
|
5444
5466
|
body['videoUrl'] = request.video_url
|
|
5467
|
+
if not DaraCore.is_null(request.video_urls_shrink):
|
|
5468
|
+
body['videoUrls'] = request.video_urls_shrink
|
|
5445
5469
|
req = open_api_util_models.OpenApiRequest(
|
|
5446
5470
|
headers = headers,
|
|
5447
5471
|
body = Utils.parse_to_map(body)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# This file is auto-generated, don't edit it. Thanks.
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from ._model_usage import ModelUsage
|
|
5
6
|
from ._cancel_async_task_request import CancelAsyncTaskRequest
|
|
6
7
|
from ._cancel_async_task_response_body import CancelAsyncTaskResponseBody
|
|
7
8
|
from ._cancel_async_task_response import CancelAsyncTaskResponse
|
|
@@ -346,6 +347,7 @@ from ._update_video_analysis_tasks_response_body import UpdateVideoAnalysisTasks
|
|
|
346
347
|
from ._update_video_detect_shot_task_response_body import UpdateVideoDetectShotTaskResponseBodyData
|
|
347
348
|
|
|
348
349
|
__all__ = [
|
|
350
|
+
ModelUsage,
|
|
349
351
|
CancelAsyncTaskRequest,
|
|
350
352
|
CancelAsyncTaskResponseBody,
|
|
351
353
|
CancelAsyncTaskResponse,
|
|
@@ -83,16 +83,20 @@ class GetEssayCorrectionTaskResponseBodyData(DaraModel):
|
|
|
83
83
|
error_message: str = None,
|
|
84
84
|
results: List[main_models.GetEssayCorrectionTaskResponseBodyDataResults] = None,
|
|
85
85
|
status: str = None,
|
|
86
|
+
total_usage: main_models.ModelUsage = None,
|
|
86
87
|
):
|
|
87
88
|
self.error_message = error_message
|
|
88
89
|
self.results = results
|
|
89
90
|
self.status = status
|
|
91
|
+
self.total_usage = total_usage
|
|
90
92
|
|
|
91
93
|
def validate(self):
|
|
92
94
|
if self.results:
|
|
93
95
|
for v1 in self.results:
|
|
94
96
|
if v1:
|
|
95
97
|
v1.validate()
|
|
98
|
+
if self.total_usage:
|
|
99
|
+
self.total_usage.validate()
|
|
96
100
|
|
|
97
101
|
def to_map(self):
|
|
98
102
|
result = dict()
|
|
@@ -110,6 +114,9 @@ class GetEssayCorrectionTaskResponseBodyData(DaraModel):
|
|
|
110
114
|
if self.status is not None:
|
|
111
115
|
result['status'] = self.status
|
|
112
116
|
|
|
117
|
+
if self.total_usage is not None:
|
|
118
|
+
result['totalUsage'] = self.total_usage.to_map()
|
|
119
|
+
|
|
113
120
|
return result
|
|
114
121
|
|
|
115
122
|
def from_map(self, m: dict = None):
|
|
@@ -126,6 +133,10 @@ class GetEssayCorrectionTaskResponseBodyData(DaraModel):
|
|
|
126
133
|
if m.get('status') is not None:
|
|
127
134
|
self.status = m.get('status')
|
|
128
135
|
|
|
136
|
+
if m.get('totalUsage') is not None:
|
|
137
|
+
temp_model = main_models.ModelUsage()
|
|
138
|
+
self.total_usage = temp_model.from_map(m.get('totalUsage'))
|
|
139
|
+
|
|
129
140
|
return self
|
|
130
141
|
|
|
131
142
|
class GetEssayCorrectionTaskResponseBodyDataResults(DaraModel):
|
|
@@ -134,14 +145,17 @@ class GetEssayCorrectionTaskResponseBodyDataResults(DaraModel):
|
|
|
134
145
|
custom_id: str = None,
|
|
135
146
|
result: str = None,
|
|
136
147
|
score: int = None,
|
|
148
|
+
usage: main_models.ModelUsage = None,
|
|
137
149
|
):
|
|
138
150
|
# xxx
|
|
139
151
|
self.custom_id = custom_id
|
|
140
152
|
self.result = result
|
|
141
153
|
self.score = score
|
|
154
|
+
self.usage = usage
|
|
142
155
|
|
|
143
156
|
def validate(self):
|
|
144
|
-
|
|
157
|
+
if self.usage:
|
|
158
|
+
self.usage.validate()
|
|
145
159
|
|
|
146
160
|
def to_map(self):
|
|
147
161
|
result = dict()
|
|
@@ -157,6 +171,9 @@ class GetEssayCorrectionTaskResponseBodyDataResults(DaraModel):
|
|
|
157
171
|
if self.score is not None:
|
|
158
172
|
result['score'] = self.score
|
|
159
173
|
|
|
174
|
+
if self.usage is not None:
|
|
175
|
+
result['usage'] = self.usage.to_map()
|
|
176
|
+
|
|
160
177
|
return result
|
|
161
178
|
|
|
162
179
|
def from_map(self, m: dict = None):
|
|
@@ -170,5 +187,9 @@ class GetEssayCorrectionTaskResponseBodyDataResults(DaraModel):
|
|
|
170
187
|
if m.get('score') is not None:
|
|
171
188
|
self.score = m.get('score')
|
|
172
189
|
|
|
190
|
+
if m.get('usage') is not None:
|
|
191
|
+
temp_model = main_models.ModelUsage()
|
|
192
|
+
self.usage = temp_model.from_map(m.get('usage'))
|
|
193
|
+
|
|
173
194
|
return self
|
|
174
195
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ModelUsage(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
input_tokens: int = None,
|
|
11
|
+
output_tokens: int = None,
|
|
12
|
+
total_tokens: int = None,
|
|
13
|
+
):
|
|
14
|
+
self.input_tokens = input_tokens
|
|
15
|
+
self.output_tokens = output_tokens
|
|
16
|
+
self.total_tokens = total_tokens
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.input_tokens is not None:
|
|
27
|
+
result['inputTokens'] = self.input_tokens
|
|
28
|
+
|
|
29
|
+
if self.output_tokens is not None:
|
|
30
|
+
result['outputTokens'] = self.output_tokens
|
|
31
|
+
|
|
32
|
+
if self.total_tokens is not None:
|
|
33
|
+
result['totalTokens'] = self.total_tokens
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('inputTokens') is not None:
|
|
40
|
+
self.input_tokens = m.get('inputTokens')
|
|
41
|
+
|
|
42
|
+
if m.get('outputTokens') is not None:
|
|
43
|
+
self.output_tokens = m.get('outputTokens')
|
|
44
|
+
|
|
45
|
+
if m.get('totalTokens') is not None:
|
|
46
|
+
self.total_tokens = m.get('totalTokens')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -33,6 +33,7 @@ class RunVideoAnalysisRequest(DaraModel):
|
|
|
33
33
|
video_roles: List[main_models.RunVideoAnalysisRequestVideoRoles] = None,
|
|
34
34
|
video_shot_face_identity_count: int = None,
|
|
35
35
|
video_url: str = None,
|
|
36
|
+
video_urls: List[str] = None,
|
|
36
37
|
):
|
|
37
38
|
self.add_document_param = add_document_param
|
|
38
39
|
self.auto_role_recognition_video_url = auto_role_recognition_video_url
|
|
@@ -57,6 +58,7 @@ class RunVideoAnalysisRequest(DaraModel):
|
|
|
57
58
|
self.video_roles = video_roles
|
|
58
59
|
self.video_shot_face_identity_count = video_shot_face_identity_count
|
|
59
60
|
self.video_url = video_url
|
|
61
|
+
self.video_urls = video_urls
|
|
60
62
|
|
|
61
63
|
def validate(self):
|
|
62
64
|
if self.add_document_param:
|
|
@@ -152,6 +154,9 @@ class RunVideoAnalysisRequest(DaraModel):
|
|
|
152
154
|
if self.video_url is not None:
|
|
153
155
|
result['videoUrl'] = self.video_url
|
|
154
156
|
|
|
157
|
+
if self.video_urls is not None:
|
|
158
|
+
result['videoUrls'] = self.video_urls
|
|
159
|
+
|
|
155
160
|
return result
|
|
156
161
|
|
|
157
162
|
def from_map(self, m: dict = None):
|
|
@@ -234,6 +239,9 @@ class RunVideoAnalysisRequest(DaraModel):
|
|
|
234
239
|
if m.get('videoUrl') is not None:
|
|
235
240
|
self.video_url = m.get('videoUrl')
|
|
236
241
|
|
|
242
|
+
if m.get('videoUrls') is not None:
|
|
243
|
+
self.video_urls = m.get('videoUrls')
|
|
244
|
+
|
|
237
245
|
return self
|
|
238
246
|
|
|
239
247
|
class RunVideoAnalysisRequestVideoRoles(DaraModel):
|
|
@@ -30,6 +30,7 @@ class RunVideoAnalysisShrinkRequest(DaraModel):
|
|
|
30
30
|
video_roles_shrink: str = None,
|
|
31
31
|
video_shot_face_identity_count: int = None,
|
|
32
32
|
video_url: str = None,
|
|
33
|
+
video_urls_shrink: str = None,
|
|
33
34
|
):
|
|
34
35
|
self.add_document_param_shrink = add_document_param_shrink
|
|
35
36
|
self.auto_role_recognition_video_url = auto_role_recognition_video_url
|
|
@@ -54,6 +55,7 @@ class RunVideoAnalysisShrinkRequest(DaraModel):
|
|
|
54
55
|
self.video_roles_shrink = video_roles_shrink
|
|
55
56
|
self.video_shot_face_identity_count = video_shot_face_identity_count
|
|
56
57
|
self.video_url = video_url
|
|
58
|
+
self.video_urls_shrink = video_urls_shrink
|
|
57
59
|
|
|
58
60
|
def validate(self):
|
|
59
61
|
pass
|
|
@@ -132,6 +134,9 @@ class RunVideoAnalysisShrinkRequest(DaraModel):
|
|
|
132
134
|
if self.video_url is not None:
|
|
133
135
|
result['videoUrl'] = self.video_url
|
|
134
136
|
|
|
137
|
+
if self.video_urls_shrink is not None:
|
|
138
|
+
result['videoUrls'] = self.video_urls_shrink
|
|
139
|
+
|
|
135
140
|
return result
|
|
136
141
|
|
|
137
142
|
def from_map(self, m: dict = None):
|
|
@@ -205,5 +210,8 @@ class RunVideoAnalysisShrinkRequest(DaraModel):
|
|
|
205
210
|
if m.get('videoUrl') is not None:
|
|
206
211
|
self.video_url = m.get('videoUrl')
|
|
207
212
|
|
|
213
|
+
if m.get('videoUrls') is not None:
|
|
214
|
+
self.video_urls_shrink = m.get('videoUrls')
|
|
215
|
+
|
|
208
216
|
return self
|
|
209
217
|
|
|
@@ -32,6 +32,7 @@ class SubmitVideoAnalysisTaskRequest(DaraModel):
|
|
|
32
32
|
video_roles: List[main_models.SubmitVideoAnalysisTaskRequestVideoRoles] = None,
|
|
33
33
|
video_shot_face_identity_count: int = None,
|
|
34
34
|
video_url: str = None,
|
|
35
|
+
video_urls: List[str] = None,
|
|
35
36
|
):
|
|
36
37
|
self.add_document_param = add_document_param
|
|
37
38
|
self.auto_role_recognition_video_url = auto_role_recognition_video_url
|
|
@@ -54,8 +55,8 @@ class SubmitVideoAnalysisTaskRequest(DaraModel):
|
|
|
54
55
|
self.video_model_id = video_model_id
|
|
55
56
|
self.video_roles = video_roles
|
|
56
57
|
self.video_shot_face_identity_count = video_shot_face_identity_count
|
|
57
|
-
# This parameter is required.
|
|
58
58
|
self.video_url = video_url
|
|
59
|
+
self.video_urls = video_urls
|
|
59
60
|
|
|
60
61
|
def validate(self):
|
|
61
62
|
if self.add_document_param:
|
|
@@ -148,6 +149,9 @@ class SubmitVideoAnalysisTaskRequest(DaraModel):
|
|
|
148
149
|
if self.video_url is not None:
|
|
149
150
|
result['videoUrl'] = self.video_url
|
|
150
151
|
|
|
152
|
+
if self.video_urls is not None:
|
|
153
|
+
result['videoUrls'] = self.video_urls
|
|
154
|
+
|
|
151
155
|
return result
|
|
152
156
|
|
|
153
157
|
def from_map(self, m: dict = None):
|
|
@@ -227,6 +231,9 @@ class SubmitVideoAnalysisTaskRequest(DaraModel):
|
|
|
227
231
|
if m.get('videoUrl') is not None:
|
|
228
232
|
self.video_url = m.get('videoUrl')
|
|
229
233
|
|
|
234
|
+
if m.get('videoUrls') is not None:
|
|
235
|
+
self.video_urls = m.get('videoUrls')
|
|
236
|
+
|
|
230
237
|
return self
|
|
231
238
|
|
|
232
239
|
class SubmitVideoAnalysisTaskRequestVideoRoles(DaraModel):
|
|
@@ -29,6 +29,7 @@ class SubmitVideoAnalysisTaskShrinkRequest(DaraModel):
|
|
|
29
29
|
video_roles_shrink: str = None,
|
|
30
30
|
video_shot_face_identity_count: int = None,
|
|
31
31
|
video_url: str = None,
|
|
32
|
+
video_urls_shrink: str = None,
|
|
32
33
|
):
|
|
33
34
|
self.add_document_param_shrink = add_document_param_shrink
|
|
34
35
|
self.auto_role_recognition_video_url = auto_role_recognition_video_url
|
|
@@ -51,8 +52,8 @@ class SubmitVideoAnalysisTaskShrinkRequest(DaraModel):
|
|
|
51
52
|
self.video_model_id = video_model_id
|
|
52
53
|
self.video_roles_shrink = video_roles_shrink
|
|
53
54
|
self.video_shot_face_identity_count = video_shot_face_identity_count
|
|
54
|
-
# This parameter is required.
|
|
55
55
|
self.video_url = video_url
|
|
56
|
+
self.video_urls_shrink = video_urls_shrink
|
|
56
57
|
|
|
57
58
|
def validate(self):
|
|
58
59
|
pass
|
|
@@ -128,6 +129,9 @@ class SubmitVideoAnalysisTaskShrinkRequest(DaraModel):
|
|
|
128
129
|
if self.video_url is not None:
|
|
129
130
|
result['videoUrl'] = self.video_url
|
|
130
131
|
|
|
132
|
+
if self.video_urls_shrink is not None:
|
|
133
|
+
result['videoUrls'] = self.video_urls_shrink
|
|
134
|
+
|
|
131
135
|
return result
|
|
132
136
|
|
|
133
137
|
def from_map(self, m: dict = None):
|
|
@@ -198,5 +202,8 @@ class SubmitVideoAnalysisTaskShrinkRequest(DaraModel):
|
|
|
198
202
|
if m.get('videoUrl') is not None:
|
|
199
203
|
self.video_url = m.get('videoUrl')
|
|
200
204
|
|
|
205
|
+
if m.get('videoUrls') is not None:
|
|
206
|
+
self.video_urls_shrink = m.get('videoUrls')
|
|
207
|
+
|
|
201
208
|
return self
|
|
202
209
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-quanmiaolightapp20240801
|
|
3
|
-
Version: 2.13.
|
|
3
|
+
Version: 2.13.5
|
|
4
4
|
Summary: Alibaba Cloud QuanMiaoLightApp (20240801) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -23,7 +23,7 @@ Classifier: Topic :: Software Development
|
|
|
23
23
|
Requires-Python: >=3.7
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.3)
|
|
27
27
|
Requires-Dist: darabonba-core (<2.0.0,>=1.0.0)
|
|
28
28
|
|
|
29
29
|
English | [简体中文](README-CN.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256=
|
|
2
|
-
alibabacloud_quanmiaolightapp20240801/client.py,sha256=
|
|
3
|
-
alibabacloud_quanmiaolightapp20240801/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256=4KkHDFWnyEVIFfq-O55roHhJ9P1FtCrJBR2bmBf160I,22
|
|
2
|
+
alibabacloud_quanmiaolightapp20240801/client.py,sha256=5X_7eJiqTxcxmdPgJx43HFFrFzqgdift4l4n1XU05cs,270479
|
|
3
|
+
alibabacloud_quanmiaolightapp20240801/models/__init__.py,sha256=uabmLAPl7Ni32SkW0_43jyi463BSNn-GpCEYyDvEHrk,50025
|
|
4
4
|
alibabacloud_quanmiaolightapp20240801/models/_cancel_async_task_request.py,sha256=tvPCt8NyWiQTk02f2ybBS1xVGRoBuG4zo45IJmn_a_o,739
|
|
5
5
|
alibabacloud_quanmiaolightapp20240801/models/_cancel_async_task_response.py,sha256=zk3UG3omCfmExnKvD9PzopOGQ2Eeey9Deak9z6crSLY,1490
|
|
6
6
|
alibabacloud_quanmiaolightapp20240801/models/_cancel_async_task_response_body.py,sha256=E2eLi3h2k705N--_93lC6F04mjvQkXDUgn4hkORawW0,1967
|
|
@@ -20,7 +20,7 @@ alibabacloud_quanmiaolightapp20240801/models/_get_enterprise_voc_analysis_task_r
|
|
|
20
20
|
alibabacloud_quanmiaolightapp20240801/models/_get_enterprise_voc_analysis_task_response_body.py,sha256=FAC3afJzTlu2e__OaRPc1XGjfDEpZ7JX8O2EvdIEeFA,12464
|
|
21
21
|
alibabacloud_quanmiaolightapp20240801/models/_get_essay_correction_task_request.py,sha256=jTZV7vvEVP1XJGZC0TDRwhZfUc2v5lkP4wqAov1-OrY,746
|
|
22
22
|
alibabacloud_quanmiaolightapp20240801/models/_get_essay_correction_task_response.py,sha256=Y-OLluvF2C_RRFj5YCJw0N2RCI0JhERBSi6JETHsiKc,1511
|
|
23
|
-
alibabacloud_quanmiaolightapp20240801/models/_get_essay_correction_task_response_body.py,sha256=
|
|
23
|
+
alibabacloud_quanmiaolightapp20240801/models/_get_essay_correction_task_response_body.py,sha256=VJROJO-T-o3RA34RpLyMFwA7gcS9opraqDhWM8W8apg,5658
|
|
24
24
|
alibabacloud_quanmiaolightapp20240801/models/_get_file_content_request.py,sha256=q3rNqn8EOrd2JvsoO28dzQSBnYPAHtY_d-P3U0rnjQ4,747
|
|
25
25
|
alibabacloud_quanmiaolightapp20240801/models/_get_file_content_response.py,sha256=5cKqlKvkb1SvUqjuLyMUFIc-VqvMj-qCgSNR8B4gpow,1487
|
|
26
26
|
alibabacloud_quanmiaolightapp20240801/models/_get_file_content_response_body.py,sha256=cp0IPJ9LIeXbueyX4b7rScdODRiNuweG580BHnOKErg,2814
|
|
@@ -46,6 +46,7 @@ alibabacloud_quanmiaolightapp20240801/models/_list_analysis_tag_detail_by_task_i
|
|
|
46
46
|
alibabacloud_quanmiaolightapp20240801/models/_list_hot_topic_summaries_request.py,sha256=FDOkEDOt9ecyxxrWSbKDW3OSN2xkyZ9glC0WZy8GdQs,1829
|
|
47
47
|
alibabacloud_quanmiaolightapp20240801/models/_list_hot_topic_summaries_response.py,sha256=5x0X6WbNd6Lv8WjvG3qjl1QXsOvl2tw3ISvv4fn9QEs,1508
|
|
48
48
|
alibabacloud_quanmiaolightapp20240801/models/_list_hot_topic_summaries_response_body.py,sha256=dHT24IJVd3HKMcSHBaxfjoAzv9nTu3mRL08duF9XJfg,10604
|
|
49
|
+
alibabacloud_quanmiaolightapp20240801/models/_model_usage.py,sha256=ynSfw3OM5w2_ez-ksr7RQv5qLfunTRtmtrJ5by9rMSA,1323
|
|
49
50
|
alibabacloud_quanmiaolightapp20240801/models/_run_enterprise_voc_analysis_request.py,sha256=gsdRLzqC0t-kNVJTc-DZoqzorh3Hkxf4z8pyITvGQhM,6244
|
|
50
51
|
alibabacloud_quanmiaolightapp20240801/models/_run_enterprise_voc_analysis_response.py,sha256=Ok9PhCZF8_eVfvXBS9KCfai6gGkPrNW8sQusQ7PPNyk,1517
|
|
51
52
|
alibabacloud_quanmiaolightapp20240801/models/_run_enterprise_voc_analysis_response_body.py,sha256=zT1dI45F6mljE8siNTJGvE95spglM65kbcrMltGDGs8,9809
|
|
@@ -95,10 +96,10 @@ alibabacloud_quanmiaolightapp20240801/models/_run_tag_mining_analysis_request.py
|
|
|
95
96
|
alibabacloud_quanmiaolightapp20240801/models/_run_tag_mining_analysis_response.py,sha256=XqKsiuJiWBlWSNIzCx1BLGZAJ7HtN7ywVLQXBqAy8Ao,1505
|
|
96
97
|
alibabacloud_quanmiaolightapp20240801/models/_run_tag_mining_analysis_response_body.py,sha256=AVZLntU2eAz5CrBc3pTtoErvddunvH7T6drWjamdKB0,6614
|
|
97
98
|
alibabacloud_quanmiaolightapp20240801/models/_run_tag_mining_analysis_shrink_request.py,sha256=KEbTFqtxzyXsgxz2m8g3oEE1f4mFVh-DdOQrUeQ4nww,2616
|
|
98
|
-
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_request.py,sha256=
|
|
99
|
+
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_request.py,sha256=g_Lq6fnvfHct0ag-PCHkfvWYvWHpGh-sAVkgD3OlK_M,20627
|
|
99
100
|
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_response.py,sha256=S__9iNcvgMKcQtxTSFgaKdIkwkiNkVDQwmHtE8oIMnY,1493
|
|
100
101
|
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_response_body.py,sha256=11FijNlF7P_iR1csH1zEs-4BEBLDLudosC0LfrNJT-o,54652
|
|
101
|
-
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_shrink_request.py,sha256=
|
|
102
|
+
alibabacloud_quanmiaolightapp20240801/models/_run_video_analysis_shrink_request.py,sha256=TjgX_nHeWRHORnmZKDSMTvB36eEGNFZz5M3oK1YJuaQ,8696
|
|
102
103
|
alibabacloud_quanmiaolightapp20240801/models/_run_video_detect_shot_request.py,sha256=e6MYUDeA0oD7UY9eGr5lIzTrBhEvp5z1kZhTshXZHZM,4890
|
|
103
104
|
alibabacloud_quanmiaolightapp20240801/models/_run_video_detect_shot_response.py,sha256=ATx4Ua3VuhjoM2OC23qrF3--oekfJwtAYQBEYtMyHyY,1499
|
|
104
105
|
alibabacloud_quanmiaolightapp20240801/models/_run_video_detect_shot_response_body.py,sha256=XvZZeSV1I_NjYRbY6MDqrjdfan3SEGpyPren11jbxpw,10820
|
|
@@ -115,10 +116,10 @@ alibabacloud_quanmiaolightapp20240801/models/_submit_tag_mining_analysis_task_re
|
|
|
115
116
|
alibabacloud_quanmiaolightapp20240801/models/_submit_tag_mining_analysis_task_response.py,sha256=L9oJMHvg3ORqhxRubbCSLd_GJfbeYm72XmyM7WRQ8fQ,1526
|
|
116
117
|
alibabacloud_quanmiaolightapp20240801/models/_submit_tag_mining_analysis_task_response_body.py,sha256=vk7XnDRC6o74_L-v59w4vk76G1i8GswzfkAfJDGmRbM,2864
|
|
117
118
|
alibabacloud_quanmiaolightapp20240801/models/_submit_tag_mining_analysis_task_shrink_request.py,sha256=fGHGFFhJjZFmWqsHRH5cQrxDtNkpWn27DTeL5pX4344,2829
|
|
118
|
-
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_request.py,sha256=
|
|
119
|
+
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_request.py,sha256=0fx84CWeAazfRJqa2vJIPgrIEebfo89pUb4_ekqYtgA,20552
|
|
119
120
|
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_response.py,sha256=D-zRcI7OlpJVPn9YT3_ZPSR76iOCjosTJK-yN3kxZ2Q,1514
|
|
120
121
|
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_response_body.py,sha256=XwK4HyrP0S0vcUYziIistXuXUHUTA9Hqs8I_nz1yfpA,2820
|
|
121
|
-
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_shrink_request.py,sha256=
|
|
122
|
+
alibabacloud_quanmiaolightapp20240801/models/_submit_video_analysis_task_shrink_request.py,sha256=bw7T3g4B3LcMsX0CZGGU7-5SWpTvMzG9jMZ2aIlEdkI,8453
|
|
122
123
|
alibabacloud_quanmiaolightapp20240801/models/_submit_video_detect_shot_task_request.py,sha256=Wjq7bR5DUx_wLlzFFjYFJiRiwXWORWFSCrdrMFg_x3g,5128
|
|
123
124
|
alibabacloud_quanmiaolightapp20240801/models/_submit_video_detect_shot_task_response.py,sha256=w1xa5cKpqlBIXLHEvp2sIPn79qbCTxlSTFqiI7T2qbk,1520
|
|
124
125
|
alibabacloud_quanmiaolightapp20240801/models/_submit_video_detect_shot_task_response_body.py,sha256=qPcP_32_o5e3o9xBXoaWS2_285QiiRICnDVFkVphFkA,2856
|
|
@@ -139,8 +140,8 @@ alibabacloud_quanmiaolightapp20240801/models/_update_video_detect_shot_config_re
|
|
|
139
140
|
alibabacloud_quanmiaolightapp20240801/models/_update_video_detect_shot_task_request.py,sha256=bkooRwUJMgEVYBqnfFN8eNU71TnjEZB1yJjL_9MSSAE,1087
|
|
140
141
|
alibabacloud_quanmiaolightapp20240801/models/_update_video_detect_shot_task_response.py,sha256=C53t0BHTwXF_roqwqv6WsLKzTcgqKPPq1LQt4Ipw0u4,1520
|
|
141
142
|
alibabacloud_quanmiaolightapp20240801/models/_update_video_detect_shot_task_response_body.py,sha256=OwrmqAyijNdnACjoPim2G5ZYMkREKBRRgbKK2AWrFpU,3440
|
|
142
|
-
alibabacloud_quanmiaolightapp20240801-2.13.
|
|
143
|
-
alibabacloud_quanmiaolightapp20240801-2.13.
|
|
144
|
-
alibabacloud_quanmiaolightapp20240801-2.13.
|
|
145
|
-
alibabacloud_quanmiaolightapp20240801-2.13.
|
|
146
|
-
alibabacloud_quanmiaolightapp20240801-2.13.
|
|
143
|
+
alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
144
|
+
alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info/METADATA,sha256=ylDMQTLI9deKircxHS-Ks_ePwJv7r-gCFe6POB5FUII,2381
|
|
145
|
+
alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
146
|
+
alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info/top_level.txt,sha256=8OeD8NiIhtrm1c4lX_9fGb1YEX3tX01Q8FcLZMKbXlE,38
|
|
147
|
+
alibabacloud_quanmiaolightapp20240801-2.13.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|