tencentcloud-sdk-python-hai 3.1.179__tar.gz → 3.1.181__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.179 → tencentcloud_sdk_python_hai-3.1.181}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/hai_client.py +2 -2
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/hai_client_async.py +2 -2
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/models.py +105 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.181/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.179/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.179 → tencentcloud_sdk_python_hai-3.1.181}/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.181
|
|
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.181
|
|
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.181,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -165,7 +165,7 @@ class HaiClient(AbstractClient):
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
def DescribeDeployTemplates(self, request):
|
|
168
|
-
r"""本接口(DescribeDeployTemplates)
|
|
168
|
+
r"""本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
|
|
169
169
|
|
|
170
170
|
:param request: Request instance for DescribeDeployTemplates.
|
|
171
171
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeDeployTemplatesRequest`
|
|
@@ -234,7 +234,7 @@ class HaiClient(AbstractClient):
|
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
def DescribeModels(self, request):
|
|
237
|
-
r"""本接口(DescribeModels)
|
|
237
|
+
r"""本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
|
|
238
238
|
|
|
239
239
|
:param request: Request instance for DescribeModels.
|
|
240
240
|
:type request: :class:`tencentcloud.hai.v20230812.models.DescribeModelsRequest`
|
|
@@ -139,7 +139,7 @@ class HaiClient(AbstractClient):
|
|
|
139
139
|
opts: Dict = None,
|
|
140
140
|
) -> models.DescribeDeployTemplatesResponse:
|
|
141
141
|
"""
|
|
142
|
-
本接口(DescribeDeployTemplates)
|
|
142
|
+
本接口(DescribeDeployTemplates)用于查询模型支持的部署模板。传入 ServiceId 时按当前服务占用过滤重装候选模板。
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
kwargs = {}
|
|
@@ -193,7 +193,7 @@ class HaiClient(AbstractClient):
|
|
|
193
193
|
opts: Dict = None,
|
|
194
194
|
) -> models.DescribeModelsResponse:
|
|
195
195
|
"""
|
|
196
|
-
本接口(DescribeModels)
|
|
196
|
+
本接口(DescribeModels)用于查询模型。传入 ServiceId 时按当前服务占用过滤重装候选模型。
|
|
197
197
|
"""
|
|
198
198
|
|
|
199
199
|
kwargs = {}
|
|
@@ -1582,8 +1582,11 @@ class DescribeDeployTemplatesRequest(AbstractModel):
|
|
|
1582
1582
|
r"""
|
|
1583
1583
|
:param _ModelId: 模型ID
|
|
1584
1584
|
:type ModelId: str
|
|
1585
|
+
:param _ServiceId: 可选。传入当前推理服务 ID 时,仅返回与该服务占用兼容的模板:同一 Scene、卡型家族兼容、机数相等、非机密计算。
|
|
1586
|
+
:type ServiceId: str
|
|
1585
1587
|
"""
|
|
1586
1588
|
self._ModelId = None
|
|
1589
|
+
self._ServiceId = None
|
|
1587
1590
|
|
|
1588
1591
|
@property
|
|
1589
1592
|
def ModelId(self):
|
|
@@ -1596,9 +1599,21 @@ class DescribeDeployTemplatesRequest(AbstractModel):
|
|
|
1596
1599
|
def ModelId(self, ModelId):
|
|
1597
1600
|
self._ModelId = ModelId
|
|
1598
1601
|
|
|
1602
|
+
@property
|
|
1603
|
+
def ServiceId(self):
|
|
1604
|
+
r"""可选。传入当前推理服务 ID 时,仅返回与该服务占用兼容的模板:同一 Scene、卡型家族兼容、机数相等、非机密计算。
|
|
1605
|
+
:rtype: str
|
|
1606
|
+
"""
|
|
1607
|
+
return self._ServiceId
|
|
1608
|
+
|
|
1609
|
+
@ServiceId.setter
|
|
1610
|
+
def ServiceId(self, ServiceId):
|
|
1611
|
+
self._ServiceId = ServiceId
|
|
1612
|
+
|
|
1599
1613
|
|
|
1600
1614
|
def _deserialize(self, params):
|
|
1601
1615
|
self._ModelId = params.get("ModelId")
|
|
1616
|
+
self._ServiceId = params.get("ServiceId")
|
|
1602
1617
|
memeber_set = set(params.keys())
|
|
1603
1618
|
for name, value in vars(self).items():
|
|
1604
1619
|
property_name = name[1:]
|
|
@@ -1939,11 +1954,14 @@ class DescribeModelsRequest(AbstractModel):
|
|
|
1939
1954
|
:type Offset: int
|
|
1940
1955
|
:param _Limit: 返回量,不得大于100,默认为20
|
|
1941
1956
|
:type Limit: int
|
|
1957
|
+
:param _ServiceId: 可选。传入当前推理服务 ID 时,仅返回与该服务同一 Scene、且至少有一条兼容重装模板的模型。自定义部署、机密计算、具身智能服务返回空列表。
|
|
1958
|
+
:type ServiceId: str
|
|
1942
1959
|
"""
|
|
1943
1960
|
self._ModelIds = None
|
|
1944
1961
|
self._Filters = None
|
|
1945
1962
|
self._Offset = None
|
|
1946
1963
|
self._Limit = None
|
|
1964
|
+
self._ServiceId = None
|
|
1947
1965
|
|
|
1948
1966
|
@property
|
|
1949
1967
|
def ModelIds(self):
|
|
@@ -1989,6 +2007,17 @@ class DescribeModelsRequest(AbstractModel):
|
|
|
1989
2007
|
def Limit(self, Limit):
|
|
1990
2008
|
self._Limit = Limit
|
|
1991
2009
|
|
|
2010
|
+
@property
|
|
2011
|
+
def ServiceId(self):
|
|
2012
|
+
r"""可选。传入当前推理服务 ID 时,仅返回与该服务同一 Scene、且至少有一条兼容重装模板的模型。自定义部署、机密计算、具身智能服务返回空列表。
|
|
2013
|
+
:rtype: str
|
|
2014
|
+
"""
|
|
2015
|
+
return self._ServiceId
|
|
2016
|
+
|
|
2017
|
+
@ServiceId.setter
|
|
2018
|
+
def ServiceId(self, ServiceId):
|
|
2019
|
+
self._ServiceId = ServiceId
|
|
2020
|
+
|
|
1992
2021
|
|
|
1993
2022
|
def _deserialize(self, params):
|
|
1994
2023
|
self._ModelIds = params.get("ModelIds")
|
|
@@ -2000,6 +2029,7 @@ class DescribeModelsRequest(AbstractModel):
|
|
|
2000
2029
|
self._Filters.append(obj)
|
|
2001
2030
|
self._Offset = params.get("Offset")
|
|
2002
2031
|
self._Limit = params.get("Limit")
|
|
2032
|
+
self._ServiceId = params.get("ServiceId")
|
|
2003
2033
|
memeber_set = set(params.keys())
|
|
2004
2034
|
for name, value in vars(self).items():
|
|
2005
2035
|
property_name = name[1:]
|
|
@@ -2842,6 +2872,66 @@ class GetServicePodLogsRequest(AbstractModel):
|
|
|
2842
2872
|
|
|
2843
2873
|
"""
|
|
2844
2874
|
|
|
2875
|
+
def __init__(self):
|
|
2876
|
+
r"""
|
|
2877
|
+
:param _ServiceId: <p>服务Id</p>
|
|
2878
|
+
:type ServiceId: str
|
|
2879
|
+
:param _PodName: <p>Pod名称</p>
|
|
2880
|
+
:type PodName: str
|
|
2881
|
+
:param _TailLines: <p>日志行数</p>
|
|
2882
|
+
:type TailLines: str
|
|
2883
|
+
"""
|
|
2884
|
+
self._ServiceId = None
|
|
2885
|
+
self._PodName = None
|
|
2886
|
+
self._TailLines = None
|
|
2887
|
+
|
|
2888
|
+
@property
|
|
2889
|
+
def ServiceId(self):
|
|
2890
|
+
r"""<p>服务Id</p>
|
|
2891
|
+
:rtype: str
|
|
2892
|
+
"""
|
|
2893
|
+
return self._ServiceId
|
|
2894
|
+
|
|
2895
|
+
@ServiceId.setter
|
|
2896
|
+
def ServiceId(self, ServiceId):
|
|
2897
|
+
self._ServiceId = ServiceId
|
|
2898
|
+
|
|
2899
|
+
@property
|
|
2900
|
+
def PodName(self):
|
|
2901
|
+
r"""<p>Pod名称</p>
|
|
2902
|
+
:rtype: str
|
|
2903
|
+
"""
|
|
2904
|
+
return self._PodName
|
|
2905
|
+
|
|
2906
|
+
@PodName.setter
|
|
2907
|
+
def PodName(self, PodName):
|
|
2908
|
+
self._PodName = PodName
|
|
2909
|
+
|
|
2910
|
+
@property
|
|
2911
|
+
def TailLines(self):
|
|
2912
|
+
r"""<p>日志行数</p>
|
|
2913
|
+
:rtype: str
|
|
2914
|
+
"""
|
|
2915
|
+
return self._TailLines
|
|
2916
|
+
|
|
2917
|
+
@TailLines.setter
|
|
2918
|
+
def TailLines(self, TailLines):
|
|
2919
|
+
self._TailLines = TailLines
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
def _deserialize(self, params):
|
|
2923
|
+
self._ServiceId = params.get("ServiceId")
|
|
2924
|
+
self._PodName = params.get("PodName")
|
|
2925
|
+
self._TailLines = params.get("TailLines")
|
|
2926
|
+
memeber_set = set(params.keys())
|
|
2927
|
+
for name, value in vars(self).items():
|
|
2928
|
+
property_name = name[1:]
|
|
2929
|
+
if property_name in memeber_set:
|
|
2930
|
+
memeber_set.remove(property_name)
|
|
2931
|
+
if len(memeber_set) > 0:
|
|
2932
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2933
|
+
|
|
2934
|
+
|
|
2845
2935
|
|
|
2846
2936
|
class GetServicePodLogsResponse(AbstractModel):
|
|
2847
2937
|
r"""GetServicePodLogs返回参数结构体
|
|
@@ -2850,11 +2940,25 @@ class GetServicePodLogsResponse(AbstractModel):
|
|
|
2850
2940
|
|
|
2851
2941
|
def __init__(self):
|
|
2852
2942
|
r"""
|
|
2943
|
+
:param _LogLines: <p>日志内容</p>
|
|
2944
|
+
:type LogLines: list of str
|
|
2853
2945
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2854
2946
|
:type RequestId: str
|
|
2855
2947
|
"""
|
|
2948
|
+
self._LogLines = None
|
|
2856
2949
|
self._RequestId = None
|
|
2857
2950
|
|
|
2951
|
+
@property
|
|
2952
|
+
def LogLines(self):
|
|
2953
|
+
r"""<p>日志内容</p>
|
|
2954
|
+
:rtype: list of str
|
|
2955
|
+
"""
|
|
2956
|
+
return self._LogLines
|
|
2957
|
+
|
|
2958
|
+
@LogLines.setter
|
|
2959
|
+
def LogLines(self, LogLines):
|
|
2960
|
+
self._LogLines = LogLines
|
|
2961
|
+
|
|
2858
2962
|
@property
|
|
2859
2963
|
def RequestId(self):
|
|
2860
2964
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2868,6 +2972,7 @@ class GetServicePodLogsResponse(AbstractModel):
|
|
|
2868
2972
|
|
|
2869
2973
|
|
|
2870
2974
|
def _deserialize(self, params):
|
|
2975
|
+
self._LogLines = params.get("LogLines")
|
|
2871
2976
|
self._RequestId = params.get("RequestId")
|
|
2872
2977
|
|
|
2873
2978
|
|
|
@@ -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.181
|
|
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.181
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.179
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|