tencentcloud-sdk-python-tione 3.1.142__tar.gz → 3.1.143__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.142 → tencentcloud_sdk_python_tione-3.1.143}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/setup.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20211111/models.py +153 -8
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tione-3.1.143/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tione-3.1.142/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20211111/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud/tione/v20211111/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.142 → tencentcloud_sdk_python_tione-3.1.143}/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.143
|
|
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.143
|
|
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.143,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tione SDK for Python',
|
|
@@ -4443,6 +4443,10 @@ class CreateTrainingTaskRequest(AbstractModel):
|
|
|
4443
4443
|
:type ExposeNetworkConfig: :class:`tencentcloud.tione.v20211111.models.ExposeNetworkConfig`
|
|
4444
4444
|
:param _Envs: <p>环境变量</p>
|
|
4445
4445
|
:type Envs: list of EnvVar
|
|
4446
|
+
:param _TrainToolConfig: <p>训练诊断工具配置</p>
|
|
4447
|
+
:type TrainToolConfig: :class:`tencentcloud.tione.v20211111.models.TrainToolConfig`
|
|
4448
|
+
:param _ResourceSupplyAttribute: <p>资源供应属性</p>
|
|
4449
|
+
:type ResourceSupplyAttribute: :class:`tencentcloud.tione.v20211111.models.ResourceSupplyAttribute`
|
|
4446
4450
|
"""
|
|
4447
4451
|
self._Name = None
|
|
4448
4452
|
self._ChargeType = None
|
|
@@ -4471,6 +4475,8 @@ class CreateTrainingTaskRequest(AbstractModel):
|
|
|
4471
4475
|
self._CodeRepos = None
|
|
4472
4476
|
self._ExposeNetworkConfig = None
|
|
4473
4477
|
self._Envs = None
|
|
4478
|
+
self._TrainToolConfig = None
|
|
4479
|
+
self._ResourceSupplyAttribute = None
|
|
4474
4480
|
|
|
4475
4481
|
@property
|
|
4476
4482
|
def Name(self):
|
|
@@ -4769,6 +4775,28 @@ class CreateTrainingTaskRequest(AbstractModel):
|
|
|
4769
4775
|
def Envs(self, Envs):
|
|
4770
4776
|
self._Envs = Envs
|
|
4771
4777
|
|
|
4778
|
+
@property
|
|
4779
|
+
def TrainToolConfig(self):
|
|
4780
|
+
r"""<p>训练诊断工具配置</p>
|
|
4781
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.TrainToolConfig`
|
|
4782
|
+
"""
|
|
4783
|
+
return self._TrainToolConfig
|
|
4784
|
+
|
|
4785
|
+
@TrainToolConfig.setter
|
|
4786
|
+
def TrainToolConfig(self, TrainToolConfig):
|
|
4787
|
+
self._TrainToolConfig = TrainToolConfig
|
|
4788
|
+
|
|
4789
|
+
@property
|
|
4790
|
+
def ResourceSupplyAttribute(self):
|
|
4791
|
+
r"""<p>资源供应属性</p>
|
|
4792
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ResourceSupplyAttribute`
|
|
4793
|
+
"""
|
|
4794
|
+
return self._ResourceSupplyAttribute
|
|
4795
|
+
|
|
4796
|
+
@ResourceSupplyAttribute.setter
|
|
4797
|
+
def ResourceSupplyAttribute(self, ResourceSupplyAttribute):
|
|
4798
|
+
self._ResourceSupplyAttribute = ResourceSupplyAttribute
|
|
4799
|
+
|
|
4772
4800
|
|
|
4773
4801
|
def _deserialize(self, params):
|
|
4774
4802
|
self._Name = params.get("Name")
|
|
@@ -4837,6 +4865,12 @@ class CreateTrainingTaskRequest(AbstractModel):
|
|
|
4837
4865
|
obj = EnvVar()
|
|
4838
4866
|
obj._deserialize(item)
|
|
4839
4867
|
self._Envs.append(obj)
|
|
4868
|
+
if params.get("TrainToolConfig") is not None:
|
|
4869
|
+
self._TrainToolConfig = TrainToolConfig()
|
|
4870
|
+
self._TrainToolConfig._deserialize(params.get("TrainToolConfig"))
|
|
4871
|
+
if params.get("ResourceSupplyAttribute") is not None:
|
|
4872
|
+
self._ResourceSupplyAttribute = ResourceSupplyAttribute()
|
|
4873
|
+
self._ResourceSupplyAttribute._deserialize(params.get("ResourceSupplyAttribute"))
|
|
4840
4874
|
memeber_set = set(params.keys())
|
|
4841
4875
|
for name, value in vars(self).items():
|
|
4842
4876
|
property_name = name[1:]
|
|
@@ -10067,6 +10101,8 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10067
10101
|
:type Filters: list of Filter
|
|
10068
10102
|
:param _Offset: <p>使用OFFSET分页查询时,指定返回的数据偏移量,默认为0</p>
|
|
10069
10103
|
:type Offset: int
|
|
10104
|
+
:param _LogStream: <p>日志类别</p><p>枚举值:</p><ul><li>stdout: stdout</li><li>stderr: stderr</li></ul><p>默认值:""</p>
|
|
10105
|
+
:type LogStream: str
|
|
10070
10106
|
"""
|
|
10071
10107
|
self._Service = None
|
|
10072
10108
|
self._TiProjectId = None
|
|
@@ -10080,6 +10116,7 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10080
10116
|
self._Context = None
|
|
10081
10117
|
self._Filters = None
|
|
10082
10118
|
self._Offset = None
|
|
10119
|
+
self._LogStream = None
|
|
10083
10120
|
|
|
10084
10121
|
@property
|
|
10085
10122
|
def Service(self):
|
|
@@ -10213,6 +10250,17 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10213
10250
|
def Offset(self, Offset):
|
|
10214
10251
|
self._Offset = Offset
|
|
10215
10252
|
|
|
10253
|
+
@property
|
|
10254
|
+
def LogStream(self):
|
|
10255
|
+
r"""<p>日志类别</p><p>枚举值:</p><ul><li>stdout: stdout</li><li>stderr: stderr</li></ul><p>默认值:""</p>
|
|
10256
|
+
:rtype: str
|
|
10257
|
+
"""
|
|
10258
|
+
return self._LogStream
|
|
10259
|
+
|
|
10260
|
+
@LogStream.setter
|
|
10261
|
+
def LogStream(self, LogStream):
|
|
10262
|
+
self._LogStream = LogStream
|
|
10263
|
+
|
|
10216
10264
|
|
|
10217
10265
|
def _deserialize(self, params):
|
|
10218
10266
|
self._Service = params.get("Service")
|
|
@@ -10232,6 +10280,7 @@ class DescribeLogsRequest(AbstractModel):
|
|
|
10232
10280
|
obj._deserialize(item)
|
|
10233
10281
|
self._Filters.append(obj)
|
|
10234
10282
|
self._Offset = params.get("Offset")
|
|
10283
|
+
self._LogStream = params.get("LogStream")
|
|
10235
10284
|
memeber_set = set(params.keys())
|
|
10236
10285
|
for name, value in vars(self).items():
|
|
10237
10286
|
property_name = name[1:]
|
|
@@ -16513,27 +16562,33 @@ class LogIdentity(AbstractModel):
|
|
|
16513
16562
|
|
|
16514
16563
|
def __init__(self):
|
|
16515
16564
|
r"""
|
|
16516
|
-
:param _Id:
|
|
16565
|
+
:param _Id: <p>单条日志的ID</p>
|
|
16517
16566
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16518
16567
|
:type Id: str
|
|
16519
|
-
:param _Message:
|
|
16568
|
+
:param _Message: <p>单条日志的内容</p>
|
|
16520
16569
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16521
16570
|
:type Message: str
|
|
16522
|
-
:param _PodName:
|
|
16571
|
+
:param _PodName: <p>这条日志对应的Pod名称</p>
|
|
16523
16572
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16524
16573
|
:type PodName: str
|
|
16525
|
-
:param _Timestamp:
|
|
16574
|
+
:param _Timestamp: <p>日志的时间戳(RFC3339格式的时间字符串)</p>
|
|
16526
16575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16527
16576
|
:type Timestamp: str
|
|
16577
|
+
:param _PkgId: <p>日志上报请求包的ID</p>
|
|
16578
|
+
:type PkgId: str
|
|
16579
|
+
:param _PkgLogId: <p>请求包内日志的ID</p>
|
|
16580
|
+
:type PkgLogId: str
|
|
16528
16581
|
"""
|
|
16529
16582
|
self._Id = None
|
|
16530
16583
|
self._Message = None
|
|
16531
16584
|
self._PodName = None
|
|
16532
16585
|
self._Timestamp = None
|
|
16586
|
+
self._PkgId = None
|
|
16587
|
+
self._PkgLogId = None
|
|
16533
16588
|
|
|
16534
16589
|
@property
|
|
16535
16590
|
def Id(self):
|
|
16536
|
-
r"""
|
|
16591
|
+
r"""<p>单条日志的ID</p>
|
|
16537
16592
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16538
16593
|
:rtype: str
|
|
16539
16594
|
"""
|
|
@@ -16545,7 +16600,7 @@ class LogIdentity(AbstractModel):
|
|
|
16545
16600
|
|
|
16546
16601
|
@property
|
|
16547
16602
|
def Message(self):
|
|
16548
|
-
r"""
|
|
16603
|
+
r"""<p>单条日志的内容</p>
|
|
16549
16604
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16550
16605
|
:rtype: str
|
|
16551
16606
|
"""
|
|
@@ -16557,7 +16612,7 @@ class LogIdentity(AbstractModel):
|
|
|
16557
16612
|
|
|
16558
16613
|
@property
|
|
16559
16614
|
def PodName(self):
|
|
16560
|
-
r"""
|
|
16615
|
+
r"""<p>这条日志对应的Pod名称</p>
|
|
16561
16616
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16562
16617
|
:rtype: str
|
|
16563
16618
|
"""
|
|
@@ -16569,7 +16624,7 @@ class LogIdentity(AbstractModel):
|
|
|
16569
16624
|
|
|
16570
16625
|
@property
|
|
16571
16626
|
def Timestamp(self):
|
|
16572
|
-
r"""
|
|
16627
|
+
r"""<p>日志的时间戳(RFC3339格式的时间字符串)</p>
|
|
16573
16628
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16574
16629
|
:rtype: str
|
|
16575
16630
|
"""
|
|
@@ -16579,12 +16634,36 @@ class LogIdentity(AbstractModel):
|
|
|
16579
16634
|
def Timestamp(self, Timestamp):
|
|
16580
16635
|
self._Timestamp = Timestamp
|
|
16581
16636
|
|
|
16637
|
+
@property
|
|
16638
|
+
def PkgId(self):
|
|
16639
|
+
r"""<p>日志上报请求包的ID</p>
|
|
16640
|
+
:rtype: str
|
|
16641
|
+
"""
|
|
16642
|
+
return self._PkgId
|
|
16643
|
+
|
|
16644
|
+
@PkgId.setter
|
|
16645
|
+
def PkgId(self, PkgId):
|
|
16646
|
+
self._PkgId = PkgId
|
|
16647
|
+
|
|
16648
|
+
@property
|
|
16649
|
+
def PkgLogId(self):
|
|
16650
|
+
r"""<p>请求包内日志的ID</p>
|
|
16651
|
+
:rtype: str
|
|
16652
|
+
"""
|
|
16653
|
+
return self._PkgLogId
|
|
16654
|
+
|
|
16655
|
+
@PkgLogId.setter
|
|
16656
|
+
def PkgLogId(self, PkgLogId):
|
|
16657
|
+
self._PkgLogId = PkgLogId
|
|
16658
|
+
|
|
16582
16659
|
|
|
16583
16660
|
def _deserialize(self, params):
|
|
16584
16661
|
self._Id = params.get("Id")
|
|
16585
16662
|
self._Message = params.get("Message")
|
|
16586
16663
|
self._PodName = params.get("PodName")
|
|
16587
16664
|
self._Timestamp = params.get("Timestamp")
|
|
16665
|
+
self._PkgId = params.get("PkgId")
|
|
16666
|
+
self._PkgLogId = params.get("PkgLogId")
|
|
16588
16667
|
memeber_set = set(params.keys())
|
|
16589
16668
|
for name, value in vars(self).items():
|
|
16590
16669
|
property_name = name[1:]
|
|
@@ -29317,6 +29396,72 @@ class TrainParam(AbstractModel):
|
|
|
29317
29396
|
|
|
29318
29397
|
|
|
29319
29398
|
|
|
29399
|
+
class TrainToolConfig(AbstractModel):
|
|
29400
|
+
r"""训练诊断工具配置
|
|
29401
|
+
|
|
29402
|
+
"""
|
|
29403
|
+
|
|
29404
|
+
def __init__(self):
|
|
29405
|
+
r"""
|
|
29406
|
+
:param _EnableHangMonitor: <p>是否开启 Hang 检测</p><p>默认值:false</p>
|
|
29407
|
+
:type EnableHangMonitor: bool
|
|
29408
|
+
:param _HangMonitorNodes: <p>Hang 检测的节点列表</p>
|
|
29409
|
+
:type HangMonitorNodes: list of str
|
|
29410
|
+
:param _LogHangTimeoutInMinute: <p>Hang 超时时间</p><p>取值范围:[1, 14400]</p><p>单位:分</p>
|
|
29411
|
+
:type LogHangTimeoutInMinute: int
|
|
29412
|
+
"""
|
|
29413
|
+
self._EnableHangMonitor = None
|
|
29414
|
+
self._HangMonitorNodes = None
|
|
29415
|
+
self._LogHangTimeoutInMinute = None
|
|
29416
|
+
|
|
29417
|
+
@property
|
|
29418
|
+
def EnableHangMonitor(self):
|
|
29419
|
+
r"""<p>是否开启 Hang 检测</p><p>默认值:false</p>
|
|
29420
|
+
:rtype: bool
|
|
29421
|
+
"""
|
|
29422
|
+
return self._EnableHangMonitor
|
|
29423
|
+
|
|
29424
|
+
@EnableHangMonitor.setter
|
|
29425
|
+
def EnableHangMonitor(self, EnableHangMonitor):
|
|
29426
|
+
self._EnableHangMonitor = EnableHangMonitor
|
|
29427
|
+
|
|
29428
|
+
@property
|
|
29429
|
+
def HangMonitorNodes(self):
|
|
29430
|
+
r"""<p>Hang 检测的节点列表</p>
|
|
29431
|
+
:rtype: list of str
|
|
29432
|
+
"""
|
|
29433
|
+
return self._HangMonitorNodes
|
|
29434
|
+
|
|
29435
|
+
@HangMonitorNodes.setter
|
|
29436
|
+
def HangMonitorNodes(self, HangMonitorNodes):
|
|
29437
|
+
self._HangMonitorNodes = HangMonitorNodes
|
|
29438
|
+
|
|
29439
|
+
@property
|
|
29440
|
+
def LogHangTimeoutInMinute(self):
|
|
29441
|
+
r"""<p>Hang 超时时间</p><p>取值范围:[1, 14400]</p><p>单位:分</p>
|
|
29442
|
+
:rtype: int
|
|
29443
|
+
"""
|
|
29444
|
+
return self._LogHangTimeoutInMinute
|
|
29445
|
+
|
|
29446
|
+
@LogHangTimeoutInMinute.setter
|
|
29447
|
+
def LogHangTimeoutInMinute(self, LogHangTimeoutInMinute):
|
|
29448
|
+
self._LogHangTimeoutInMinute = LogHangTimeoutInMinute
|
|
29449
|
+
|
|
29450
|
+
|
|
29451
|
+
def _deserialize(self, params):
|
|
29452
|
+
self._EnableHangMonitor = params.get("EnableHangMonitor")
|
|
29453
|
+
self._HangMonitorNodes = params.get("HangMonitorNodes")
|
|
29454
|
+
self._LogHangTimeoutInMinute = params.get("LogHangTimeoutInMinute")
|
|
29455
|
+
memeber_set = set(params.keys())
|
|
29456
|
+
for name, value in vars(self).items():
|
|
29457
|
+
property_name = name[1:]
|
|
29458
|
+
if property_name in memeber_set:
|
|
29459
|
+
memeber_set.remove(property_name)
|
|
29460
|
+
if len(memeber_set) > 0:
|
|
29461
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29462
|
+
|
|
29463
|
+
|
|
29464
|
+
|
|
29320
29465
|
class TrainingModelVersionDTO(AbstractModel):
|
|
29321
29466
|
r"""模型版本列表
|
|
29322
29467
|
|
|
@@ -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.143
|
|
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.143
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.143
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.142
|
|
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
|
|
File without changes
|
|
File without changes
|