tencentcloud-sdk-python-hai 3.1.181__tar.gz → 3.1.192__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.181 → tencentcloud_sdk_python_hai-3.1.192}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/v20230812/models.py +19 -4
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.192/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.181/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.181 → tencentcloud_sdk_python_hai-3.1.192}/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.192
|
|
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.192
|
|
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.192,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -322,6 +322,8 @@ class ComputeDetail(AbstractModel):
|
|
|
322
322
|
:type PrepaidEnable: bool
|
|
323
323
|
:param _PostpaidEnable: <p>该套餐是否支持按量计费</p>
|
|
324
324
|
:type PostpaidEnable: bool
|
|
325
|
+
:param _SupportedChargeTypes: <p>该算力套餐支持的计费模式列表:POSTPAID_BY_HOUR(按量)、PREPAID(包年包月)、SPOT(竞价)</p>
|
|
326
|
+
:type SupportedChargeTypes: list of str
|
|
325
327
|
"""
|
|
326
328
|
self._BundleType = None
|
|
327
329
|
self._Count = None
|
|
@@ -332,6 +334,7 @@ class ComputeDetail(AbstractModel):
|
|
|
332
334
|
self._Memory = None
|
|
333
335
|
self._PrepaidEnable = None
|
|
334
336
|
self._PostpaidEnable = None
|
|
337
|
+
self._SupportedChargeTypes = None
|
|
335
338
|
|
|
336
339
|
@property
|
|
337
340
|
def BundleType(self):
|
|
@@ -432,6 +435,17 @@ class ComputeDetail(AbstractModel):
|
|
|
432
435
|
def PostpaidEnable(self, PostpaidEnable):
|
|
433
436
|
self._PostpaidEnable = PostpaidEnable
|
|
434
437
|
|
|
438
|
+
@property
|
|
439
|
+
def SupportedChargeTypes(self):
|
|
440
|
+
r"""<p>该算力套餐支持的计费模式列表:POSTPAID_BY_HOUR(按量)、PREPAID(包年包月)、SPOT(竞价)</p>
|
|
441
|
+
:rtype: list of str
|
|
442
|
+
"""
|
|
443
|
+
return self._SupportedChargeTypes
|
|
444
|
+
|
|
445
|
+
@SupportedChargeTypes.setter
|
|
446
|
+
def SupportedChargeTypes(self, SupportedChargeTypes):
|
|
447
|
+
self._SupportedChargeTypes = SupportedChargeTypes
|
|
448
|
+
|
|
435
449
|
|
|
436
450
|
def _deserialize(self, params):
|
|
437
451
|
self._BundleType = params.get("BundleType")
|
|
@@ -443,6 +457,7 @@ class ComputeDetail(AbstractModel):
|
|
|
443
457
|
self._Memory = params.get("Memory")
|
|
444
458
|
self._PrepaidEnable = params.get("PrepaidEnable")
|
|
445
459
|
self._PostpaidEnable = params.get("PostpaidEnable")
|
|
460
|
+
self._SupportedChargeTypes = params.get("SupportedChargeTypes")
|
|
446
461
|
memeber_set = set(params.keys())
|
|
447
462
|
for name, value in vars(self).items():
|
|
448
463
|
property_name = name[1:]
|
|
@@ -807,7 +822,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
807
822
|
:type ServiceName: str
|
|
808
823
|
:param _Replicas: <p>副本数</p>
|
|
809
824
|
:type Replicas: int
|
|
810
|
-
:param _ServiceChargeType: <p
|
|
825
|
+
:param _ServiceChargeType: <p>付费方式:POSTPAID_BY_HOUR 按量后付费,PREPAID_BY_MONTH 包年包月,SPOT 竞价售卖(竞价需先调用 BidSpotInferService 对套餐出价)</p>
|
|
811
826
|
:type ServiceChargeType: str
|
|
812
827
|
:param _HyperParam: <p>描述了服务的超参数配置</p>
|
|
813
828
|
:type HyperParam: :class:`tencentcloud.hai.v20230812.models.HyperParam`
|
|
@@ -862,7 +877,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
862
877
|
|
|
863
878
|
@property
|
|
864
879
|
def ServiceChargeType(self):
|
|
865
|
-
r"""<p
|
|
880
|
+
r"""<p>付费方式:POSTPAID_BY_HOUR 按量后付费,PREPAID_BY_MONTH 包年包月,SPOT 竞价售卖(竞价需先调用 BidSpotInferService 对套餐出价)</p>
|
|
866
881
|
:rtype: str
|
|
867
882
|
"""
|
|
868
883
|
return self._ServiceChargeType
|
|
@@ -5836,7 +5851,7 @@ class ServiceMetaData(AbstractModel):
|
|
|
5836
5851
|
r"""
|
|
5837
5852
|
:param _ServiceName: 服务名称
|
|
5838
5853
|
:type ServiceName: str
|
|
5839
|
-
:param _ServiceChargeType:
|
|
5854
|
+
:param _ServiceChargeType: <p>付费方式:POSTPAID_BY_HOUR 按量后付费,PREPAID_BY_MONTH 包年包月,SPOT 竞价售卖(竞价需先调用 BidSpotInferService 对套餐出价)</p>
|
|
5840
5855
|
:type ServiceChargeType: str
|
|
5841
5856
|
"""
|
|
5842
5857
|
self._ServiceName = None
|
|
@@ -5855,7 +5870,7 @@ class ServiceMetaData(AbstractModel):
|
|
|
5855
5870
|
|
|
5856
5871
|
@property
|
|
5857
5872
|
def ServiceChargeType(self):
|
|
5858
|
-
r"""
|
|
5873
|
+
r"""<p>付费方式:POSTPAID_BY_HOUR 按量后付费,PREPAID_BY_MONTH 包年包月,SPOT 竞价售卖(竞价需先调用 BidSpotInferService 对套餐出价)</p>
|
|
5859
5874
|
:rtype: str
|
|
5860
5875
|
"""
|
|
5861
5876
|
return self._ServiceChargeType
|
|
@@ -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.192
|
|
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.192
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
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
|