tencentcloud-sdk-python-tione 3.0.1105__tar.gz → 3.0.1107__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.1105 → tencentcloud-sdk-python-tione-3.0.1107}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/setup.py +1 -1
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20211111/errorcodes.py +3 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20211111/models.py +70 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20211111/tione_client.py +23 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tione-3.0.1107/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tione-3.0.1105/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/README.rst +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/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.1107"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tione SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -146,6 +146,9 @@ FAILEDOPERATION_NOTALLOW = 'FailedOperation.NotAllow'
|
|
|
146
146
|
# 该Notebook实例不支持保存镜像,如果您使用的是自定义镜像请重启Notebook实例后再执行保存操作
|
|
147
147
|
FAILEDOPERATION_NOTSUPPORTEDTOCREATEIMAGE = 'FailedOperation.NotSupportedToCreateImage'
|
|
148
148
|
|
|
149
|
+
# 未找到Notebook实例相关容器,无法生成访问地址。
|
|
150
|
+
FAILEDOPERATION_PODIPNOTFOUND = 'FailedOperation.PodIpNotFound'
|
|
151
|
+
|
|
149
152
|
# 请求正在处理中,请稍后再试。
|
|
150
153
|
FAILEDOPERATION_PROCESSING = 'FailedOperation.Processing'
|
|
151
154
|
|
|
@@ -3485,6 +3485,76 @@ class CreateOptimizedModelResponse(AbstractModel):
|
|
|
3485
3485
|
self._RequestId = params.get("RequestId")
|
|
3486
3486
|
|
|
3487
3487
|
|
|
3488
|
+
class CreatePresignedNotebookUrlRequest(AbstractModel):
|
|
3489
|
+
"""CreatePresignedNotebookUrl请求参数结构体
|
|
3490
|
+
|
|
3491
|
+
"""
|
|
3492
|
+
|
|
3493
|
+
def __init__(self):
|
|
3494
|
+
r"""
|
|
3495
|
+
:param _Id: Notebook ID
|
|
3496
|
+
:type Id: str
|
|
3497
|
+
"""
|
|
3498
|
+
self._Id = None
|
|
3499
|
+
|
|
3500
|
+
@property
|
|
3501
|
+
def Id(self):
|
|
3502
|
+
return self._Id
|
|
3503
|
+
|
|
3504
|
+
@Id.setter
|
|
3505
|
+
def Id(self, Id):
|
|
3506
|
+
self._Id = Id
|
|
3507
|
+
|
|
3508
|
+
|
|
3509
|
+
def _deserialize(self, params):
|
|
3510
|
+
self._Id = params.get("Id")
|
|
3511
|
+
memeber_set = set(params.keys())
|
|
3512
|
+
for name, value in vars(self).items():
|
|
3513
|
+
property_name = name[1:]
|
|
3514
|
+
if property_name in memeber_set:
|
|
3515
|
+
memeber_set.remove(property_name)
|
|
3516
|
+
if len(memeber_set) > 0:
|
|
3517
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3518
|
+
|
|
3519
|
+
|
|
3520
|
+
|
|
3521
|
+
class CreatePresignedNotebookUrlResponse(AbstractModel):
|
|
3522
|
+
"""CreatePresignedNotebookUrl返回参数结构体
|
|
3523
|
+
|
|
3524
|
+
"""
|
|
3525
|
+
|
|
3526
|
+
def __init__(self):
|
|
3527
|
+
r"""
|
|
3528
|
+
:param _AuthorizedUrl: 携带认证TOKEN的URL
|
|
3529
|
+
:type AuthorizedUrl: str
|
|
3530
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3531
|
+
:type RequestId: str
|
|
3532
|
+
"""
|
|
3533
|
+
self._AuthorizedUrl = None
|
|
3534
|
+
self._RequestId = None
|
|
3535
|
+
|
|
3536
|
+
@property
|
|
3537
|
+
def AuthorizedUrl(self):
|
|
3538
|
+
return self._AuthorizedUrl
|
|
3539
|
+
|
|
3540
|
+
@AuthorizedUrl.setter
|
|
3541
|
+
def AuthorizedUrl(self, AuthorizedUrl):
|
|
3542
|
+
self._AuthorizedUrl = AuthorizedUrl
|
|
3543
|
+
|
|
3544
|
+
@property
|
|
3545
|
+
def RequestId(self):
|
|
3546
|
+
return self._RequestId
|
|
3547
|
+
|
|
3548
|
+
@RequestId.setter
|
|
3549
|
+
def RequestId(self, RequestId):
|
|
3550
|
+
self._RequestId = RequestId
|
|
3551
|
+
|
|
3552
|
+
|
|
3553
|
+
def _deserialize(self, params):
|
|
3554
|
+
self._AuthorizedUrl = params.get("AuthorizedUrl")
|
|
3555
|
+
self._RequestId = params.get("RequestId")
|
|
3556
|
+
|
|
3557
|
+
|
|
3488
3558
|
class CreateTrainingModelRequest(AbstractModel):
|
|
3489
3559
|
"""CreateTrainingModel请求参数结构体
|
|
3490
3560
|
|
|
@@ -210,6 +210,29 @@ class TioneClient(AbstractClient):
|
|
|
210
210
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
211
|
|
|
212
212
|
|
|
213
|
+
def CreatePresignedNotebookUrl(self, request):
|
|
214
|
+
"""生成Notebook访问链接
|
|
215
|
+
|
|
216
|
+
:param request: Request instance for CreatePresignedNotebookUrl.
|
|
217
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.CreatePresignedNotebookUrlRequest`
|
|
218
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.CreatePresignedNotebookUrlResponse`
|
|
219
|
+
|
|
220
|
+
"""
|
|
221
|
+
try:
|
|
222
|
+
params = request._serialize()
|
|
223
|
+
headers = request.headers
|
|
224
|
+
body = self.call("CreatePresignedNotebookUrl", params, headers=headers)
|
|
225
|
+
response = json.loads(body)
|
|
226
|
+
model = models.CreatePresignedNotebookUrlResponse()
|
|
227
|
+
model._deserialize(response["Response"])
|
|
228
|
+
return model
|
|
229
|
+
except Exception as e:
|
|
230
|
+
if isinstance(e, TencentCloudSDKException):
|
|
231
|
+
raise
|
|
232
|
+
else:
|
|
233
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
234
|
+
|
|
235
|
+
|
|
213
236
|
def CreateTrainingModel(self, request):
|
|
214
237
|
"""导入模型
|
|
215
238
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1107
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1105
|
{tencentcloud-sdk-python-tione-3.0.1105 → tencentcloud-sdk-python-tione-3.0.1107}/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
|