tencentcloud-sdk-python-hai 3.1.104__tar.gz → 3.1.108__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_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/errorcodes.py +3 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/models.py +25 -10
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.108/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.104/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.108}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Hai 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.108
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-hai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.108,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -107,6 +107,9 @@ INVALIDPARAMETERVALUE_INVALIDPASSWORD = 'InvalidParameterValue.InvalidPassword'
|
|
|
107
107
|
# 场景ID格式非法
|
|
108
108
|
INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = 'InvalidParameterValue.InvalidSceneIdMalformed'
|
|
109
109
|
|
|
110
|
+
# 非法安全类型
|
|
111
|
+
INVALIDPARAMETERVALUE_INVALIDSECURITYTYPE = 'InvalidParameterValue.InvalidSecurityType'
|
|
112
|
+
|
|
110
113
|
# 服务ID格式错误
|
|
111
114
|
INVALIDPARAMETERVALUE_INVALIDSERVICEIDMALFORMED = 'InvalidParameterValue.InvalidServiceIdMalformed'
|
|
112
115
|
|
|
@@ -783,6 +783,8 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
783
783
|
:type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
784
784
|
:param _NetworkSetting: <p>网络设置</p>
|
|
785
785
|
:type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
786
|
+
:param _SecurityType: <p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
|
|
787
|
+
:type SecurityType: str
|
|
786
788
|
"""
|
|
787
789
|
self._TemplateId = None
|
|
788
790
|
self._ServiceName = None
|
|
@@ -790,6 +792,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
790
792
|
self._ServiceChargeType = None
|
|
791
793
|
self._HyperParam = None
|
|
792
794
|
self._NetworkSetting = None
|
|
795
|
+
self._SecurityType = None
|
|
793
796
|
|
|
794
797
|
@property
|
|
795
798
|
def TemplateId(self):
|
|
@@ -857,6 +860,17 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
857
860
|
def NetworkSetting(self, NetworkSetting):
|
|
858
861
|
self._NetworkSetting = NetworkSetting
|
|
859
862
|
|
|
863
|
+
@property
|
|
864
|
+
def SecurityType(self):
|
|
865
|
+
r"""<p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
|
|
866
|
+
:rtype: str
|
|
867
|
+
"""
|
|
868
|
+
return self._SecurityType
|
|
869
|
+
|
|
870
|
+
@SecurityType.setter
|
|
871
|
+
def SecurityType(self, SecurityType):
|
|
872
|
+
self._SecurityType = SecurityType
|
|
873
|
+
|
|
860
874
|
|
|
861
875
|
def _deserialize(self, params):
|
|
862
876
|
self._TemplateId = params.get("TemplateId")
|
|
@@ -869,6 +883,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
869
883
|
if params.get("NetworkSetting") is not None:
|
|
870
884
|
self._NetworkSetting = NetworkSetting()
|
|
871
885
|
self._NetworkSetting._deserialize(params.get("NetworkSetting"))
|
|
886
|
+
self._SecurityType = params.get("SecurityType")
|
|
872
887
|
memeber_set = set(params.keys())
|
|
873
888
|
for name, value in vars(self).items():
|
|
874
889
|
property_name = name[1:]
|
|
@@ -2501,11 +2516,11 @@ class DescribeServicesRequest(AbstractModel):
|
|
|
2501
2516
|
|
|
2502
2517
|
def __init__(self):
|
|
2503
2518
|
r"""
|
|
2504
|
-
:param _ServiceIds:
|
|
2519
|
+
:param _ServiceIds: <p>服务列表</p>
|
|
2505
2520
|
:type ServiceIds: list of str
|
|
2506
|
-
:param _Limit:
|
|
2521
|
+
:param _Limit: <p>分页大小</p>
|
|
2507
2522
|
:type Limit: int
|
|
2508
|
-
:param _Offset:
|
|
2523
|
+
:param _Offset: <p>偏移量</p>
|
|
2509
2524
|
:type Offset: int
|
|
2510
2525
|
"""
|
|
2511
2526
|
self._ServiceIds = None
|
|
@@ -2514,7 +2529,7 @@ class DescribeServicesRequest(AbstractModel):
|
|
|
2514
2529
|
|
|
2515
2530
|
@property
|
|
2516
2531
|
def ServiceIds(self):
|
|
2517
|
-
r"""
|
|
2532
|
+
r"""<p>服务列表</p>
|
|
2518
2533
|
:rtype: list of str
|
|
2519
2534
|
"""
|
|
2520
2535
|
return self._ServiceIds
|
|
@@ -2525,7 +2540,7 @@ class DescribeServicesRequest(AbstractModel):
|
|
|
2525
2540
|
|
|
2526
2541
|
@property
|
|
2527
2542
|
def Limit(self):
|
|
2528
|
-
r"""
|
|
2543
|
+
r"""<p>分页大小</p>
|
|
2529
2544
|
:rtype: int
|
|
2530
2545
|
"""
|
|
2531
2546
|
return self._Limit
|
|
@@ -2536,7 +2551,7 @@ class DescribeServicesRequest(AbstractModel):
|
|
|
2536
2551
|
|
|
2537
2552
|
@property
|
|
2538
2553
|
def Offset(self):
|
|
2539
|
-
r"""
|
|
2554
|
+
r"""<p>偏移量</p>
|
|
2540
2555
|
:rtype: int
|
|
2541
2556
|
"""
|
|
2542
2557
|
return self._Offset
|
|
@@ -2567,9 +2582,9 @@ class DescribeServicesResponse(AbstractModel):
|
|
|
2567
2582
|
|
|
2568
2583
|
def __init__(self):
|
|
2569
2584
|
r"""
|
|
2570
|
-
:param _TotalCount:
|
|
2585
|
+
:param _TotalCount: <p>总数</p>
|
|
2571
2586
|
:type TotalCount: int
|
|
2572
|
-
:param _ServiceInfoSet:
|
|
2587
|
+
:param _ServiceInfoSet: <p>服务列表</p>
|
|
2573
2588
|
:type ServiceInfoSet: list of ServiceDetail
|
|
2574
2589
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2575
2590
|
:type RequestId: str
|
|
@@ -2580,7 +2595,7 @@ class DescribeServicesResponse(AbstractModel):
|
|
|
2580
2595
|
|
|
2581
2596
|
@property
|
|
2582
2597
|
def TotalCount(self):
|
|
2583
|
-
r"""
|
|
2598
|
+
r"""<p>总数</p>
|
|
2584
2599
|
:rtype: int
|
|
2585
2600
|
"""
|
|
2586
2601
|
return self._TotalCount
|
|
@@ -2591,7 +2606,7 @@ class DescribeServicesResponse(AbstractModel):
|
|
|
2591
2606
|
|
|
2592
2607
|
@property
|
|
2593
2608
|
def ServiceInfoSet(self):
|
|
2594
|
-
r"""
|
|
2609
|
+
r"""<p>服务列表</p>
|
|
2595
2610
|
:rtype: list of ServiceDetail
|
|
2596
2611
|
"""
|
|
2597
2612
|
return self._ServiceInfoSet
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.108
|
|
4
4
|
Summary: Tencent Cloud Hai 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.108
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|