tencentcloud-sdk-python-tione 3.1.98__tar.gz → 3.1.100__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.100}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20211111/models.py +79 -0
  5. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20211111/tione_client.py +23 -0
  6. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20211111/tione_client_async.py +18 -0
  7. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_tione-3.1.100/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.100}/README.rst +0 -0
  11. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/__init__.py +0 -0
  13. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20191022/__init__.py +0 -0
  14. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20191022/models.py +0 -0
  16. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20191022/tione_client.py +0 -0
  17. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
  18. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20211111/__init__.py +0 -0
  19. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_tione-3.1.98 → tencentcloud_sdk_python_tione-3.1.100}/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.100}/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.100
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.100
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.100,<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.100'
@@ -12702,6 +12702,85 @@ class DescribeTrainingModelVersionsResponse(AbstractModel):
12702
12702
  self._RequestId = params.get("RequestId")
12703
12703
 
12704
12704
 
12705
+ class DescribeTrainingTaskPodUrlRequest(AbstractModel):
12706
+ r"""DescribeTrainingTaskPodUrl请求参数结构体
12707
+
12708
+ """
12709
+
12710
+ def __init__(self):
12711
+ r"""
12712
+ :param _PodName: 任务实例名
12713
+ :type PodName: str
12714
+ """
12715
+ self._PodName = None
12716
+
12717
+ @property
12718
+ def PodName(self):
12719
+ r"""任务实例名
12720
+ :rtype: str
12721
+ """
12722
+ return self._PodName
12723
+
12724
+ @PodName.setter
12725
+ def PodName(self, PodName):
12726
+ self._PodName = PodName
12727
+
12728
+
12729
+ def _deserialize(self, params):
12730
+ self._PodName = params.get("PodName")
12731
+ memeber_set = set(params.keys())
12732
+ for name, value in vars(self).items():
12733
+ property_name = name[1:]
12734
+ if property_name in memeber_set:
12735
+ memeber_set.remove(property_name)
12736
+ if len(memeber_set) > 0:
12737
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12738
+
12739
+
12740
+
12741
+ class DescribeTrainingTaskPodUrlResponse(AbstractModel):
12742
+ r"""DescribeTrainingTaskPodUrl返回参数结构体
12743
+
12744
+ """
12745
+
12746
+ def __init__(self):
12747
+ r"""
12748
+ :param _PodUrl: Pod登录URL
12749
+ :type PodUrl: str
12750
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12751
+ :type RequestId: str
12752
+ """
12753
+ self._PodUrl = None
12754
+ self._RequestId = None
12755
+
12756
+ @property
12757
+ def PodUrl(self):
12758
+ r"""Pod登录URL
12759
+ :rtype: str
12760
+ """
12761
+ return self._PodUrl
12762
+
12763
+ @PodUrl.setter
12764
+ def PodUrl(self, PodUrl):
12765
+ self._PodUrl = PodUrl
12766
+
12767
+ @property
12768
+ def RequestId(self):
12769
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12770
+ :rtype: str
12771
+ """
12772
+ return self._RequestId
12773
+
12774
+ @RequestId.setter
12775
+ def RequestId(self, RequestId):
12776
+ self._RequestId = RequestId
12777
+
12778
+
12779
+ def _deserialize(self, params):
12780
+ self._PodUrl = params.get("PodUrl")
12781
+ self._RequestId = params.get("RequestId")
12782
+
12783
+
12705
12784
  class DescribeTrainingTaskPodsRequest(AbstractModel):
12706
12785
  r"""DescribeTrainingTaskPods请求参数结构体
12707
12786
 
@@ -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.100
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.100
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.100
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.98