tencentcloud-sdk-python-tione 3.1.98__tar.gz → 3.1.102__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.98 → tencentcloud_sdk_python_tione-3.1.102}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20211111/models.py +121 -12
  5. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20211111/tione_client.py +23 -0
  6. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
  7. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tione-3.1.102/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_tione-3.1.98/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20191022/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20191022/models.py +0 -0
  16. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20191022/tione_client.py +0 -0
  17. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
  18. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20211111/__init__.py +0 -0
  19. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.102}/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.98
3
+ Version: 3.1.102
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.98
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
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.98,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.102,<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.98'
17
+ __version__ = '3.1.102'
@@ -5107,6 +5107,8 @@ class DataConfig(AbstractModel):
5107
5107
  :param _PublicDataSource: <p>公有云数据源</p>
5108
5108
  注意:此字段可能返回 null,表示取不到有效值。
5109
5109
  :type PublicDataSource: :class:`tencentcloud.tione.v20211111.models.PublicDataSourceFS`
5110
+ :param _ReadOnly: <p>是否是只读存储</p>
5111
+ :type ReadOnly: bool
5110
5112
  """
5111
5113
  self._MappingPath = None
5112
5114
  self._DataSourceUsage = None
@@ -5121,6 +5123,7 @@ class DataConfig(AbstractModel):
5121
5123
  self._CBSSource = None
5122
5124
  self._HostPathSource = None
5123
5125
  self._PublicDataSource = None
5126
+ self._ReadOnly = None
5124
5127
 
5125
5128
  @property
5126
5129
  def MappingPath(self):
@@ -5276,6 +5279,17 @@ class DataConfig(AbstractModel):
5276
5279
  def PublicDataSource(self, PublicDataSource):
5277
5280
  self._PublicDataSource = PublicDataSource
5278
5281
 
5282
+ @property
5283
+ def ReadOnly(self):
5284
+ r"""<p>是否是只读存储</p>
5285
+ :rtype: bool
5286
+ """
5287
+ return self._ReadOnly
5288
+
5289
+ @ReadOnly.setter
5290
+ def ReadOnly(self, ReadOnly):
5291
+ self._ReadOnly = ReadOnly
5292
+
5279
5293
 
5280
5294
  def _deserialize(self, params):
5281
5295
  self._MappingPath = params.get("MappingPath")
@@ -5311,6 +5325,7 @@ class DataConfig(AbstractModel):
5311
5325
  if params.get("PublicDataSource") is not None:
5312
5326
  self._PublicDataSource = PublicDataSourceFS()
5313
5327
  self._PublicDataSource._deserialize(params.get("PublicDataSource"))
5328
+ self._ReadOnly = params.get("ReadOnly")
5314
5329
  memeber_set = set(params.keys())
5315
5330
  for name, value in vars(self).items():
5316
5331
  property_name = name[1:]
@@ -12702,6 +12717,85 @@ class DescribeTrainingModelVersionsResponse(AbstractModel):
12702
12717
  self._RequestId = params.get("RequestId")
12703
12718
 
12704
12719
 
12720
+ class DescribeTrainingTaskPodUrlRequest(AbstractModel):
12721
+ r"""DescribeTrainingTaskPodUrl请求参数结构体
12722
+
12723
+ """
12724
+
12725
+ def __init__(self):
12726
+ r"""
12727
+ :param _PodName: 任务实例名
12728
+ :type PodName: str
12729
+ """
12730
+ self._PodName = None
12731
+
12732
+ @property
12733
+ def PodName(self):
12734
+ r"""任务实例名
12735
+ :rtype: str
12736
+ """
12737
+ return self._PodName
12738
+
12739
+ @PodName.setter
12740
+ def PodName(self, PodName):
12741
+ self._PodName = PodName
12742
+
12743
+
12744
+ def _deserialize(self, params):
12745
+ self._PodName = params.get("PodName")
12746
+ memeber_set = set(params.keys())
12747
+ for name, value in vars(self).items():
12748
+ property_name = name[1:]
12749
+ if property_name in memeber_set:
12750
+ memeber_set.remove(property_name)
12751
+ if len(memeber_set) > 0:
12752
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12753
+
12754
+
12755
+
12756
+ class DescribeTrainingTaskPodUrlResponse(AbstractModel):
12757
+ r"""DescribeTrainingTaskPodUrl返回参数结构体
12758
+
12759
+ """
12760
+
12761
+ def __init__(self):
12762
+ r"""
12763
+ :param _PodUrl: Pod登录URL
12764
+ :type PodUrl: str
12765
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12766
+ :type RequestId: str
12767
+ """
12768
+ self._PodUrl = None
12769
+ self._RequestId = None
12770
+
12771
+ @property
12772
+ def PodUrl(self):
12773
+ r"""Pod登录URL
12774
+ :rtype: str
12775
+ """
12776
+ return self._PodUrl
12777
+
12778
+ @PodUrl.setter
12779
+ def PodUrl(self, PodUrl):
12780
+ self._PodUrl = PodUrl
12781
+
12782
+ @property
12783
+ def RequestId(self):
12784
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12785
+ :rtype: str
12786
+ """
12787
+ return self._RequestId
12788
+
12789
+ @RequestId.setter
12790
+ def RequestId(self, RequestId):
12791
+ self._RequestId = RequestId
12792
+
12793
+
12794
+ def _deserialize(self, params):
12795
+ self._PodUrl = params.get("PodUrl")
12796
+ self._RequestId = params.get("RequestId")
12797
+
12798
+
12705
12799
  class DescribeTrainingTaskPodsRequest(AbstractModel):
12706
12800
  r"""DescribeTrainingTaskPods请求参数结构体
12707
12801
 
@@ -14034,27 +14128,30 @@ class GooseFS(AbstractModel):
14034
14128
 
14035
14129
  def __init__(self):
14036
14130
  r"""
14037
- :param _Id: goosefs实例id
14131
+ :param _Id: <p>goosefs实例id</p>
14038
14132
  注意:此字段可能返回 null,表示取不到有效值。
14039
14133
  :type Id: str
14040
- :param _Type: GooseFS类型,包括GooseFS和GooseFSx
14134
+ :param _Type: <p>GooseFS类型,包括GooseFS和GooseFSx</p>
14041
14135
  注意:此字段可能返回 null,表示取不到有效值。
14042
14136
  :type Type: str
14043
- :param _Path: GooseFSx实例需要挂载的路径
14137
+ :param _Path: <p>GooseFSx实例需要挂载的路径</p>
14044
14138
  注意:此字段可能返回 null,表示取不到有效值。
14045
14139
  :type Path: str
14046
- :param _NameSpace: GooseFS命名空间
14140
+ :param _NameSpace: <p>GooseFS命名空间</p>
14047
14141
  注意:此字段可能返回 null,表示取不到有效值。
14048
14142
  :type NameSpace: str
14143
+ :param _MountOptions: <p>客户端的挂载参数,逗号分隔的参数名</p>
14144
+ :type MountOptions: str
14049
14145
  """
14050
14146
  self._Id = None
14051
14147
  self._Type = None
14052
14148
  self._Path = None
14053
14149
  self._NameSpace = None
14150
+ self._MountOptions = None
14054
14151
 
14055
14152
  @property
14056
14153
  def Id(self):
14057
- r"""goosefs实例id
14154
+ r"""<p>goosefs实例id</p>
14058
14155
  注意:此字段可能返回 null,表示取不到有效值。
14059
14156
  :rtype: str
14060
14157
  """
@@ -14066,7 +14163,7 @@ class GooseFS(AbstractModel):
14066
14163
 
14067
14164
  @property
14068
14165
  def Type(self):
14069
- r"""GooseFS类型,包括GooseFS和GooseFSx
14166
+ r"""<p>GooseFS类型,包括GooseFS和GooseFSx</p>
14070
14167
  注意:此字段可能返回 null,表示取不到有效值。
14071
14168
  :rtype: str
14072
14169
  """
@@ -14078,7 +14175,7 @@ class GooseFS(AbstractModel):
14078
14175
 
14079
14176
  @property
14080
14177
  def Path(self):
14081
- r"""GooseFSx实例需要挂载的路径
14178
+ r"""<p>GooseFSx实例需要挂载的路径</p>
14082
14179
  注意:此字段可能返回 null,表示取不到有效值。
14083
14180
  :rtype: str
14084
14181
  """
@@ -14090,7 +14187,7 @@ class GooseFS(AbstractModel):
14090
14187
 
14091
14188
  @property
14092
14189
  def NameSpace(self):
14093
- r"""GooseFS命名空间
14190
+ r"""<p>GooseFS命名空间</p>
14094
14191
  注意:此字段可能返回 null,表示取不到有效值。
14095
14192
  :rtype: str
14096
14193
  """
@@ -14100,12 +14197,24 @@ class GooseFS(AbstractModel):
14100
14197
  def NameSpace(self, NameSpace):
14101
14198
  self._NameSpace = NameSpace
14102
14199
 
14200
+ @property
14201
+ def MountOptions(self):
14202
+ r"""<p>客户端的挂载参数,逗号分隔的参数名</p>
14203
+ :rtype: str
14204
+ """
14205
+ return self._MountOptions
14206
+
14207
+ @MountOptions.setter
14208
+ def MountOptions(self, MountOptions):
14209
+ self._MountOptions = MountOptions
14210
+
14103
14211
 
14104
14212
  def _deserialize(self, params):
14105
14213
  self._Id = params.get("Id")
14106
14214
  self._Type = params.get("Type")
14107
14215
  self._Path = params.get("Path")
14108
14216
  self._NameSpace = params.get("NameSpace")
14217
+ self._MountOptions = params.get("MountOptions")
14109
14218
  memeber_set = set(params.keys())
14110
14219
  for name, value in vars(self).items():
14111
14220
  property_name = name[1:]
@@ -14123,9 +14232,9 @@ class GooseFSx(AbstractModel):
14123
14232
 
14124
14233
  def __init__(self):
14125
14234
  r"""
14126
- :param _Id: goosefsx实例id
14235
+ :param _Id: <p>goosefsx实例id</p>
14127
14236
  :type Id: str
14128
- :param _Path: GooseFSx实例需要挂载的路径
14237
+ :param _Path: <p>GooseFSx实例需要挂载的路径</p>
14129
14238
  :type Path: str
14130
14239
  """
14131
14240
  self._Id = None
@@ -14133,7 +14242,7 @@ class GooseFSx(AbstractModel):
14133
14242
 
14134
14243
  @property
14135
14244
  def Id(self):
14136
- r"""goosefsx实例id
14245
+ r"""<p>goosefsx实例id</p>
14137
14246
  :rtype: str
14138
14247
  """
14139
14248
  return self._Id
@@ -14144,7 +14253,7 @@ class GooseFSx(AbstractModel):
14144
14253
 
14145
14254
  @property
14146
14255
  def Path(self):
14147
- r"""GooseFSx实例需要挂载的路径
14256
+ r"""<p>GooseFSx实例需要挂载的路径</p>
14148
14257
  :rtype: str
14149
14258
  """
14150
14259
  return self._Path
@@ -1296,6 +1296,29 @@ class TioneClient(AbstractClient):
1296
1296
  raise TencentCloudSDKException(type(e).__name__, str(e))
1297
1297
 
1298
1298
 
1299
+ def DescribeTrainingTaskPodUrl(self, request):
1300
+ r"""获取单个训练任务实例的登录链接
1301
+
1302
+ :param request: Request instance for DescribeTrainingTaskPodUrl.
1303
+ :type request: :class:`tencentcloud.tione.v20211111.models.DescribeTrainingTaskPodUrlRequest`
1304
+ :rtype: :class:`tencentcloud.tione.v20211111.models.DescribeTrainingTaskPodUrlResponse`
1305
+
1306
+ """
1307
+ try:
1308
+ params = request._serialize()
1309
+ headers = request.headers
1310
+ body = self.call("DescribeTrainingTaskPodUrl", params, headers=headers)
1311
+ response = json.loads(body)
1312
+ model = models.DescribeTrainingTaskPodUrlResponse()
1313
+ model._deserialize(response["Response"])
1314
+ return model
1315
+ except Exception as e:
1316
+ if isinstance(e, TencentCloudSDKException):
1317
+ raise
1318
+ else:
1319
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1320
+
1321
+
1299
1322
  def DescribeTrainingTaskPods(self, request):
1300
1323
  r"""训练任务pod列表
1301
1324
 
@@ -1020,6 +1020,24 @@ class TioneClient(AbstractClient):
1020
1020
 
1021
1021
  return await self.call_and_deserialize(**kwargs)
1022
1022
 
1023
+ async def DescribeTrainingTaskPodUrl(
1024
+ self,
1025
+ request: models.DescribeTrainingTaskPodUrlRequest,
1026
+ opts: Dict = None,
1027
+ ) -> models.DescribeTrainingTaskPodUrlResponse:
1028
+ """
1029
+ 获取单个训练任务实例的登录链接
1030
+ """
1031
+
1032
+ kwargs = {}
1033
+ kwargs["action"] = "DescribeTrainingTaskPodUrl"
1034
+ kwargs["params"] = request._serialize()
1035
+ kwargs["resp_cls"] = models.DescribeTrainingTaskPodUrlResponse
1036
+ kwargs["headers"] = request.headers
1037
+ kwargs["opts"] = opts or {}
1038
+
1039
+ return await self.call_and_deserialize(**kwargs)
1040
+
1023
1041
  async def DescribeTrainingTaskPods(
1024
1042
  self,
1025
1043
  request: models.DescribeTrainingTaskPodsRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tione
3
- Version: 3.1.98
3
+ Version: 3.1.102
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.98
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.102
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.98