tencentcloud-sdk-python-tione 3.1.181__tar.gz → 3.1.188__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_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/setup.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/models.py +96 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/tione_client.py +23 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tione-3.1.188/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tione-3.1.181/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.181 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.188
|
|
4
4
|
Summary: Tencent Cloud Tione 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.188
|
|
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-tione',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.188,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tione SDK for Python',
|
|
@@ -14017,6 +14017,102 @@ class DeviceMaterialInfo(AbstractModel):
|
|
|
14017
14017
|
|
|
14018
14018
|
|
|
14019
14019
|
|
|
14020
|
+
class EnableTrainingTaskClsConfigRequest(AbstractModel):
|
|
14021
|
+
r"""EnableTrainingTaskClsConfig请求参数结构体
|
|
14022
|
+
|
|
14023
|
+
"""
|
|
14024
|
+
|
|
14025
|
+
def __init__(self):
|
|
14026
|
+
r"""
|
|
14027
|
+
:param _TaskId: 训练任务ID
|
|
14028
|
+
:type TaskId: str
|
|
14029
|
+
:param _LogEnable: 是否开启CLS日志投递
|
|
14030
|
+
:type LogEnable: bool
|
|
14031
|
+
:param _LogConfig: 日志配置
|
|
14032
|
+
:type LogConfig: :class:`tencentcloud.tione.v20211111.models.LogConfig`
|
|
14033
|
+
"""
|
|
14034
|
+
self._TaskId = None
|
|
14035
|
+
self._LogEnable = None
|
|
14036
|
+
self._LogConfig = None
|
|
14037
|
+
|
|
14038
|
+
@property
|
|
14039
|
+
def TaskId(self):
|
|
14040
|
+
r"""训练任务ID
|
|
14041
|
+
:rtype: str
|
|
14042
|
+
"""
|
|
14043
|
+
return self._TaskId
|
|
14044
|
+
|
|
14045
|
+
@TaskId.setter
|
|
14046
|
+
def TaskId(self, TaskId):
|
|
14047
|
+
self._TaskId = TaskId
|
|
14048
|
+
|
|
14049
|
+
@property
|
|
14050
|
+
def LogEnable(self):
|
|
14051
|
+
r"""是否开启CLS日志投递
|
|
14052
|
+
:rtype: bool
|
|
14053
|
+
"""
|
|
14054
|
+
return self._LogEnable
|
|
14055
|
+
|
|
14056
|
+
@LogEnable.setter
|
|
14057
|
+
def LogEnable(self, LogEnable):
|
|
14058
|
+
self._LogEnable = LogEnable
|
|
14059
|
+
|
|
14060
|
+
@property
|
|
14061
|
+
def LogConfig(self):
|
|
14062
|
+
r"""日志配置
|
|
14063
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.LogConfig`
|
|
14064
|
+
"""
|
|
14065
|
+
return self._LogConfig
|
|
14066
|
+
|
|
14067
|
+
@LogConfig.setter
|
|
14068
|
+
def LogConfig(self, LogConfig):
|
|
14069
|
+
self._LogConfig = LogConfig
|
|
14070
|
+
|
|
14071
|
+
|
|
14072
|
+
def _deserialize(self, params):
|
|
14073
|
+
self._TaskId = params.get("TaskId")
|
|
14074
|
+
self._LogEnable = params.get("LogEnable")
|
|
14075
|
+
if params.get("LogConfig") is not None:
|
|
14076
|
+
self._LogConfig = LogConfig()
|
|
14077
|
+
self._LogConfig._deserialize(params.get("LogConfig"))
|
|
14078
|
+
memeber_set = set(params.keys())
|
|
14079
|
+
for name, value in vars(self).items():
|
|
14080
|
+
property_name = name[1:]
|
|
14081
|
+
if property_name in memeber_set:
|
|
14082
|
+
memeber_set.remove(property_name)
|
|
14083
|
+
if len(memeber_set) > 0:
|
|
14084
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14085
|
+
|
|
14086
|
+
|
|
14087
|
+
|
|
14088
|
+
class EnableTrainingTaskClsConfigResponse(AbstractModel):
|
|
14089
|
+
r"""EnableTrainingTaskClsConfig返回参数结构体
|
|
14090
|
+
|
|
14091
|
+
"""
|
|
14092
|
+
|
|
14093
|
+
def __init__(self):
|
|
14094
|
+
r"""
|
|
14095
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14096
|
+
:type RequestId: str
|
|
14097
|
+
"""
|
|
14098
|
+
self._RequestId = None
|
|
14099
|
+
|
|
14100
|
+
@property
|
|
14101
|
+
def RequestId(self):
|
|
14102
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14103
|
+
:rtype: str
|
|
14104
|
+
"""
|
|
14105
|
+
return self._RequestId
|
|
14106
|
+
|
|
14107
|
+
@RequestId.setter
|
|
14108
|
+
def RequestId(self, RequestId):
|
|
14109
|
+
self._RequestId = RequestId
|
|
14110
|
+
|
|
14111
|
+
|
|
14112
|
+
def _deserialize(self, params):
|
|
14113
|
+
self._RequestId = params.get("RequestId")
|
|
14114
|
+
|
|
14115
|
+
|
|
14020
14116
|
class EncodedStartCmdInfo(AbstractModel):
|
|
14021
14117
|
r"""编码后的启动命令信息
|
|
14022
14118
|
|
|
@@ -1411,6 +1411,29 @@ class TioneClient(AbstractClient):
|
|
|
1411
1411
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1412
1412
|
|
|
1413
1413
|
|
|
1414
|
+
def EnableTrainingTaskClsConfig(self, request):
|
|
1415
|
+
r"""开启CLS日志投递
|
|
1416
|
+
|
|
1417
|
+
:param request: Request instance for EnableTrainingTaskClsConfig.
|
|
1418
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.EnableTrainingTaskClsConfigRequest`
|
|
1419
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.EnableTrainingTaskClsConfigResponse`
|
|
1420
|
+
|
|
1421
|
+
"""
|
|
1422
|
+
try:
|
|
1423
|
+
params = request._serialize()
|
|
1424
|
+
headers = request.headers
|
|
1425
|
+
body = self.call("EnableTrainingTaskClsConfig", params, headers=headers)
|
|
1426
|
+
response = json.loads(body)
|
|
1427
|
+
model = models.EnableTrainingTaskClsConfigResponse()
|
|
1428
|
+
model._deserialize(response["Response"])
|
|
1429
|
+
return model
|
|
1430
|
+
except Exception as e:
|
|
1431
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1432
|
+
raise
|
|
1433
|
+
else:
|
|
1434
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1435
|
+
|
|
1436
|
+
|
|
1414
1437
|
def ModifyModelService(self, request):
|
|
1415
1438
|
r"""用于更新模型服务
|
|
1416
1439
|
|
|
@@ -1110,6 +1110,24 @@ class TioneClient(AbstractClient):
|
|
|
1110
1110
|
|
|
1111
1111
|
return await self.call_and_deserialize(**kwargs)
|
|
1112
1112
|
|
|
1113
|
+
async def EnableTrainingTaskClsConfig(
|
|
1114
|
+
self,
|
|
1115
|
+
request: models.EnableTrainingTaskClsConfigRequest,
|
|
1116
|
+
opts: Dict = None,
|
|
1117
|
+
) -> models.EnableTrainingTaskClsConfigResponse:
|
|
1118
|
+
"""
|
|
1119
|
+
开启CLS日志投递
|
|
1120
|
+
"""
|
|
1121
|
+
|
|
1122
|
+
kwargs = {}
|
|
1123
|
+
kwargs["action"] = "EnableTrainingTaskClsConfig"
|
|
1124
|
+
kwargs["params"] = request._serialize()
|
|
1125
|
+
kwargs["resp_cls"] = models.EnableTrainingTaskClsConfigResponse
|
|
1126
|
+
kwargs["headers"] = request.headers
|
|
1127
|
+
kwargs["opts"] = opts or {}
|
|
1128
|
+
|
|
1129
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1130
|
+
|
|
1113
1131
|
async def ModifyModelService(
|
|
1114
1132
|
self,
|
|
1115
1133
|
request: models.ModifyModelServiceRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.188
|
|
4
4
|
Summary: Tencent Cloud Tione 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.188
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.188
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|