tencentcloud-sdk-python-hai 3.1.104__tar.gz → 3.1.114__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/v20230812/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/v20230812/models.py +52 -22
  6. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_hai-3.1.114/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_hai-3.1.104/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/README.rst +0 -0
  10. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/__init__.py +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/v20230812/__init__.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/v20230812/hai_client.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.104 → tencentcloud_sdk_python_hai-3.1.114}/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.104
3
+ Version: 3.1.114
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.104
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
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.104,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.114,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Hai SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.104'
17
+ __version__ = '3.1.114'
@@ -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:]
@@ -1102,26 +1117,29 @@ class DeployInferServiceRequest(AbstractModel):
1102
1117
 
1103
1118
  def __init__(self):
1104
1119
  r"""
1105
- :param _ServiceMetaData: 服务元数据信息,如服务名
1120
+ :param _ServiceMetaData: <p>服务元数据信息,如服务名</p>
1106
1121
  :type ServiceMetaData: :class:`tencentcloud.hai.v20230812.models.ServiceMetaData`
1107
- :param _ComputeInfo: 资源相关信息
1122
+ :param _ComputeInfo: <p>资源相关信息</p>
1108
1123
  :type ComputeInfo: :class:`tencentcloud.hai.v20230812.models.ComputeInfo`
1109
- :param _DeploymentConfigs: 服务部署信息
1124
+ :param _DeploymentConfigs: <p>服务部署信息</p>
1110
1125
  :type DeploymentConfigs: list of DeploymentConfig
1111
- :param _HyperParam: 服务超参数配置
1126
+ :param _HyperParam: <p>服务超参数配置</p>
1112
1127
  :type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
1113
- :param _NetworkSetting: 网络设置
1128
+ :param _NetworkSetting: <p>网络设置</p>
1114
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
1115
1132
  """
1116
1133
  self._ServiceMetaData = None
1117
1134
  self._ComputeInfo = None
1118
1135
  self._DeploymentConfigs = None
1119
1136
  self._HyperParam = None
1120
1137
  self._NetworkSetting = None
1138
+ self._SecurityType = None
1121
1139
 
1122
1140
  @property
1123
1141
  def ServiceMetaData(self):
1124
- r"""服务元数据信息,如服务名
1142
+ r"""<p>服务元数据信息,如服务名</p>
1125
1143
  :rtype: :class:`tencentcloud.hai.v20230812.models.ServiceMetaData`
1126
1144
  """
1127
1145
  return self._ServiceMetaData
@@ -1132,7 +1150,7 @@ class DeployInferServiceRequest(AbstractModel):
1132
1150
 
1133
1151
  @property
1134
1152
  def ComputeInfo(self):
1135
- r"""资源相关信息
1153
+ r"""<p>资源相关信息</p>
1136
1154
  :rtype: :class:`tencentcloud.hai.v20230812.models.ComputeInfo`
1137
1155
  """
1138
1156
  return self._ComputeInfo
@@ -1143,7 +1161,7 @@ class DeployInferServiceRequest(AbstractModel):
1143
1161
 
1144
1162
  @property
1145
1163
  def DeploymentConfigs(self):
1146
- r"""服务部署信息
1164
+ r"""<p>服务部署信息</p>
1147
1165
  :rtype: list of DeploymentConfig
1148
1166
  """
1149
1167
  return self._DeploymentConfigs
@@ -1154,7 +1172,7 @@ class DeployInferServiceRequest(AbstractModel):
1154
1172
 
1155
1173
  @property
1156
1174
  def HyperParam(self):
1157
- r"""服务超参数配置
1175
+ r"""<p>服务超参数配置</p>
1158
1176
  :rtype: :class:`tencentcloud.hai.v20230812.models.HyperParam`
1159
1177
  """
1160
1178
  return self._HyperParam
@@ -1165,7 +1183,7 @@ class DeployInferServiceRequest(AbstractModel):
1165
1183
 
1166
1184
  @property
1167
1185
  def NetworkSetting(self):
1168
- r"""网络设置
1186
+ r"""<p>网络设置</p>
1169
1187
  :rtype: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
1170
1188
  """
1171
1189
  return self._NetworkSetting
@@ -1174,6 +1192,17 @@ class DeployInferServiceRequest(AbstractModel):
1174
1192
  def NetworkSetting(self, NetworkSetting):
1175
1193
  self._NetworkSetting = NetworkSetting
1176
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
+
1177
1206
 
1178
1207
  def _deserialize(self, params):
1179
1208
  if params.get("ServiceMetaData") is not None:
@@ -1194,6 +1223,7 @@ class DeployInferServiceRequest(AbstractModel):
1194
1223
  if params.get("NetworkSetting") is not None:
1195
1224
  self._NetworkSetting = NetworkSetting()
1196
1225
  self._NetworkSetting._deserialize(params.get("NetworkSetting"))
1226
+ self._SecurityType = params.get("SecurityType")
1197
1227
  memeber_set = set(params.keys())
1198
1228
  for name, value in vars(self).items():
1199
1229
  property_name = name[1:]
@@ -1211,7 +1241,7 @@ class DeployInferServiceResponse(AbstractModel):
1211
1241
 
1212
1242
  def __init__(self):
1213
1243
  r"""
1214
- :param _ServiceId: 服务ID
1244
+ :param _ServiceId: <p>服务ID</p>
1215
1245
  :type ServiceId: str
1216
1246
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1217
1247
  :type RequestId: str
@@ -1221,7 +1251,7 @@ class DeployInferServiceResponse(AbstractModel):
1221
1251
 
1222
1252
  @property
1223
1253
  def ServiceId(self):
1224
- r"""服务ID
1254
+ r"""<p>服务ID</p>
1225
1255
  :rtype: str
1226
1256
  """
1227
1257
  return self._ServiceId
@@ -2501,11 +2531,11 @@ class DescribeServicesRequest(AbstractModel):
2501
2531
 
2502
2532
  def __init__(self):
2503
2533
  r"""
2504
- :param _ServiceIds: 服务列表
2534
+ :param _ServiceIds: <p>服务列表</p>
2505
2535
  :type ServiceIds: list of str
2506
- :param _Limit: 分页大小
2536
+ :param _Limit: <p>分页大小</p>
2507
2537
  :type Limit: int
2508
- :param _Offset: 偏移量
2538
+ :param _Offset: <p>偏移量</p>
2509
2539
  :type Offset: int
2510
2540
  """
2511
2541
  self._ServiceIds = None
@@ -2514,7 +2544,7 @@ class DescribeServicesRequest(AbstractModel):
2514
2544
 
2515
2545
  @property
2516
2546
  def ServiceIds(self):
2517
- r"""服务列表
2547
+ r"""<p>服务列表</p>
2518
2548
  :rtype: list of str
2519
2549
  """
2520
2550
  return self._ServiceIds
@@ -2525,7 +2555,7 @@ class DescribeServicesRequest(AbstractModel):
2525
2555
 
2526
2556
  @property
2527
2557
  def Limit(self):
2528
- r"""分页大小
2558
+ r"""<p>分页大小</p>
2529
2559
  :rtype: int
2530
2560
  """
2531
2561
  return self._Limit
@@ -2536,7 +2566,7 @@ class DescribeServicesRequest(AbstractModel):
2536
2566
 
2537
2567
  @property
2538
2568
  def Offset(self):
2539
- r"""偏移量
2569
+ r"""<p>偏移量</p>
2540
2570
  :rtype: int
2541
2571
  """
2542
2572
  return self._Offset
@@ -2567,9 +2597,9 @@ class DescribeServicesResponse(AbstractModel):
2567
2597
 
2568
2598
  def __init__(self):
2569
2599
  r"""
2570
- :param _TotalCount: 总数
2600
+ :param _TotalCount: <p>总数</p>
2571
2601
  :type TotalCount: int
2572
- :param _ServiceInfoSet: 服务列表
2602
+ :param _ServiceInfoSet: <p>服务列表</p>
2573
2603
  :type ServiceInfoSet: list of ServiceDetail
2574
2604
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2575
2605
  :type RequestId: str
@@ -2580,7 +2610,7 @@ class DescribeServicesResponse(AbstractModel):
2580
2610
 
2581
2611
  @property
2582
2612
  def TotalCount(self):
2583
- r"""总数
2613
+ r"""<p>总数</p>
2584
2614
  :rtype: int
2585
2615
  """
2586
2616
  return self._TotalCount
@@ -2591,7 +2621,7 @@ class DescribeServicesResponse(AbstractModel):
2591
2621
 
2592
2622
  @property
2593
2623
  def ServiceInfoSet(self):
2594
- r"""服务列表
2624
+ r"""<p>服务列表</p>
2595
2625
  :rtype: list of ServiceDetail
2596
2626
  """
2597
2627
  return self._ServiceInfoSet
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.104
3
+ Version: 3.1.114
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.104
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.114
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.114
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.104