tencentcloud-sdk-python-tione 3.0.1124__tar.gz → 3.0.1128__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.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/setup.py +1 -1
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20211111/errorcodes.py +3 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20211111/models.py +90 -3
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tione-3.0.1128/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tione-3.0.1124/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/README.rst +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud/tione/v20211111/tione_client.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/tencentcloud_sdk_python_tione.egg-info/top_level.txt +0 -0
|
@@ -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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1128"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tione SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -392,6 +392,9 @@ INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = 'In
|
|
|
392
392
|
# 分页查询limit超出限制
|
|
393
393
|
INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = 'InvalidParameterValue.PageLimitExceeded'
|
|
394
394
|
|
|
395
|
+
# 参数长度超过限制
|
|
396
|
+
INVALIDPARAMETERVALUE_PARAMLENGTHEXCEEDLIMIT = 'InvalidParameterValue.ParamLengthExceedLimit'
|
|
397
|
+
|
|
395
398
|
# 查询vpc信息失败
|
|
396
399
|
INVALIDPARAMETERVALUE_QUERYVPCINFOFAILED = 'InvalidParameterValue.QueryVPCInfoFailed'
|
|
397
400
|
|
|
@@ -1940,6 +1940,8 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1940
1940
|
:type Remark: str
|
|
1941
1941
|
:param _CallbackUrl: 任务执行结果回调URL,仅支持http和https。回调格式&内容详见: [TI-ONE 接口回调说明](https://cloud.tencent.com/document/product/851/84292)
|
|
1942
1942
|
:type CallbackUrl: str
|
|
1943
|
+
:param _StartCmdBase64: 以Base64方式编码的启动命令。假设启动命令是/app/run.sh,则此处输入参数应该为L2FwcC9ydW4uc2g=。
|
|
1944
|
+
:type StartCmdBase64: str
|
|
1943
1945
|
"""
|
|
1944
1946
|
self._BatchTaskName = None
|
|
1945
1947
|
self._ChargeType = None
|
|
@@ -1960,6 +1962,7 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
1960
1962
|
self._SubnetId = None
|
|
1961
1963
|
self._Remark = None
|
|
1962
1964
|
self._CallbackUrl = None
|
|
1965
|
+
self._StartCmdBase64 = None
|
|
1963
1966
|
|
|
1964
1967
|
@property
|
|
1965
1968
|
def BatchTaskName(self):
|
|
@@ -2067,10 +2070,14 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
2067
2070
|
|
|
2068
2071
|
@property
|
|
2069
2072
|
def StartCmd(self):
|
|
2073
|
+
warnings.warn("parameter `StartCmd` is deprecated", DeprecationWarning)
|
|
2074
|
+
|
|
2070
2075
|
return self._StartCmd
|
|
2071
2076
|
|
|
2072
2077
|
@StartCmd.setter
|
|
2073
2078
|
def StartCmd(self, StartCmd):
|
|
2079
|
+
warnings.warn("parameter `StartCmd` is deprecated", DeprecationWarning)
|
|
2080
|
+
|
|
2074
2081
|
self._StartCmd = StartCmd
|
|
2075
2082
|
|
|
2076
2083
|
@property
|
|
@@ -2121,6 +2128,14 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
2121
2128
|
def CallbackUrl(self, CallbackUrl):
|
|
2122
2129
|
self._CallbackUrl = CallbackUrl
|
|
2123
2130
|
|
|
2131
|
+
@property
|
|
2132
|
+
def StartCmdBase64(self):
|
|
2133
|
+
return self._StartCmdBase64
|
|
2134
|
+
|
|
2135
|
+
@StartCmdBase64.setter
|
|
2136
|
+
def StartCmdBase64(self, StartCmdBase64):
|
|
2137
|
+
self._StartCmdBase64 = StartCmdBase64
|
|
2138
|
+
|
|
2124
2139
|
|
|
2125
2140
|
def _deserialize(self, params):
|
|
2126
2141
|
self._BatchTaskName = params.get("BatchTaskName")
|
|
@@ -2169,6 +2184,7 @@ class CreateBatchTaskRequest(AbstractModel):
|
|
|
2169
2184
|
self._SubnetId = params.get("SubnetId")
|
|
2170
2185
|
self._Remark = params.get("Remark")
|
|
2171
2186
|
self._CallbackUrl = params.get("CallbackUrl")
|
|
2187
|
+
self._StartCmdBase64 = params.get("StartCmdBase64")
|
|
2172
2188
|
memeber_set = set(params.keys())
|
|
2173
2189
|
for name, value in vars(self).items():
|
|
2174
2190
|
property_name = name[1:]
|
|
@@ -2523,10 +2539,12 @@ HYBRID_PAID:
|
|
|
2523
2539
|
:type ModelTurboEnable: bool
|
|
2524
2540
|
:param _ServiceCategory: 服务分类
|
|
2525
2541
|
:type ServiceCategory: str
|
|
2526
|
-
:param _Command:
|
|
2542
|
+
:param _Command: 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数
|
|
2527
2543
|
:type Command: str
|
|
2528
2544
|
:param _ServiceEIP: 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
|
|
2529
2545
|
:type ServiceEIP: :class:`tencentcloud.tione.v20211111.models.ServiceEIP`
|
|
2546
|
+
:param _CommandBase64: 服务的启动命令,以base64格式进行输入
|
|
2547
|
+
:type CommandBase64: str
|
|
2530
2548
|
"""
|
|
2531
2549
|
self._ServiceGroupId = None
|
|
2532
2550
|
self._ServiceGroupName = None
|
|
@@ -2559,6 +2577,7 @@ HYBRID_PAID:
|
|
|
2559
2577
|
self._ServiceCategory = None
|
|
2560
2578
|
self._Command = None
|
|
2561
2579
|
self._ServiceEIP = None
|
|
2580
|
+
self._CommandBase64 = None
|
|
2562
2581
|
|
|
2563
2582
|
@property
|
|
2564
2583
|
def ServiceGroupId(self):
|
|
@@ -2808,6 +2827,14 @@ HYBRID_PAID:
|
|
|
2808
2827
|
def ServiceEIP(self, ServiceEIP):
|
|
2809
2828
|
self._ServiceEIP = ServiceEIP
|
|
2810
2829
|
|
|
2830
|
+
@property
|
|
2831
|
+
def CommandBase64(self):
|
|
2832
|
+
return self._CommandBase64
|
|
2833
|
+
|
|
2834
|
+
@CommandBase64.setter
|
|
2835
|
+
def CommandBase64(self, CommandBase64):
|
|
2836
|
+
self._CommandBase64 = CommandBase64
|
|
2837
|
+
|
|
2811
2838
|
|
|
2812
2839
|
def _deserialize(self, params):
|
|
2813
2840
|
self._ServiceGroupId = params.get("ServiceGroupId")
|
|
@@ -2874,6 +2901,7 @@ HYBRID_PAID:
|
|
|
2874
2901
|
if params.get("ServiceEIP") is not None:
|
|
2875
2902
|
self._ServiceEIP = ServiceEIP()
|
|
2876
2903
|
self._ServiceEIP._deserialize(params.get("ServiceEIP"))
|
|
2904
|
+
self._CommandBase64 = params.get("CommandBase64")
|
|
2877
2905
|
memeber_set = set(params.keys())
|
|
2878
2906
|
for name, value in vars(self).items():
|
|
2879
2907
|
property_name = name[1:]
|
|
@@ -3981,7 +4009,7 @@ POSTPAID_BY_HOUR 按量计费
|
|
|
3981
4009
|
:type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
|
|
3982
4010
|
:param _CodePackagePath: COS代码包路径
|
|
3983
4011
|
:type CodePackagePath: :class:`tencentcloud.tione.v20211111.models.CosPathInfo`
|
|
3984
|
-
:param _StartCmdInfo:
|
|
4012
|
+
:param _StartCmdInfo: 任务的启动命令,按任务训练模式输入,如遇特殊字符导致配置失败,可使用EncodedStartCmdInfo参数
|
|
3985
4013
|
:type StartCmdInfo: :class:`tencentcloud.tione.v20211111.models.StartCmdInfo`
|
|
3986
4014
|
:param _TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
|
|
3987
4015
|
:type TrainingMode: str
|
|
@@ -4007,6 +4035,8 @@ POSTPAID_BY_HOUR 按量计费
|
|
|
4007
4035
|
:type CallbackUrl: str
|
|
4008
4036
|
:param _PreTrainModel: 太极预训练模型ID
|
|
4009
4037
|
:type PreTrainModel: :class:`tencentcloud.tione.v20211111.models.PreTrainModel`
|
|
4038
|
+
:param _EncodedStartCmdInfo: 编码后的任务启动命令,与StartCmdInfo同时配置时,仅当前参数生效
|
|
4039
|
+
:type EncodedStartCmdInfo: :class:`tencentcloud.tione.v20211111.models.EncodedStartCmdInfo`
|
|
4010
4040
|
"""
|
|
4011
4041
|
self._Name = None
|
|
4012
4042
|
self._ChargeType = None
|
|
@@ -4031,6 +4061,7 @@ POSTPAID_BY_HOUR 按量计费
|
|
|
4031
4061
|
self._DataSource = None
|
|
4032
4062
|
self._CallbackUrl = None
|
|
4033
4063
|
self._PreTrainModel = None
|
|
4064
|
+
self._EncodedStartCmdInfo = None
|
|
4034
4065
|
|
|
4035
4066
|
@property
|
|
4036
4067
|
def Name(self):
|
|
@@ -4216,6 +4247,14 @@ POSTPAID_BY_HOUR 按量计费
|
|
|
4216
4247
|
def PreTrainModel(self, PreTrainModel):
|
|
4217
4248
|
self._PreTrainModel = PreTrainModel
|
|
4218
4249
|
|
|
4250
|
+
@property
|
|
4251
|
+
def EncodedStartCmdInfo(self):
|
|
4252
|
+
return self._EncodedStartCmdInfo
|
|
4253
|
+
|
|
4254
|
+
@EncodedStartCmdInfo.setter
|
|
4255
|
+
def EncodedStartCmdInfo(self, EncodedStartCmdInfo):
|
|
4256
|
+
self._EncodedStartCmdInfo = EncodedStartCmdInfo
|
|
4257
|
+
|
|
4219
4258
|
|
|
4220
4259
|
def _deserialize(self, params):
|
|
4221
4260
|
self._Name = params.get("Name")
|
|
@@ -4268,6 +4307,9 @@ POSTPAID_BY_HOUR 按量计费
|
|
|
4268
4307
|
if params.get("PreTrainModel") is not None:
|
|
4269
4308
|
self._PreTrainModel = PreTrainModel()
|
|
4270
4309
|
self._PreTrainModel._deserialize(params.get("PreTrainModel"))
|
|
4310
|
+
if params.get("EncodedStartCmdInfo") is not None:
|
|
4311
|
+
self._EncodedStartCmdInfo = EncodedStartCmdInfo()
|
|
4312
|
+
self._EncodedStartCmdInfo._deserialize(params.get("EncodedStartCmdInfo"))
|
|
4271
4313
|
memeber_set = set(params.keys())
|
|
4272
4314
|
for name, value in vars(self).items():
|
|
4273
4315
|
property_name = name[1:]
|
|
@@ -11237,6 +11279,39 @@ class DetectionLabelInfo(AbstractModel):
|
|
|
11237
11279
|
|
|
11238
11280
|
|
|
11239
11281
|
|
|
11282
|
+
class EncodedStartCmdInfo(AbstractModel):
|
|
11283
|
+
"""编码后的启动命令信息
|
|
11284
|
+
|
|
11285
|
+
"""
|
|
11286
|
+
|
|
11287
|
+
def __init__(self):
|
|
11288
|
+
r"""
|
|
11289
|
+
:param _StartCmdInfo: 任务的启动命令,以base64格式输入,注意转换时需要完整输入{"StartCmd":"","PsStartCmd":"","WorkerStartCmd":""}
|
|
11290
|
+
:type StartCmdInfo: str
|
|
11291
|
+
"""
|
|
11292
|
+
self._StartCmdInfo = None
|
|
11293
|
+
|
|
11294
|
+
@property
|
|
11295
|
+
def StartCmdInfo(self):
|
|
11296
|
+
return self._StartCmdInfo
|
|
11297
|
+
|
|
11298
|
+
@StartCmdInfo.setter
|
|
11299
|
+
def StartCmdInfo(self, StartCmdInfo):
|
|
11300
|
+
self._StartCmdInfo = StartCmdInfo
|
|
11301
|
+
|
|
11302
|
+
|
|
11303
|
+
def _deserialize(self, params):
|
|
11304
|
+
self._StartCmdInfo = params.get("StartCmdInfo")
|
|
11305
|
+
memeber_set = set(params.keys())
|
|
11306
|
+
for name, value in vars(self).items():
|
|
11307
|
+
property_name = name[1:]
|
|
11308
|
+
if property_name in memeber_set:
|
|
11309
|
+
memeber_set.remove(property_name)
|
|
11310
|
+
if len(memeber_set) > 0:
|
|
11311
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11312
|
+
|
|
11313
|
+
|
|
11314
|
+
|
|
11240
11315
|
class EngineVersion(AbstractModel):
|
|
11241
11316
|
"""引擎版本
|
|
11242
11317
|
|
|
@@ -14658,10 +14733,12 @@ HYBRID_PAID:
|
|
|
14658
14733
|
:type VolumeMount: :class:`tencentcloud.tione.v20211111.models.VolumeMount`
|
|
14659
14734
|
:param _ModelTurboEnable: 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。默认不开启
|
|
14660
14735
|
:type ModelTurboEnable: bool
|
|
14661
|
-
:param _Command:
|
|
14736
|
+
:param _Command: 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数
|
|
14662
14737
|
:type Command: str
|
|
14663
14738
|
:param _ServiceEIP: 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。
|
|
14664
14739
|
:type ServiceEIP: :class:`tencentcloud.tione.v20211111.models.ServiceEIP`
|
|
14740
|
+
:param _CommandBase64: 服务的启动命令,以base64格式进行输入
|
|
14741
|
+
:type CommandBase64: str
|
|
14665
14742
|
"""
|
|
14666
14743
|
self._ServiceId = None
|
|
14667
14744
|
self._ModelInfo = None
|
|
@@ -14686,6 +14763,7 @@ HYBRID_PAID:
|
|
|
14686
14763
|
self._ModelTurboEnable = None
|
|
14687
14764
|
self._Command = None
|
|
14688
14765
|
self._ServiceEIP = None
|
|
14766
|
+
self._CommandBase64 = None
|
|
14689
14767
|
|
|
14690
14768
|
@property
|
|
14691
14769
|
def ServiceId(self):
|
|
@@ -14871,6 +14949,14 @@ HYBRID_PAID:
|
|
|
14871
14949
|
def ServiceEIP(self, ServiceEIP):
|
|
14872
14950
|
self._ServiceEIP = ServiceEIP
|
|
14873
14951
|
|
|
14952
|
+
@property
|
|
14953
|
+
def CommandBase64(self):
|
|
14954
|
+
return self._CommandBase64
|
|
14955
|
+
|
|
14956
|
+
@CommandBase64.setter
|
|
14957
|
+
def CommandBase64(self, CommandBase64):
|
|
14958
|
+
self._CommandBase64 = CommandBase64
|
|
14959
|
+
|
|
14874
14960
|
|
|
14875
14961
|
def _deserialize(self, params):
|
|
14876
14962
|
self._ServiceId = params.get("ServiceId")
|
|
@@ -14924,6 +15010,7 @@ HYBRID_PAID:
|
|
|
14924
15010
|
if params.get("ServiceEIP") is not None:
|
|
14925
15011
|
self._ServiceEIP = ServiceEIP()
|
|
14926
15012
|
self._ServiceEIP._deserialize(params.get("ServiceEIP"))
|
|
15013
|
+
self._CommandBase64 = params.get("CommandBase64")
|
|
14927
15014
|
memeber_set = set(params.keys())
|
|
14928
15015
|
for name, value in vars(self).items():
|
|
14929
15016
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1128
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1124
|
{tencentcloud-sdk-python-tione-3.0.1124 → tencentcloud-sdk-python-tione-3.0.1128}/README.rst
RENAMED
|
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
|