tencentcloud-sdk-python-tione 3.1.179__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.179 → tencentcloud_sdk_python_tione-3.1.188}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/setup.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/models.py +115 -4
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/tione_client.py +23 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
- {tencentcloud_sdk_python_tione-3.1.179 → 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.179/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → tencentcloud_sdk_python_tione-3.1.188}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.179 → 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
|
|
|
@@ -14066,9 +14162,12 @@ class EnvVar(AbstractModel):
|
|
|
14066
14162
|
:param _Value: <p>环境变量value</p>
|
|
14067
14163
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14068
14164
|
:type Value: str
|
|
14165
|
+
:param _IsPrivate: <p>是否对外不可见,true 表示该环境变量的 Value 为敏感值.</p>
|
|
14166
|
+
:type IsPrivate: bool
|
|
14069
14167
|
"""
|
|
14070
14168
|
self._Name = None
|
|
14071
14169
|
self._Value = None
|
|
14170
|
+
self._IsPrivate = None
|
|
14072
14171
|
|
|
14073
14172
|
@property
|
|
14074
14173
|
def Name(self):
|
|
@@ -14094,10 +14193,22 @@ class EnvVar(AbstractModel):
|
|
|
14094
14193
|
def Value(self, Value):
|
|
14095
14194
|
self._Value = Value
|
|
14096
14195
|
|
|
14196
|
+
@property
|
|
14197
|
+
def IsPrivate(self):
|
|
14198
|
+
r"""<p>是否对外不可见,true 表示该环境变量的 Value 为敏感值.</p>
|
|
14199
|
+
:rtype: bool
|
|
14200
|
+
"""
|
|
14201
|
+
return self._IsPrivate
|
|
14202
|
+
|
|
14203
|
+
@IsPrivate.setter
|
|
14204
|
+
def IsPrivate(self, IsPrivate):
|
|
14205
|
+
self._IsPrivate = IsPrivate
|
|
14206
|
+
|
|
14097
14207
|
|
|
14098
14208
|
def _deserialize(self, params):
|
|
14099
14209
|
self._Name = params.get("Name")
|
|
14100
14210
|
self._Value = params.get("Value")
|
|
14211
|
+
self._IsPrivate = params.get("IsPrivate")
|
|
14101
14212
|
memeber_set = set(params.keys())
|
|
14102
14213
|
for name, value in vars(self).items():
|
|
14103
14214
|
property_name = name[1:]
|
|
@@ -22015,9 +22126,9 @@ class Option(AbstractModel):
|
|
|
22015
22126
|
|
|
22016
22127
|
def __init__(self):
|
|
22017
22128
|
r"""
|
|
22018
|
-
:param _Name:
|
|
22129
|
+
:param _Name: <p>指标名</p>
|
|
22019
22130
|
:type Name: str
|
|
22020
|
-
:param _Value:
|
|
22131
|
+
:param _Value: <p>指标值</p>
|
|
22021
22132
|
:type Value: int
|
|
22022
22133
|
"""
|
|
22023
22134
|
self._Name = None
|
|
@@ -22025,7 +22136,7 @@ class Option(AbstractModel):
|
|
|
22025
22136
|
|
|
22026
22137
|
@property
|
|
22027
22138
|
def Name(self):
|
|
22028
|
-
r"""
|
|
22139
|
+
r"""<p>指标名</p>
|
|
22029
22140
|
:rtype: str
|
|
22030
22141
|
"""
|
|
22031
22142
|
return self._Name
|
|
@@ -22036,7 +22147,7 @@ class Option(AbstractModel):
|
|
|
22036
22147
|
|
|
22037
22148
|
@property
|
|
22038
22149
|
def Value(self):
|
|
22039
|
-
r"""
|
|
22150
|
+
r"""<p>指标值</p>
|
|
22040
22151
|
:rtype: int
|
|
22041
22152
|
"""
|
|
22042
22153
|
return self._Value
|
|
@@ -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.179
|
|
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
|