tencentcloud-sdk-python-iotexplorer 3.1.148__tar.gz → 3.1.157__tar.gz
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.
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/v20190423/models.py +157 -114
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.157/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.148/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.157
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.148 → tencentcloud_sdk_python_iotexplorer-3.1.157}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.157,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -110,6 +110,9 @@ FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONALREADYEXISTS = 'FailedOperation.SeePrePai
|
|
|
110
110
|
# 该设备已开通的 TWeSee 算法预付费订阅与正在开通的 ServiceType 冲突
|
|
111
111
|
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONCONFLICTS = 'FailedOperation.SeePrePaidSubscriptionConflicts'
|
|
112
112
|
|
|
113
|
+
# TWeSee 预付费订阅开通时长超过上限
|
|
114
|
+
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONDURATIONEXCEEDED = 'FailedOperation.SeePrePaidSubscriptionDurationExceeded'
|
|
115
|
+
|
|
113
116
|
# TWeSee 预付费订阅生效时长不能超过已开通云存套餐的生效时长
|
|
114
117
|
FAILEDOPERATION_SEEPREPAIDSUBSCRIPTIONENDTIMEEXCEEDED = 'FailedOperation.SeePrePaidSubscriptionEndTimeExceeded'
|
|
115
118
|
|
|
@@ -7599,6 +7599,8 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7599
7599
|
:type StorageRegion: str
|
|
7600
7600
|
:param _UploadMethod: <p>上传方式</p><p>枚举值:</p><ul><li>single: 单文件上传</li><li>manifest: 上传源文件与 Manifest(先上传多个源文件,然后上传 Manifest JSON 触发分析)</li></ul><p>默认值:single</p>
|
|
7601
7601
|
:type UploadMethod: str
|
|
7602
|
+
:param _UploadTarget: <p>上传目标</p><p>枚举值:</p><ul><li>session: 一次性上传会话(默认,通过入参传递 ComprehensionConfig 等上传参数)</li><li>stream: 上传到指定设备(加载对应设备的 ComprehensionConfig 等配置)</li></ul><p>默认值:session</p>
|
|
7603
|
+
:type UploadTarget: str
|
|
7602
7604
|
"""
|
|
7603
7605
|
self._ProductId = None
|
|
7604
7606
|
self._DeviceName = None
|
|
@@ -7611,6 +7613,7 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7611
7613
|
self._MaxInvokeCount = None
|
|
7612
7614
|
self._StorageRegion = None
|
|
7613
7615
|
self._UploadMethod = None
|
|
7616
|
+
self._UploadTarget = None
|
|
7614
7617
|
|
|
7615
7618
|
@property
|
|
7616
7619
|
def ProductId(self):
|
|
@@ -7733,6 +7736,17 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7733
7736
|
def UploadMethod(self, UploadMethod):
|
|
7734
7737
|
self._UploadMethod = UploadMethod
|
|
7735
7738
|
|
|
7739
|
+
@property
|
|
7740
|
+
def UploadTarget(self):
|
|
7741
|
+
r"""<p>上传目标</p><p>枚举值:</p><ul><li>session: 一次性上传会话(默认,通过入参传递 ComprehensionConfig 等上传参数)</li><li>stream: 上传到指定设备(加载对应设备的 ComprehensionConfig 等配置)</li></ul><p>默认值:session</p>
|
|
7742
|
+
:rtype: str
|
|
7743
|
+
"""
|
|
7744
|
+
return self._UploadTarget
|
|
7745
|
+
|
|
7746
|
+
@UploadTarget.setter
|
|
7747
|
+
def UploadTarget(self, UploadTarget):
|
|
7748
|
+
self._UploadTarget = UploadTarget
|
|
7749
|
+
|
|
7736
7750
|
|
|
7737
7751
|
def _deserialize(self, params):
|
|
7738
7752
|
self._ProductId = params.get("ProductId")
|
|
@@ -7748,6 +7762,7 @@ class CreateTWeSeeDirectUploadCredentialRequest(AbstractModel):
|
|
|
7748
7762
|
self._MaxInvokeCount = params.get("MaxInvokeCount")
|
|
7749
7763
|
self._StorageRegion = params.get("StorageRegion")
|
|
7750
7764
|
self._UploadMethod = params.get("UploadMethod")
|
|
7765
|
+
self._UploadTarget = params.get("UploadTarget")
|
|
7751
7766
|
memeber_set = set(params.keys())
|
|
7752
7767
|
for name, value in vars(self).items():
|
|
7753
7768
|
property_name = name[1:]
|
|
@@ -32174,42 +32189,30 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32174
32189
|
|
|
32175
32190
|
def __init__(self):
|
|
32176
32191
|
r"""
|
|
32177
|
-
:param _ProductId:
|
|
32192
|
+
:param _ProductId: <p>产品 ID</p>
|
|
32178
32193
|
:type ProductId: str
|
|
32179
|
-
:param _DeviceName:
|
|
32194
|
+
:param _DeviceName: <p>设备名称</p>
|
|
32180
32195
|
:type DeviceName: str
|
|
32181
|
-
:param _ServiceCategory:
|
|
32182
|
-
- `COMPREHENSION`:视觉理解
|
|
32183
|
-
- `HIGHLIGHT`:视频浓缩
|
|
32196
|
+
:param _ServiceCategory: <p>算法类目。可选值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32184
32197
|
:type ServiceCategory: str
|
|
32185
|
-
:param _Limit:
|
|
32198
|
+
:param _Limit: <p>分页拉取数量</p>
|
|
32186
32199
|
:type Limit: int
|
|
32187
|
-
:param _Offset:
|
|
32200
|
+
:param _Offset: <p>分页拉取偏移</p>
|
|
32188
32201
|
:type Offset: int
|
|
32189
|
-
:param _ServiceTypes:
|
|
32190
|
-
|
|
32191
|
-
当 ServiceCategory 为 `COMPREHENSION` 时,可选值包括:
|
|
32192
|
-
- `VID_COMP`:视频理解
|
|
32193
|
-
- `IMG_COMP`:图片理解
|
|
32194
|
-
- `CONT_PERSON_MOTIONLESS`:静姿检测
|
|
32195
|
-
|
|
32196
|
-
当 ServiceCategory 为 `HIGHLIGHT` 时,可选值包括:
|
|
32197
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
32202
|
+
:param _ServiceTypes: <p>算法类型。</p><p>当 ServiceCategory 为 <code>COMPREHENSION</code> 时,可选值包括:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>CONT_PERSON_MOTIONLESS</code>:静姿检测</li></ul><p>当 ServiceCategory 为 <code>HIGHLIGHT</code> 时,可选值包括:</p><ul><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32198
32203
|
:type ServiceTypes: list of str
|
|
32199
|
-
:param _ChannelId:
|
|
32204
|
+
:param _ChannelId: <p>通道 ID</p>
|
|
32200
32205
|
:type ChannelId: int
|
|
32201
|
-
:param _StartTimeMs:
|
|
32206
|
+
:param _StartTimeMs: <p>查询任务时间范围的起始时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32202
32207
|
:type StartTimeMs: int
|
|
32203
|
-
:param _EndTimeMs:
|
|
32208
|
+
:param _EndTimeMs: <p>查询任务时间范围的结束时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32204
32209
|
:type EndTimeMs: int
|
|
32205
|
-
:param _Status:
|
|
32206
|
-
|
|
32207
|
-
- `1`:失败
|
|
32208
|
-
- `2`:空结果
|
|
32209
|
-
- `3`:有效结果
|
|
32210
|
+
:param _Status: <p>要查询的任务的状态条件。不传则不按照状态过滤,可选值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li></ul>
|
|
32210
32211
|
:type Status: int
|
|
32211
|
-
:param _FileURLExpireTime:
|
|
32212
|
+
:param _FileURLExpireTime: <p>下载 URL 的过期时间(秒级 UNIX 时间戳)。若传入该参数,则响应中将包含所有文件的下载 URL</p>
|
|
32212
32213
|
:type FileURLExpireTime: int
|
|
32214
|
+
:param _Filters: <p>任务结果过滤条件</p>
|
|
32215
|
+
:type Filters: list of VisionRecognitionTaskFilter
|
|
32213
32216
|
"""
|
|
32214
32217
|
self._ProductId = None
|
|
32215
32218
|
self._DeviceName = None
|
|
@@ -32222,10 +32225,11 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32222
32225
|
self._EndTimeMs = None
|
|
32223
32226
|
self._Status = None
|
|
32224
32227
|
self._FileURLExpireTime = None
|
|
32228
|
+
self._Filters = None
|
|
32225
32229
|
|
|
32226
32230
|
@property
|
|
32227
32231
|
def ProductId(self):
|
|
32228
|
-
r"""
|
|
32232
|
+
r"""<p>产品 ID</p>
|
|
32229
32233
|
:rtype: str
|
|
32230
32234
|
"""
|
|
32231
32235
|
return self._ProductId
|
|
@@ -32236,7 +32240,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32236
32240
|
|
|
32237
32241
|
@property
|
|
32238
32242
|
def DeviceName(self):
|
|
32239
|
-
r"""
|
|
32243
|
+
r"""<p>设备名称</p>
|
|
32240
32244
|
:rtype: str
|
|
32241
32245
|
"""
|
|
32242
32246
|
return self._DeviceName
|
|
@@ -32247,9 +32251,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32247
32251
|
|
|
32248
32252
|
@property
|
|
32249
32253
|
def ServiceCategory(self):
|
|
32250
|
-
r"""
|
|
32251
|
-
- `COMPREHENSION`:视觉理解
|
|
32252
|
-
- `HIGHLIGHT`:视频浓缩
|
|
32254
|
+
r"""<p>算法类目。可选值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32253
32255
|
:rtype: str
|
|
32254
32256
|
"""
|
|
32255
32257
|
return self._ServiceCategory
|
|
@@ -32260,7 +32262,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32260
32262
|
|
|
32261
32263
|
@property
|
|
32262
32264
|
def Limit(self):
|
|
32263
|
-
r"""
|
|
32265
|
+
r"""<p>分页拉取数量</p>
|
|
32264
32266
|
:rtype: int
|
|
32265
32267
|
"""
|
|
32266
32268
|
return self._Limit
|
|
@@ -32271,7 +32273,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32271
32273
|
|
|
32272
32274
|
@property
|
|
32273
32275
|
def Offset(self):
|
|
32274
|
-
r"""
|
|
32276
|
+
r"""<p>分页拉取偏移</p>
|
|
32275
32277
|
:rtype: int
|
|
32276
32278
|
"""
|
|
32277
32279
|
return self._Offset
|
|
@@ -32282,15 +32284,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32282
32284
|
|
|
32283
32285
|
@property
|
|
32284
32286
|
def ServiceTypes(self):
|
|
32285
|
-
r"""
|
|
32286
|
-
|
|
32287
|
-
当 ServiceCategory 为 `COMPREHENSION` 时,可选值包括:
|
|
32288
|
-
- `VID_COMP`:视频理解
|
|
32289
|
-
- `IMG_COMP`:图片理解
|
|
32290
|
-
- `CONT_PERSON_MOTIONLESS`:静姿检测
|
|
32291
|
-
|
|
32292
|
-
当 ServiceCategory 为 `HIGHLIGHT` 时,可选值包括:
|
|
32293
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
32287
|
+
r"""<p>算法类型。</p><p>当 ServiceCategory 为 <code>COMPREHENSION</code> 时,可选值包括:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>CONT_PERSON_MOTIONLESS</code>:静姿检测</li></ul><p>当 ServiceCategory 为 <code>HIGHLIGHT</code> 时,可选值包括:</p><ul><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
32294
32288
|
:rtype: list of str
|
|
32295
32289
|
"""
|
|
32296
32290
|
return self._ServiceTypes
|
|
@@ -32301,7 +32295,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32301
32295
|
|
|
32302
32296
|
@property
|
|
32303
32297
|
def ChannelId(self):
|
|
32304
|
-
r"""
|
|
32298
|
+
r"""<p>通道 ID</p>
|
|
32305
32299
|
:rtype: int
|
|
32306
32300
|
"""
|
|
32307
32301
|
return self._ChannelId
|
|
@@ -32312,7 +32306,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32312
32306
|
|
|
32313
32307
|
@property
|
|
32314
32308
|
def StartTimeMs(self):
|
|
32315
|
-
r"""
|
|
32309
|
+
r"""<p>查询任务时间范围的起始时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32316
32310
|
:rtype: int
|
|
32317
32311
|
"""
|
|
32318
32312
|
return self._StartTimeMs
|
|
@@ -32323,7 +32317,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32323
32317
|
|
|
32324
32318
|
@property
|
|
32325
32319
|
def EndTimeMs(self):
|
|
32326
|
-
r"""
|
|
32320
|
+
r"""<p>查询任务时间范围的结束时间(毫秒级 UNIX 时间戳)。不传则不生效时间范围条件。</p>
|
|
32327
32321
|
:rtype: int
|
|
32328
32322
|
"""
|
|
32329
32323
|
return self._EndTimeMs
|
|
@@ -32334,11 +32328,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32334
32328
|
|
|
32335
32329
|
@property
|
|
32336
32330
|
def Status(self):
|
|
32337
|
-
r"""
|
|
32338
|
-
|
|
32339
|
-
- `1`:失败
|
|
32340
|
-
- `2`:空结果
|
|
32341
|
-
- `3`:有效结果
|
|
32331
|
+
r"""<p>要查询的任务的状态条件。不传则不按照状态过滤,可选值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li></ul>
|
|
32342
32332
|
:rtype: int
|
|
32343
32333
|
"""
|
|
32344
32334
|
return self._Status
|
|
@@ -32349,7 +32339,7 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32349
32339
|
|
|
32350
32340
|
@property
|
|
32351
32341
|
def FileURLExpireTime(self):
|
|
32352
|
-
r"""
|
|
32342
|
+
r"""<p>下载 URL 的过期时间(秒级 UNIX 时间戳)。若传入该参数,则响应中将包含所有文件的下载 URL</p>
|
|
32353
32343
|
:rtype: int
|
|
32354
32344
|
"""
|
|
32355
32345
|
return self._FileURLExpireTime
|
|
@@ -32358,6 +32348,17 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32358
32348
|
def FileURLExpireTime(self, FileURLExpireTime):
|
|
32359
32349
|
self._FileURLExpireTime = FileURLExpireTime
|
|
32360
32350
|
|
|
32351
|
+
@property
|
|
32352
|
+
def Filters(self):
|
|
32353
|
+
r"""<p>任务结果过滤条件</p>
|
|
32354
|
+
:rtype: list of VisionRecognitionTaskFilter
|
|
32355
|
+
"""
|
|
32356
|
+
return self._Filters
|
|
32357
|
+
|
|
32358
|
+
@Filters.setter
|
|
32359
|
+
def Filters(self, Filters):
|
|
32360
|
+
self._Filters = Filters
|
|
32361
|
+
|
|
32361
32362
|
|
|
32362
32363
|
def _deserialize(self, params):
|
|
32363
32364
|
self._ProductId = params.get("ProductId")
|
|
@@ -32371,6 +32372,12 @@ class ListTWeSeeTasksRequest(AbstractModel):
|
|
|
32371
32372
|
self._EndTimeMs = params.get("EndTimeMs")
|
|
32372
32373
|
self._Status = params.get("Status")
|
|
32373
32374
|
self._FileURLExpireTime = params.get("FileURLExpireTime")
|
|
32375
|
+
if params.get("Filters") is not None:
|
|
32376
|
+
self._Filters = []
|
|
32377
|
+
for item in params.get("Filters"):
|
|
32378
|
+
obj = VisionRecognitionTaskFilter()
|
|
32379
|
+
obj._deserialize(item)
|
|
32380
|
+
self._Filters.append(obj)
|
|
32374
32381
|
memeber_set = set(params.keys())
|
|
32375
32382
|
for name, value in vars(self).items():
|
|
32376
32383
|
property_name = name[1:]
|
|
@@ -32388,9 +32395,9 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32388
32395
|
|
|
32389
32396
|
def __init__(self):
|
|
32390
32397
|
r"""
|
|
32391
|
-
:param _Tasks:
|
|
32398
|
+
:param _Tasks: <p>任务列表</p>
|
|
32392
32399
|
:type Tasks: list of SeeTaskInfo
|
|
32393
|
-
:param _Total:
|
|
32400
|
+
:param _Total: <p>任务数量</p>
|
|
32394
32401
|
:type Total: int
|
|
32395
32402
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32396
32403
|
:type RequestId: str
|
|
@@ -32401,7 +32408,7 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32401
32408
|
|
|
32402
32409
|
@property
|
|
32403
32410
|
def Tasks(self):
|
|
32404
|
-
r"""
|
|
32411
|
+
r"""<p>任务列表</p>
|
|
32405
32412
|
:rtype: list of SeeTaskInfo
|
|
32406
32413
|
"""
|
|
32407
32414
|
return self._Tasks
|
|
@@ -32412,7 +32419,7 @@ class ListTWeSeeTasksResponse(AbstractModel):
|
|
|
32412
32419
|
|
|
32413
32420
|
@property
|
|
32414
32421
|
def Total(self):
|
|
32415
|
-
r"""
|
|
32422
|
+
r"""<p>任务数量</p>
|
|
32416
32423
|
:rtype: int
|
|
32417
32424
|
"""
|
|
32418
32425
|
return self._Total
|
|
@@ -41259,51 +41266,38 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41259
41266
|
|
|
41260
41267
|
def __init__(self):
|
|
41261
41268
|
r"""
|
|
41262
|
-
:param _TaskId:
|
|
41269
|
+
:param _TaskId: <p>任务 ID</p>
|
|
41263
41270
|
:type TaskId: str
|
|
41264
|
-
:param _Status:
|
|
41265
|
-
|
|
41266
|
-
- `1`:失败
|
|
41267
|
-
- `2`:空结果
|
|
41268
|
-
- `3`:有效结果
|
|
41269
|
-
- `4`:处理中
|
|
41271
|
+
:param _Status: <p>任务状态。可能取值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li><li><code>4</code>:处理中</li></ul>
|
|
41270
41272
|
:type Status: int
|
|
41271
|
-
:param _Metadata:
|
|
41273
|
+
:param _Metadata: <p>任务元数据</p>
|
|
41272
41274
|
:type Metadata: :class:`tencentcloud.iotexplorer.v20190423.models.SeeTaskMetadata`
|
|
41273
|
-
:param _ServiceCategory:
|
|
41274
|
-
|
|
41275
|
-
- `COMPREHENSION`:视觉理解
|
|
41276
|
-
- `HIGHLIGHT`:视频浓缩
|
|
41275
|
+
:param _ServiceCategory: <p>算法类目。可能取值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41277
41276
|
:type ServiceCategory: str
|
|
41278
|
-
:param _ServiceType:
|
|
41279
|
-
|
|
41280
|
-
- `VID_COMP`:视频理解
|
|
41281
|
-
- `IMG_COMP`:图片理解
|
|
41282
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
41277
|
+
:param _ServiceType: <p>算法类型。可能取值:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41283
41278
|
:type ServiceType: str
|
|
41284
|
-
:param _ServiceTier:
|
|
41285
|
-
|
|
41286
|
-
- `POSTPAID`:后付费(适用于视频理解、图片理解)
|
|
41287
|
-
- `BASIC`:包年包月基础版(适用于视频理解)
|
|
41279
|
+
:param _ServiceTier: <p>套餐规格。可能取值:</p><ul><li><code>POSTPAID</code>:后付费(适用于视频理解、图片理解)</li><li><code>BASIC</code>:包年包月基础版(适用于视频理解)</li></ul>
|
|
41288
41280
|
:type ServiceTier: str
|
|
41289
|
-
:param _ComprehensionResult:
|
|
41281
|
+
:param _ComprehensionResult: <p>视觉理解结果(适用于视频理解、图片理解)</p>
|
|
41290
41282
|
:type ComprehensionResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionResult`
|
|
41291
|
-
:param _CompHighlightResult:
|
|
41283
|
+
:param _CompHighlightResult: <p>视频语义浓缩结果(适用于视频语义浓缩)</p>
|
|
41292
41284
|
:type CompHighlightResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeCompHighlightResult`
|
|
41293
|
-
:param _DetectContinuousResult:
|
|
41285
|
+
:param _DetectContinuousResult: <p>标签持续检测结果</p>
|
|
41294
41286
|
:type DetectContinuousResult: :class:`tencentcloud.iotexplorer.v20190423.models.SeeDetectContinuousResult`
|
|
41295
|
-
:param _CostBasic:
|
|
41287
|
+
:param _CostBasic: <p>完成该任务所消耗的基础能力额度</p>
|
|
41296
41288
|
:type CostBasic: int
|
|
41297
|
-
:param _CostAdvanced:
|
|
41289
|
+
:param _CostAdvanced: <p>完成该任务所消耗的高级能力额度</p>
|
|
41298
41290
|
:type CostAdvanced: int
|
|
41299
|
-
:param _Files:
|
|
41291
|
+
:param _Files: <p>输出文件名列表</p>
|
|
41300
41292
|
:type Files: list of str
|
|
41301
|
-
:param _FilesInfo:
|
|
41293
|
+
:param _FilesInfo: <p>输出文件详情列表</p>
|
|
41302
41294
|
:type FilesInfo: list of CloudStorageAIServiceTaskFileInfo
|
|
41303
|
-
:param _CreateTime:
|
|
41295
|
+
:param _CreateTime: <p>创建时间</p>
|
|
41304
41296
|
:type CreateTime: int
|
|
41305
|
-
:param _UpdateTime:
|
|
41297
|
+
:param _UpdateTime: <p>最后更新时间</p>
|
|
41306
41298
|
:type UpdateTime: int
|
|
41299
|
+
:param _COSURI: <p>直传 COS 的对象 URI</p>
|
|
41300
|
+
:type COSURI: str
|
|
41307
41301
|
"""
|
|
41308
41302
|
self._TaskId = None
|
|
41309
41303
|
self._Status = None
|
|
@@ -41320,10 +41314,11 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41320
41314
|
self._FilesInfo = None
|
|
41321
41315
|
self._CreateTime = None
|
|
41322
41316
|
self._UpdateTime = None
|
|
41317
|
+
self._COSURI = None
|
|
41323
41318
|
|
|
41324
41319
|
@property
|
|
41325
41320
|
def TaskId(self):
|
|
41326
|
-
r"""
|
|
41321
|
+
r"""<p>任务 ID</p>
|
|
41327
41322
|
:rtype: str
|
|
41328
41323
|
"""
|
|
41329
41324
|
return self._TaskId
|
|
@@ -41334,12 +41329,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41334
41329
|
|
|
41335
41330
|
@property
|
|
41336
41331
|
def Status(self):
|
|
41337
|
-
r"""
|
|
41338
|
-
|
|
41339
|
-
- `1`:失败
|
|
41340
|
-
- `2`:空结果
|
|
41341
|
-
- `3`:有效结果
|
|
41342
|
-
- `4`:处理中
|
|
41332
|
+
r"""<p>任务状态。可能取值:</p><ul><li><code>1</code>:失败</li><li><code>2</code>:空结果</li><li><code>3</code>:有效结果</li><li><code>4</code>:处理中</li></ul>
|
|
41343
41333
|
:rtype: int
|
|
41344
41334
|
"""
|
|
41345
41335
|
return self._Status
|
|
@@ -41350,7 +41340,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41350
41340
|
|
|
41351
41341
|
@property
|
|
41352
41342
|
def Metadata(self):
|
|
41353
|
-
r"""
|
|
41343
|
+
r"""<p>任务元数据</p>
|
|
41354
41344
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeTaskMetadata`
|
|
41355
41345
|
"""
|
|
41356
41346
|
return self._Metadata
|
|
@@ -41361,10 +41351,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41361
41351
|
|
|
41362
41352
|
@property
|
|
41363
41353
|
def ServiceCategory(self):
|
|
41364
|
-
r"""
|
|
41365
|
-
|
|
41366
|
-
- `COMPREHENSION`:视觉理解
|
|
41367
|
-
- `HIGHLIGHT`:视频浓缩
|
|
41354
|
+
r"""<p>算法类目。可能取值:</p><ul><li><code>COMPREHENSION</code>:视觉理解</li><li><code>HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41368
41355
|
:rtype: str
|
|
41369
41356
|
"""
|
|
41370
41357
|
return self._ServiceCategory
|
|
@@ -41375,11 +41362,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41375
41362
|
|
|
41376
41363
|
@property
|
|
41377
41364
|
def ServiceType(self):
|
|
41378
|
-
r"""
|
|
41379
|
-
|
|
41380
|
-
- `VID_COMP`:视频理解
|
|
41381
|
-
- `IMG_COMP`:图片理解
|
|
41382
|
-
- `COMP_HIGHLIGHT`:视频浓缩
|
|
41365
|
+
r"""<p>算法类型。可能取值:</p><ul><li><code>VID_COMP</code>:视频理解</li><li><code>IMG_COMP</code>:图片理解</li><li><code>COMP_HIGHLIGHT</code>:视频浓缩</li></ul>
|
|
41383
41366
|
:rtype: str
|
|
41384
41367
|
"""
|
|
41385
41368
|
return self._ServiceType
|
|
@@ -41390,10 +41373,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41390
41373
|
|
|
41391
41374
|
@property
|
|
41392
41375
|
def ServiceTier(self):
|
|
41393
|
-
r"""
|
|
41394
|
-
|
|
41395
|
-
- `POSTPAID`:后付费(适用于视频理解、图片理解)
|
|
41396
|
-
- `BASIC`:包年包月基础版(适用于视频理解)
|
|
41376
|
+
r"""<p>套餐规格。可能取值:</p><ul><li><code>POSTPAID</code>:后付费(适用于视频理解、图片理解)</li><li><code>BASIC</code>:包年包月基础版(适用于视频理解)</li></ul>
|
|
41397
41377
|
:rtype: str
|
|
41398
41378
|
"""
|
|
41399
41379
|
return self._ServiceTier
|
|
@@ -41404,7 +41384,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41404
41384
|
|
|
41405
41385
|
@property
|
|
41406
41386
|
def ComprehensionResult(self):
|
|
41407
|
-
r"""
|
|
41387
|
+
r"""<p>视觉理解结果(适用于视频理解、图片理解)</p>
|
|
41408
41388
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeComprehensionResult`
|
|
41409
41389
|
"""
|
|
41410
41390
|
return self._ComprehensionResult
|
|
@@ -41415,7 +41395,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41415
41395
|
|
|
41416
41396
|
@property
|
|
41417
41397
|
def CompHighlightResult(self):
|
|
41418
|
-
r"""
|
|
41398
|
+
r"""<p>视频语义浓缩结果(适用于视频语义浓缩)</p>
|
|
41419
41399
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeCompHighlightResult`
|
|
41420
41400
|
"""
|
|
41421
41401
|
return self._CompHighlightResult
|
|
@@ -41426,7 +41406,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41426
41406
|
|
|
41427
41407
|
@property
|
|
41428
41408
|
def DetectContinuousResult(self):
|
|
41429
|
-
r"""
|
|
41409
|
+
r"""<p>标签持续检测结果</p>
|
|
41430
41410
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.SeeDetectContinuousResult`
|
|
41431
41411
|
"""
|
|
41432
41412
|
return self._DetectContinuousResult
|
|
@@ -41437,7 +41417,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41437
41417
|
|
|
41438
41418
|
@property
|
|
41439
41419
|
def CostBasic(self):
|
|
41440
|
-
r"""
|
|
41420
|
+
r"""<p>完成该任务所消耗的基础能力额度</p>
|
|
41441
41421
|
:rtype: int
|
|
41442
41422
|
"""
|
|
41443
41423
|
return self._CostBasic
|
|
@@ -41448,7 +41428,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41448
41428
|
|
|
41449
41429
|
@property
|
|
41450
41430
|
def CostAdvanced(self):
|
|
41451
|
-
r"""
|
|
41431
|
+
r"""<p>完成该任务所消耗的高级能力额度</p>
|
|
41452
41432
|
:rtype: int
|
|
41453
41433
|
"""
|
|
41454
41434
|
return self._CostAdvanced
|
|
@@ -41459,7 +41439,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41459
41439
|
|
|
41460
41440
|
@property
|
|
41461
41441
|
def Files(self):
|
|
41462
|
-
r"""
|
|
41442
|
+
r"""<p>输出文件名列表</p>
|
|
41463
41443
|
:rtype: list of str
|
|
41464
41444
|
"""
|
|
41465
41445
|
return self._Files
|
|
@@ -41470,7 +41450,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41470
41450
|
|
|
41471
41451
|
@property
|
|
41472
41452
|
def FilesInfo(self):
|
|
41473
|
-
r"""
|
|
41453
|
+
r"""<p>输出文件详情列表</p>
|
|
41474
41454
|
:rtype: list of CloudStorageAIServiceTaskFileInfo
|
|
41475
41455
|
"""
|
|
41476
41456
|
return self._FilesInfo
|
|
@@ -41481,7 +41461,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41481
41461
|
|
|
41482
41462
|
@property
|
|
41483
41463
|
def CreateTime(self):
|
|
41484
|
-
r"""
|
|
41464
|
+
r"""<p>创建时间</p>
|
|
41485
41465
|
:rtype: int
|
|
41486
41466
|
"""
|
|
41487
41467
|
return self._CreateTime
|
|
@@ -41492,7 +41472,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41492
41472
|
|
|
41493
41473
|
@property
|
|
41494
41474
|
def UpdateTime(self):
|
|
41495
|
-
r"""
|
|
41475
|
+
r"""<p>最后更新时间</p>
|
|
41496
41476
|
:rtype: int
|
|
41497
41477
|
"""
|
|
41498
41478
|
return self._UpdateTime
|
|
@@ -41501,6 +41481,17 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41501
41481
|
def UpdateTime(self, UpdateTime):
|
|
41502
41482
|
self._UpdateTime = UpdateTime
|
|
41503
41483
|
|
|
41484
|
+
@property
|
|
41485
|
+
def COSURI(self):
|
|
41486
|
+
r"""<p>直传 COS 的对象 URI</p>
|
|
41487
|
+
:rtype: str
|
|
41488
|
+
"""
|
|
41489
|
+
return self._COSURI
|
|
41490
|
+
|
|
41491
|
+
@COSURI.setter
|
|
41492
|
+
def COSURI(self, COSURI):
|
|
41493
|
+
self._COSURI = COSURI
|
|
41494
|
+
|
|
41504
41495
|
|
|
41505
41496
|
def _deserialize(self, params):
|
|
41506
41497
|
self._TaskId = params.get("TaskId")
|
|
@@ -41531,6 +41522,7 @@ class SeeTaskInfo(AbstractModel):
|
|
|
41531
41522
|
self._FilesInfo.append(obj)
|
|
41532
41523
|
self._CreateTime = params.get("CreateTime")
|
|
41533
41524
|
self._UpdateTime = params.get("UpdateTime")
|
|
41525
|
+
self._COSURI = params.get("COSURI")
|
|
41534
41526
|
memeber_set = set(params.keys())
|
|
41535
41527
|
for name, value in vars(self).items():
|
|
41536
41528
|
property_name = name[1:]
|
|
@@ -48385,6 +48377,57 @@ class VisionRecognitionTask(AbstractModel):
|
|
|
48385
48377
|
|
|
48386
48378
|
|
|
48387
48379
|
|
|
48380
|
+
class VisionRecognitionTaskFilter(AbstractModel):
|
|
48381
|
+
r"""TWeSee 语义理解任务过滤条件
|
|
48382
|
+
|
|
48383
|
+
"""
|
|
48384
|
+
|
|
48385
|
+
def __init__(self):
|
|
48386
|
+
r"""
|
|
48387
|
+
:param _Key: 需要过滤的字段
|
|
48388
|
+
:type Key: str
|
|
48389
|
+
:param _Values: 需要过滤的值
|
|
48390
|
+
:type Values: list of str
|
|
48391
|
+
"""
|
|
48392
|
+
self._Key = None
|
|
48393
|
+
self._Values = None
|
|
48394
|
+
|
|
48395
|
+
@property
|
|
48396
|
+
def Key(self):
|
|
48397
|
+
r"""需要过滤的字段
|
|
48398
|
+
:rtype: str
|
|
48399
|
+
"""
|
|
48400
|
+
return self._Key
|
|
48401
|
+
|
|
48402
|
+
@Key.setter
|
|
48403
|
+
def Key(self, Key):
|
|
48404
|
+
self._Key = Key
|
|
48405
|
+
|
|
48406
|
+
@property
|
|
48407
|
+
def Values(self):
|
|
48408
|
+
r"""需要过滤的值
|
|
48409
|
+
:rtype: list of str
|
|
48410
|
+
"""
|
|
48411
|
+
return self._Values
|
|
48412
|
+
|
|
48413
|
+
@Values.setter
|
|
48414
|
+
def Values(self, Values):
|
|
48415
|
+
self._Values = Values
|
|
48416
|
+
|
|
48417
|
+
|
|
48418
|
+
def _deserialize(self, params):
|
|
48419
|
+
self._Key = params.get("Key")
|
|
48420
|
+
self._Values = params.get("Values")
|
|
48421
|
+
memeber_set = set(params.keys())
|
|
48422
|
+
for name, value in vars(self).items():
|
|
48423
|
+
property_name = name[1:]
|
|
48424
|
+
if property_name in memeber_set:
|
|
48425
|
+
memeber_set.remove(property_name)
|
|
48426
|
+
if len(memeber_set) > 0:
|
|
48427
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
48428
|
+
|
|
48429
|
+
|
|
48430
|
+
|
|
48388
48431
|
class VisionSummaryConfig(AbstractModel):
|
|
48389
48432
|
r"""视频摘要配置
|
|
48390
48433
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.157
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.148
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|