alibabacloud-quanmiaolightapp20240801 2.13.3__py3-none-any.whl → 2.13.4__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/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-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info}/METADATA +1 -1
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info}/RECORD +9 -8
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info}/LICENSE +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info}/WHEEL +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.13.3.dist-info → alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.13.
|
|
1
|
+
__version__ = '2.13.4'
|
|
@@ -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
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-quanmiaolightapp20240801
|
|
3
|
-
Version: 2.13.
|
|
3
|
+
Version: 2.13.4
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256
|
|
1
|
+
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256=-pLr7GWI2MgtnSbYA_sCKbHMWuW1HM1V7vEMdzAFgaM,22
|
|
2
2
|
alibabacloud_quanmiaolightapp20240801/client.py,sha256=WAKeF1zm7sm4jBoPKaFEqyCwLiYjXe1Kx7YLfVFMsZk,268709
|
|
3
|
-
alibabacloud_quanmiaolightapp20240801/models/__init__.py,sha256=
|
|
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
|
|
@@ -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.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
144
|
+
alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info/METADATA,sha256=uXL1gskQ-XgJCnWn06jhNeN2XWsjrZSJTPEXYnajXWI,2381
|
|
145
|
+
alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
146
|
+
alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info/top_level.txt,sha256=8OeD8NiIhtrm1c4lX_9fGb1YEX3tX01Q8FcLZMKbXlE,38
|
|
147
|
+
alibabacloud_quanmiaolightapp20240801-2.13.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|