tencentcloud-sdk-python-hai 3.1.108__tar.gz → 3.1.121__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.108 → tencentcloud_sdk_python_hai-3.1.121}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/models.py +80 -12
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.121/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.108/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.108 → tencentcloud_sdk_python_hai-3.1.121}/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.121
|
|
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.121
|
|
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.121,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -1117,26 +1117,29 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1117
1117
|
|
|
1118
1118
|
def __init__(self):
|
|
1119
1119
|
r"""
|
|
1120
|
-
:param _ServiceMetaData:
|
|
1120
|
+
:param _ServiceMetaData: <p>服务元数据信息,如服务名</p>
|
|
1121
1121
|
:type ServiceMetaData: :class:`tencentcloud.hai.v20230812.models.ServiceMetaData`
|
|
1122
|
-
:param _ComputeInfo:
|
|
1122
|
+
:param _ComputeInfo: <p>资源相关信息</p>
|
|
1123
1123
|
:type ComputeInfo: :class:`tencentcloud.hai.v20230812.models.ComputeInfo`
|
|
1124
|
-
:param _DeploymentConfigs:
|
|
1124
|
+
:param _DeploymentConfigs: <p>服务部署信息</p>
|
|
1125
1125
|
:type DeploymentConfigs: list of DeploymentConfig
|
|
1126
|
-
:param _HyperParam:
|
|
1126
|
+
:param _HyperParam: <p>服务超参数配置</p>
|
|
1127
1127
|
:type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
1128
|
-
:param _NetworkSetting:
|
|
1128
|
+
:param _NetworkSetting: <p>网络设置</p>
|
|
1129
1129
|
:type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
1130
|
+
:param _SecurityType: <p>安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理</li><li>CONFIDENTIAL: 可信推理</li></ul>
|
|
1131
|
+
:type SecurityType: str
|
|
1130
1132
|
"""
|
|
1131
1133
|
self._ServiceMetaData = None
|
|
1132
1134
|
self._ComputeInfo = None
|
|
1133
1135
|
self._DeploymentConfigs = None
|
|
1134
1136
|
self._HyperParam = None
|
|
1135
1137
|
self._NetworkSetting = None
|
|
1138
|
+
self._SecurityType = None
|
|
1136
1139
|
|
|
1137
1140
|
@property
|
|
1138
1141
|
def ServiceMetaData(self):
|
|
1139
|
-
r"""
|
|
1142
|
+
r"""<p>服务元数据信息,如服务名</p>
|
|
1140
1143
|
:rtype: :class:`tencentcloud.hai.v20230812.models.ServiceMetaData`
|
|
1141
1144
|
"""
|
|
1142
1145
|
return self._ServiceMetaData
|
|
@@ -1147,7 +1150,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1147
1150
|
|
|
1148
1151
|
@property
|
|
1149
1152
|
def ComputeInfo(self):
|
|
1150
|
-
r"""
|
|
1153
|
+
r"""<p>资源相关信息</p>
|
|
1151
1154
|
:rtype: :class:`tencentcloud.hai.v20230812.models.ComputeInfo`
|
|
1152
1155
|
"""
|
|
1153
1156
|
return self._ComputeInfo
|
|
@@ -1158,7 +1161,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1158
1161
|
|
|
1159
1162
|
@property
|
|
1160
1163
|
def DeploymentConfigs(self):
|
|
1161
|
-
r"""
|
|
1164
|
+
r"""<p>服务部署信息</p>
|
|
1162
1165
|
:rtype: list of DeploymentConfig
|
|
1163
1166
|
"""
|
|
1164
1167
|
return self._DeploymentConfigs
|
|
@@ -1169,7 +1172,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1169
1172
|
|
|
1170
1173
|
@property
|
|
1171
1174
|
def HyperParam(self):
|
|
1172
|
-
r"""
|
|
1175
|
+
r"""<p>服务超参数配置</p>
|
|
1173
1176
|
:rtype: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
1174
1177
|
"""
|
|
1175
1178
|
return self._HyperParam
|
|
@@ -1180,7 +1183,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1180
1183
|
|
|
1181
1184
|
@property
|
|
1182
1185
|
def NetworkSetting(self):
|
|
1183
|
-
r"""
|
|
1186
|
+
r"""<p>网络设置</p>
|
|
1184
1187
|
:rtype: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
1185
1188
|
"""
|
|
1186
1189
|
return self._NetworkSetting
|
|
@@ -1189,6 +1192,17 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1189
1192
|
def NetworkSetting(self, NetworkSetting):
|
|
1190
1193
|
self._NetworkSetting = NetworkSetting
|
|
1191
1194
|
|
|
1195
|
+
@property
|
|
1196
|
+
def SecurityType(self):
|
|
1197
|
+
r"""<p>安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理</li><li>CONFIDENTIAL: 可信推理</li></ul>
|
|
1198
|
+
:rtype: str
|
|
1199
|
+
"""
|
|
1200
|
+
return self._SecurityType
|
|
1201
|
+
|
|
1202
|
+
@SecurityType.setter
|
|
1203
|
+
def SecurityType(self, SecurityType):
|
|
1204
|
+
self._SecurityType = SecurityType
|
|
1205
|
+
|
|
1192
1206
|
|
|
1193
1207
|
def _deserialize(self, params):
|
|
1194
1208
|
if params.get("ServiceMetaData") is not None:
|
|
@@ -1209,6 +1223,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1209
1223
|
if params.get("NetworkSetting") is not None:
|
|
1210
1224
|
self._NetworkSetting = NetworkSetting()
|
|
1211
1225
|
self._NetworkSetting._deserialize(params.get("NetworkSetting"))
|
|
1226
|
+
self._SecurityType = params.get("SecurityType")
|
|
1212
1227
|
memeber_set = set(params.keys())
|
|
1213
1228
|
for name, value in vars(self).items():
|
|
1214
1229
|
property_name = name[1:]
|
|
@@ -1226,7 +1241,7 @@ class DeployInferServiceResponse(AbstractModel):
|
|
|
1226
1241
|
|
|
1227
1242
|
def __init__(self):
|
|
1228
1243
|
r"""
|
|
1229
|
-
:param _ServiceId:
|
|
1244
|
+
:param _ServiceId: <p>服务ID</p>
|
|
1230
1245
|
:type ServiceId: str
|
|
1231
1246
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1232
1247
|
:type RequestId: str
|
|
@@ -1236,7 +1251,7 @@ class DeployInferServiceResponse(AbstractModel):
|
|
|
1236
1251
|
|
|
1237
1252
|
@property
|
|
1238
1253
|
def ServiceId(self):
|
|
1239
|
-
r"""
|
|
1254
|
+
r"""<p>服务ID</p>
|
|
1240
1255
|
:rtype: str
|
|
1241
1256
|
"""
|
|
1242
1257
|
return self._ServiceId
|
|
@@ -4536,6 +4551,8 @@ class ProbeConfig(AbstractModel):
|
|
|
4536
4551
|
:type SuccessThreshold: int
|
|
4537
4552
|
:param _FailureThreshold: <p>探测失败后,Kubernetes的重试次数</p>
|
|
4538
4553
|
:type FailureThreshold: int
|
|
4554
|
+
:param _TcpSocket: <p>TCP Socket请求进行健康检查</p>
|
|
4555
|
+
:type TcpSocket: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
|
|
4539
4556
|
"""
|
|
4540
4557
|
self._HttpGet = None
|
|
4541
4558
|
self._InitialDelaySeconds = None
|
|
@@ -4543,6 +4560,7 @@ class ProbeConfig(AbstractModel):
|
|
|
4543
4560
|
self._TimeoutSeconds = None
|
|
4544
4561
|
self._SuccessThreshold = None
|
|
4545
4562
|
self._FailureThreshold = None
|
|
4563
|
+
self._TcpSocket = None
|
|
4546
4564
|
|
|
4547
4565
|
@property
|
|
4548
4566
|
def HttpGet(self):
|
|
@@ -4610,6 +4628,17 @@ class ProbeConfig(AbstractModel):
|
|
|
4610
4628
|
def FailureThreshold(self, FailureThreshold):
|
|
4611
4629
|
self._FailureThreshold = FailureThreshold
|
|
4612
4630
|
|
|
4631
|
+
@property
|
|
4632
|
+
def TcpSocket(self):
|
|
4633
|
+
r"""<p>TCP Socket请求进行健康检查</p>
|
|
4634
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
|
|
4635
|
+
"""
|
|
4636
|
+
return self._TcpSocket
|
|
4637
|
+
|
|
4638
|
+
@TcpSocket.setter
|
|
4639
|
+
def TcpSocket(self, TcpSocket):
|
|
4640
|
+
self._TcpSocket = TcpSocket
|
|
4641
|
+
|
|
4613
4642
|
|
|
4614
4643
|
def _deserialize(self, params):
|
|
4615
4644
|
if params.get("HttpGet") is not None:
|
|
@@ -4620,6 +4649,9 @@ class ProbeConfig(AbstractModel):
|
|
|
4620
4649
|
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
|
4621
4650
|
self._SuccessThreshold = params.get("SuccessThreshold")
|
|
4622
4651
|
self._FailureThreshold = params.get("FailureThreshold")
|
|
4652
|
+
if params.get("TcpSocket") is not None:
|
|
4653
|
+
self._TcpSocket = TcpSocketConfig()
|
|
4654
|
+
self._TcpSocket._deserialize(params.get("TcpSocket"))
|
|
4623
4655
|
memeber_set = set(params.keys())
|
|
4624
4656
|
for name, value in vars(self).items():
|
|
4625
4657
|
property_name = name[1:]
|
|
@@ -5851,6 +5883,42 @@ class SystemDisk(AbstractModel):
|
|
|
5851
5883
|
|
|
5852
5884
|
|
|
5853
5885
|
|
|
5886
|
+
class TcpSocketConfig(AbstractModel):
|
|
5887
|
+
r"""推理服务TcpSocket的配置
|
|
5888
|
+
|
|
5889
|
+
"""
|
|
5890
|
+
|
|
5891
|
+
def __init__(self):
|
|
5892
|
+
r"""
|
|
5893
|
+
:param _Port:
|
|
5894
|
+
:type Port: int
|
|
5895
|
+
"""
|
|
5896
|
+
self._Port = None
|
|
5897
|
+
|
|
5898
|
+
@property
|
|
5899
|
+
def Port(self):
|
|
5900
|
+
r"""
|
|
5901
|
+
:rtype: int
|
|
5902
|
+
"""
|
|
5903
|
+
return self._Port
|
|
5904
|
+
|
|
5905
|
+
@Port.setter
|
|
5906
|
+
def Port(self, Port):
|
|
5907
|
+
self._Port = Port
|
|
5908
|
+
|
|
5909
|
+
|
|
5910
|
+
def _deserialize(self, params):
|
|
5911
|
+
self._Port = params.get("Port")
|
|
5912
|
+
memeber_set = set(params.keys())
|
|
5913
|
+
for name, value in vars(self).items():
|
|
5914
|
+
property_name = name[1:]
|
|
5915
|
+
if property_name in memeber_set:
|
|
5916
|
+
memeber_set.remove(property_name)
|
|
5917
|
+
if len(memeber_set) > 0:
|
|
5918
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5919
|
+
|
|
5920
|
+
|
|
5921
|
+
|
|
5854
5922
|
class TemplateDetail(AbstractModel):
|
|
5855
5923
|
r"""模板详情
|
|
5856
5924
|
|
|
@@ -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.121
|
|
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.121
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.108
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|