tencentcloud-sdk-python-tione 3.1.207__tar.gz → 3.1.214__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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20211111/models.py +167 -86
  5. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20211111/tione_client.py +23 -0
  6. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
  7. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tione-3.1.214/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tione-3.1.207/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20191022/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20191022/models.py +0 -0
  16. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20191022/tione_client.py +0 -0
  17. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
  18. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20211111/__init__.py +0 -0
  19. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tione-3.1.207 → tencentcloud_sdk_python_tione-3.1.214}/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.207
3
+ Version: 3.1.214
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.207
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
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.207,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.214,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tione SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.207'
17
+ __version__ = '3.1.214'
@@ -22700,6 +22700,117 @@ class ModifyServiceGroupWeightsResponse(AbstractModel):
22700
22700
  self._RequestId = params.get("RequestId")
22701
22701
 
22702
22702
 
22703
+ class ModifyTrainingTaskSchedulingPolicyRequest(AbstractModel):
22704
+ r"""ModifyTrainingTaskSchedulingPolicy请求参数结构体
22705
+
22706
+ """
22707
+
22708
+ def __init__(self):
22709
+ r"""
22710
+ :param _TrainingTaskId: <p>训练任务 id</p>
22711
+ :type TrainingTaskId: str
22712
+ :param _TiProjectId: <p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
22713
+ :type TiProjectId: str
22714
+ :param _CrossResourceGroupScheduling: <p>是否开启跨资源组调度。缺省为 false,仅改优先级时若任务已开启需显式传 true,否则会被关闭。</p>
22715
+ :type CrossResourceGroupScheduling: bool
22716
+ :param _SchedulePolicy: <p>调度策略</p>
22717
+ :type SchedulePolicy: :class:`tencentcloud.tione.v20211111.models.SchedulePolicy`
22718
+ """
22719
+ self._TrainingTaskId = None
22720
+ self._TiProjectId = None
22721
+ self._CrossResourceGroupScheduling = None
22722
+ self._SchedulePolicy = None
22723
+
22724
+ @property
22725
+ def TrainingTaskId(self):
22726
+ r"""<p>训练任务 id</p>
22727
+ :rtype: str
22728
+ """
22729
+ return self._TrainingTaskId
22730
+
22731
+ @TrainingTaskId.setter
22732
+ def TrainingTaskId(self, TrainingTaskId):
22733
+ self._TrainingTaskId = TrainingTaskId
22734
+
22735
+ @property
22736
+ def TiProjectId(self):
22737
+ r"""<p>TI工作空间ID</p><p>使用非默认空间必须填写工作空间ID,使用默认空间无需填写工作空间ID。</p>
22738
+ :rtype: str
22739
+ """
22740
+ return self._TiProjectId
22741
+
22742
+ @TiProjectId.setter
22743
+ def TiProjectId(self, TiProjectId):
22744
+ self._TiProjectId = TiProjectId
22745
+
22746
+ @property
22747
+ def CrossResourceGroupScheduling(self):
22748
+ r"""<p>是否开启跨资源组调度。缺省为 false,仅改优先级时若任务已开启需显式传 true,否则会被关闭。</p>
22749
+ :rtype: bool
22750
+ """
22751
+ return self._CrossResourceGroupScheduling
22752
+
22753
+ @CrossResourceGroupScheduling.setter
22754
+ def CrossResourceGroupScheduling(self, CrossResourceGroupScheduling):
22755
+ self._CrossResourceGroupScheduling = CrossResourceGroupScheduling
22756
+
22757
+ @property
22758
+ def SchedulePolicy(self):
22759
+ r"""<p>调度策略</p>
22760
+ :rtype: :class:`tencentcloud.tione.v20211111.models.SchedulePolicy`
22761
+ """
22762
+ return self._SchedulePolicy
22763
+
22764
+ @SchedulePolicy.setter
22765
+ def SchedulePolicy(self, SchedulePolicy):
22766
+ self._SchedulePolicy = SchedulePolicy
22767
+
22768
+
22769
+ def _deserialize(self, params):
22770
+ self._TrainingTaskId = params.get("TrainingTaskId")
22771
+ self._TiProjectId = params.get("TiProjectId")
22772
+ self._CrossResourceGroupScheduling = params.get("CrossResourceGroupScheduling")
22773
+ if params.get("SchedulePolicy") is not None:
22774
+ self._SchedulePolicy = SchedulePolicy()
22775
+ self._SchedulePolicy._deserialize(params.get("SchedulePolicy"))
22776
+ memeber_set = set(params.keys())
22777
+ for name, value in vars(self).items():
22778
+ property_name = name[1:]
22779
+ if property_name in memeber_set:
22780
+ memeber_set.remove(property_name)
22781
+ if len(memeber_set) > 0:
22782
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
22783
+
22784
+
22785
+
22786
+ class ModifyTrainingTaskSchedulingPolicyResponse(AbstractModel):
22787
+ r"""ModifyTrainingTaskSchedulingPolicy返回参数结构体
22788
+
22789
+ """
22790
+
22791
+ def __init__(self):
22792
+ r"""
22793
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22794
+ :type RequestId: str
22795
+ """
22796
+ self._RequestId = None
22797
+
22798
+ @property
22799
+ def RequestId(self):
22800
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
22801
+ :rtype: str
22802
+ """
22803
+ return self._RequestId
22804
+
22805
+ @RequestId.setter
22806
+ def RequestId(self, RequestId):
22807
+ self._RequestId = RequestId
22808
+
22809
+
22810
+ def _deserialize(self, params):
22811
+ self._RequestId = params.get("RequestId")
22812
+
22813
+
22703
22814
  class ModifyUserGrantRequest(AbstractModel):
22704
22815
  r"""ModifyUserGrant请求参数结构体
22705
22816
 
@@ -27268,57 +27379,23 @@ class ResourceConfigInfo(AbstractModel):
27268
27379
 
27269
27380
  def __init__(self):
27270
27381
  r"""
27271
- :param _Role: 角色,eg:PS、WORKER、DRIVER、EXECUTOR
27382
+ :param _Role: <p>角色,eg:PS、WORKER、DRIVER、EXECUTOR</p>
27272
27383
  :type Role: str
27273
- :param _Cpu: cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核
27384
+ :param _Cpu: <p>cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核</p>
27274
27385
  :type Cpu: int
27275
- :param _Memory: 内存,使用资源组时需配置。单位为MB
27386
+ :param _Memory: <p>内存,使用资源组时需配置。单位为MB</p>
27276
27387
  :type Memory: int
27277
- :param _GpuType: gpu卡类型,使用资源组时需配置
27388
+ :param _GpuType: <p>gpu卡类型,使用资源组时需配置</p>
27278
27389
  :type GpuType: str
27279
- :param _Gpu: gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡
27390
+ :param _Gpu: <p>gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡</p>
27280
27391
  :type Gpu: int
27281
- :param _InstanceType: 算力规格ID
27282
- 计算规格 (for后付费),可选值如下:
27283
- TI.S.LARGE.POST: 4C8G
27284
- TI.S.2XLARGE16.POST: 8C16G
27285
- TI.S.2XLARGE32.POST: 8C32G
27286
- TI.S.4XLARGE32.POST: 16C32G
27287
- TI.S.4XLARGE64.POST: 16C64G
27288
- TI.S.6XLARGE48.POST: 24C48G
27289
- TI.S.6XLARGE96.POST: 24C96G
27290
- TI.S.8XLARGE64.POST: 32C64G
27291
- TI.S.8XLARGE128.POST : 32C128G
27292
- TI.GN10.2XLARGE40.POST: 8C40G V100*1
27293
- TI.GN10.5XLARGE80.POST: 18C80G V100*2
27294
- TI.GN10.10XLARGE160.POST : 32C160G V100*4
27295
- TI.GN10.20XLARGE320.POST : 72C320G V100*8
27296
- TI.GN7.8XLARGE128.POST: 32C128G T4*1
27297
- TI.GN7.10XLARGE160.POST: 40C160G T4*2
27298
- TI.GN7.20XLARGE320.POST: 80C32
27392
+ :param _InstanceType: <p>算力规格ID<br>计算规格 (for后付费),可选值如下:<br>TI.S.LARGE.POST: 4C8G<br>TI.S.2XLARGE16.POST: 8C16G<br>TI.S.2XLARGE32.POST: 8C32G<br>TI.S.4XLARGE32.POST: 16C32G<br>TI.S.4XLARGE64.POST: 16C64G<br>TI.S.6XLARGE48.POST: 24C48G<br>TI.S.6XLARGE96.POST: 24C96G<br>TI.S.8XLARGE64.POST: 32C64G<br>TI.S.8XLARGE128.POST : 32C128G<br>TI.GN10.2XLARGE40.POST: 8C40G V100<em>1<br>TI.GN10.5XLARGE80.POST: 18C80G V100</em>2<br>TI.GN10.10XLARGE160.POST : 32C160G V100<em>4<br>TI.GN10.20XLARGE320.POST : 72C320G V100</em>8<br>TI.GN7.8XLARGE128.POST: 32C128G T4<em>1<br>TI.GN7.10XLARGE160.POST: 40C160G T4</em>2<br>TI.GN7.20XLARGE320.POST: 80C32</p>
27299
27393
  :type InstanceType: str
27300
- :param _InstanceNum: 计算节点数
27394
+ :param _InstanceNum: <p>计算节点数</p>
27301
27395
  :type InstanceNum: int
27302
- :param _InstanceTypeAlias: 算力规格名称
27303
- 计算规格 (for后付费),可选值如下:
27304
- 4C8G
27305
- 8C16G
27306
- 8C32G
27307
- 16C32G
27308
- 6C64G
27309
- 24C48G
27310
- 24C96G
27311
- 32C64G
27312
- 32C128G
27313
- 8C40G V100*1
27314
- 8C80G V100*2
27315
- 32C160G V100*4
27316
- 72C320G V100*8
27317
- 32C128G T4*1
27318
- 40C160G T4*2
27319
- 80C32
27396
+ :param _InstanceTypeAlias: <p>算力规格名称<br>计算规格 (for后付费),可选值如下:<br>4C8G<br>8C16G<br>8C32G<br>16C32G<br>6C64G<br>24C48G<br>24C96G<br>32C64G<br>32C128G<br>8C40G V100<em>1<br>8C80G V100</em>2<br>32C160G V100<em>4<br>72C320G V100</em>8<br>32C128G T4<em>1<br>40C160G T4</em>2<br>80C32</p>
27320
27397
  :type InstanceTypeAlias: str
27321
- :param _RDMAConfig: RDMA配置
27398
+ :param _RDMAConfig: <p>RDMA配置</p>
27322
27399
  注意:此字段可能返回 null,表示取不到有效值。
27323
27400
  :type RDMAConfig: :class:`tencentcloud.tione.v20211111.models.RDMAConfig`
27324
27401
  """
@@ -27334,7 +27411,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27334
27411
 
27335
27412
  @property
27336
27413
  def Role(self):
27337
- r"""角色,eg:PS、WORKER、DRIVER、EXECUTOR
27414
+ r"""<p>角色,eg:PS、WORKER、DRIVER、EXECUTOR</p>
27338
27415
  :rtype: str
27339
27416
  """
27340
27417
  return self._Role
@@ -27345,7 +27422,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27345
27422
 
27346
27423
  @property
27347
27424
  def Cpu(self):
27348
- r"""cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核
27425
+ r"""<p>cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核</p>
27349
27426
  :rtype: int
27350
27427
  """
27351
27428
  return self._Cpu
@@ -27356,7 +27433,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27356
27433
 
27357
27434
  @property
27358
27435
  def Memory(self):
27359
- r"""内存,使用资源组时需配置。单位为MB
27436
+ r"""<p>内存,使用资源组时需配置。单位为MB</p>
27360
27437
  :rtype: int
27361
27438
  """
27362
27439
  return self._Memory
@@ -27367,7 +27444,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27367
27444
 
27368
27445
  @property
27369
27446
  def GpuType(self):
27370
- r"""gpu卡类型,使用资源组时需配置
27447
+ r"""<p>gpu卡类型,使用资源组时需配置</p>
27371
27448
  :rtype: str
27372
27449
  """
27373
27450
  return self._GpuType
@@ -27378,7 +27455,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27378
27455
 
27379
27456
  @property
27380
27457
  def Gpu(self):
27381
- r"""gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡
27458
+ r"""<p>gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡</p>
27382
27459
  :rtype: int
27383
27460
  """
27384
27461
  return self._Gpu
@@ -27389,24 +27466,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27389
27466
 
27390
27467
  @property
27391
27468
  def InstanceType(self):
27392
- r"""算力规格ID
27393
- 计算规格 (for后付费),可选值如下:
27394
- TI.S.LARGE.POST: 4C8G
27395
- TI.S.2XLARGE16.POST: 8C16G
27396
- TI.S.2XLARGE32.POST: 8C32G
27397
- TI.S.4XLARGE32.POST: 16C32G
27398
- TI.S.4XLARGE64.POST: 16C64G
27399
- TI.S.6XLARGE48.POST: 24C48G
27400
- TI.S.6XLARGE96.POST: 24C96G
27401
- TI.S.8XLARGE64.POST: 32C64G
27402
- TI.S.8XLARGE128.POST : 32C128G
27403
- TI.GN10.2XLARGE40.POST: 8C40G V100*1
27404
- TI.GN10.5XLARGE80.POST: 18C80G V100*2
27405
- TI.GN10.10XLARGE160.POST : 32C160G V100*4
27406
- TI.GN10.20XLARGE320.POST : 72C320G V100*8
27407
- TI.GN7.8XLARGE128.POST: 32C128G T4*1
27408
- TI.GN7.10XLARGE160.POST: 40C160G T4*2
27409
- TI.GN7.20XLARGE320.POST: 80C32
27469
+ r"""<p>算力规格ID<br>计算规格 (for后付费),可选值如下:<br>TI.S.LARGE.POST: 4C8G<br>TI.S.2XLARGE16.POST: 8C16G<br>TI.S.2XLARGE32.POST: 8C32G<br>TI.S.4XLARGE32.POST: 16C32G<br>TI.S.4XLARGE64.POST: 16C64G<br>TI.S.6XLARGE48.POST: 24C48G<br>TI.S.6XLARGE96.POST: 24C96G<br>TI.S.8XLARGE64.POST: 32C64G<br>TI.S.8XLARGE128.POST : 32C128G<br>TI.GN10.2XLARGE40.POST: 8C40G V100<em>1<br>TI.GN10.5XLARGE80.POST: 18C80G V100</em>2<br>TI.GN10.10XLARGE160.POST : 32C160G V100<em>4<br>TI.GN10.20XLARGE320.POST : 72C320G V100</em>8<br>TI.GN7.8XLARGE128.POST: 32C128G T4<em>1<br>TI.GN7.10XLARGE160.POST: 40C160G T4</em>2<br>TI.GN7.20XLARGE320.POST: 80C32</p>
27410
27470
  :rtype: str
27411
27471
  """
27412
27472
  return self._InstanceType
@@ -27417,7 +27477,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27417
27477
 
27418
27478
  @property
27419
27479
  def InstanceNum(self):
27420
- r"""计算节点数
27480
+ r"""<p>计算节点数</p>
27421
27481
  :rtype: int
27422
27482
  """
27423
27483
  return self._InstanceNum
@@ -27428,24 +27488,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27428
27488
 
27429
27489
  @property
27430
27490
  def InstanceTypeAlias(self):
27431
- r"""算力规格名称
27432
- 计算规格 (for后付费),可选值如下:
27433
- 4C8G
27434
- 8C16G
27435
- 8C32G
27436
- 16C32G
27437
- 6C64G
27438
- 24C48G
27439
- 24C96G
27440
- 32C64G
27441
- 32C128G
27442
- 8C40G V100*1
27443
- 8C80G V100*2
27444
- 32C160G V100*4
27445
- 72C320G V100*8
27446
- 32C128G T4*1
27447
- 40C160G T4*2
27448
- 80C32
27491
+ r"""<p>算力规格名称<br>计算规格 (for后付费),可选值如下:<br>4C8G<br>8C16G<br>8C32G<br>16C32G<br>6C64G<br>24C48G<br>24C96G<br>32C64G<br>32C128G<br>8C40G V100<em>1<br>8C80G V100</em>2<br>32C160G V100<em>4<br>72C320G V100</em>8<br>32C128G T4<em>1<br>40C160G T4</em>2<br>80C32</p>
27449
27492
  :rtype: str
27450
27493
  """
27451
27494
  return self._InstanceTypeAlias
@@ -27456,7 +27499,7 @@ TI.GN7.20XLARGE320.POST: 80C32
27456
27499
 
27457
27500
  @property
27458
27501
  def RDMAConfig(self):
27459
- r"""RDMA配置
27502
+ r"""<p>RDMA配置</p>
27460
27503
  注意:此字段可能返回 null,表示取不到有效值。
27461
27504
  :rtype: :class:`tencentcloud.tione.v20211111.models.RDMAConfig`
27462
27505
  """
@@ -28722,6 +28765,44 @@ class SSHConfig(AbstractModel):
28722
28765
 
28723
28766
 
28724
28767
 
28768
+ class SchedulePolicy(AbstractModel):
28769
+ r"""任务调度策略
28770
+
28771
+ """
28772
+
28773
+ def __init__(self):
28774
+ r"""
28775
+ :param _PriorityClass: <p>任务优先级,取值 p0~p9,p0 最高、p9 最低</p>
28776
+ 注意:此字段可能返回 null,表示取不到有效值。
28777
+ :type PriorityClass: str
28778
+ """
28779
+ self._PriorityClass = None
28780
+
28781
+ @property
28782
+ def PriorityClass(self):
28783
+ r"""<p>任务优先级,取值 p0~p9,p0 最高、p9 最低</p>
28784
+ 注意:此字段可能返回 null,表示取不到有效值。
28785
+ :rtype: str
28786
+ """
28787
+ return self._PriorityClass
28788
+
28789
+ @PriorityClass.setter
28790
+ def PriorityClass(self, PriorityClass):
28791
+ self._PriorityClass = PriorityClass
28792
+
28793
+
28794
+ def _deserialize(self, params):
28795
+ self._PriorityClass = params.get("PriorityClass")
28796
+ memeber_set = set(params.keys())
28797
+ for name, value in vars(self).items():
28798
+ property_name = name[1:]
28799
+ if property_name in memeber_set:
28800
+ memeber_set.remove(property_name)
28801
+ if len(memeber_set) > 0:
28802
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28803
+
28804
+
28805
+
28725
28806
  class ScheduledAction(AbstractModel):
28726
28807
  r"""定时的事务和行为
28727
28808
 
@@ -2145,6 +2145,29 @@ class TioneClient(AbstractClient):
2145
2145
  raise TencentCloudSDKException(type(e).__name__, str(e))
2146
2146
 
2147
2147
 
2148
+ def ModifyTrainingTaskSchedulingPolicy(self, request):
2149
+ r"""更新训练任务的调度策略
2150
+
2151
+ :param request: Request instance for ModifyTrainingTaskSchedulingPolicy.
2152
+ :type request: :class:`tencentcloud.tione.v20211111.models.ModifyTrainingTaskSchedulingPolicyRequest`
2153
+ :rtype: :class:`tencentcloud.tione.v20211111.models.ModifyTrainingTaskSchedulingPolicyResponse`
2154
+
2155
+ """
2156
+ try:
2157
+ params = request._serialize()
2158
+ headers = request.headers
2159
+ body = self.call("ModifyTrainingTaskSchedulingPolicy", params, headers=headers)
2160
+ response = json.loads(body)
2161
+ model = models.ModifyTrainingTaskSchedulingPolicyResponse()
2162
+ model._deserialize(response["Response"])
2163
+ return model
2164
+ except Exception as e:
2165
+ if isinstance(e, TencentCloudSDKException):
2166
+ raise
2167
+ else:
2168
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2169
+
2170
+
2148
2171
  def ModifyUserGrant(self, request):
2149
2172
  r"""更新用户授权
2150
2173
 
@@ -1739,6 +1739,24 @@ class TioneClient(AbstractClient):
1739
1739
 
1740
1740
  return await self.call_and_deserialize(**kwargs)
1741
1741
 
1742
+ async def ModifyTrainingTaskSchedulingPolicy(
1743
+ self,
1744
+ request: models.ModifyTrainingTaskSchedulingPolicyRequest,
1745
+ opts: Dict = None,
1746
+ ) -> models.ModifyTrainingTaskSchedulingPolicyResponse:
1747
+ """
1748
+ 更新训练任务的调度策略
1749
+ """
1750
+
1751
+ kwargs = {}
1752
+ kwargs["action"] = "ModifyTrainingTaskSchedulingPolicy"
1753
+ kwargs["params"] = request._serialize()
1754
+ kwargs["resp_cls"] = models.ModifyTrainingTaskSchedulingPolicyResponse
1755
+ kwargs["headers"] = request.headers
1756
+ kwargs["opts"] = opts or {}
1757
+
1758
+ return await self.call_and_deserialize(**kwargs)
1759
+
1742
1760
  async def ModifyUserGrant(
1743
1761
  self,
1744
1762
  request: models.ModifyUserGrantRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tione
3
- Version: 3.1.207
3
+ Version: 3.1.214
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.207
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.214
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.207