tencentcloud-sdk-python-tione 3.0.1484__tar.gz → 3.1.8__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.1484 → tencentcloud_sdk_python_tione-3.1.8}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/setup.py +2 -1
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_tione-3.1.8/tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20211111/errorcodes.py +3 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20211111/models.py +49 -6
- tencentcloud_sdk_python_tione-3.1.8/tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +2 -0
- tencentcloud_sdk_python_tione-3.1.8/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tione-3.0.1484/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud/tione/v20211111/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.0.1484 → tencentcloud_sdk_python_tione-3.1.8}/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.
|
|
3
|
+
Version: 3.1.8
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.8
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,8 @@ 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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.8,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Tione SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.tione.v20191022 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class TioneClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2019-10-22'
|
|
25
|
+
_endpoint = 'tione.tencentcloudapi.com'
|
|
26
|
+
_service = 'tione'
|
|
27
|
+
|
|
28
|
+
async def CreateCodeRepository(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateCodeRepositoryRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateCodeRepositoryResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建存储库
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateCodeRepository"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateCodeRepositoryResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateNotebookInstance(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateNotebookInstanceRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateNotebookInstanceResponse:
|
|
51
|
+
"""
|
|
52
|
+
创建Notebook实例
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateNotebookInstance"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateNotebookInstanceResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def CreateNotebookLifecycleScript(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateNotebookLifecycleScriptRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateNotebookLifecycleScriptResponse:
|
|
69
|
+
"""
|
|
70
|
+
创建Notebook生命周期脚本
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateNotebookLifecycleScript"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateNotebookLifecycleScriptResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def CreatePresignedNotebookInstanceUrl(
|
|
83
|
+
self,
|
|
84
|
+
request: models.CreatePresignedNotebookInstanceUrlRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.CreatePresignedNotebookInstanceUrlResponse:
|
|
87
|
+
"""
|
|
88
|
+
创建Notebook授权Url
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "CreatePresignedNotebookInstanceUrl"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.CreatePresignedNotebookInstanceUrlResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def CreateTrainingJob(
|
|
101
|
+
self,
|
|
102
|
+
request: models.CreateTrainingJobRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.CreateTrainingJobResponse:
|
|
105
|
+
"""
|
|
106
|
+
创建训练任务
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "CreateTrainingJob"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.CreateTrainingJobResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DeleteCodeRepository(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DeleteCodeRepositoryRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DeleteCodeRepositoryResponse:
|
|
123
|
+
"""
|
|
124
|
+
删除存储库
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DeleteCodeRepository"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DeleteCodeRepositoryResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DeleteNotebookInstance(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DeleteNotebookInstanceRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DeleteNotebookInstanceResponse:
|
|
141
|
+
"""
|
|
142
|
+
删除notebook实例
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DeleteNotebookInstance"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DeleteNotebookInstanceResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def DeleteNotebookLifecycleScript(
|
|
155
|
+
self,
|
|
156
|
+
request: models.DeleteNotebookLifecycleScriptRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.DeleteNotebookLifecycleScriptResponse:
|
|
159
|
+
"""
|
|
160
|
+
删除Notebook生命周期脚本
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "DeleteNotebookLifecycleScript"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.DeleteNotebookLifecycleScriptResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def DescribeCodeRepositories(
|
|
173
|
+
self,
|
|
174
|
+
request: models.DescribeCodeRepositoriesRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.DescribeCodeRepositoriesResponse:
|
|
177
|
+
"""
|
|
178
|
+
查询存储库列表
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "DescribeCodeRepositories"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.DescribeCodeRepositoriesResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def DescribeCodeRepository(
|
|
191
|
+
self,
|
|
192
|
+
request: models.DescribeCodeRepositoryRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.DescribeCodeRepositoryResponse:
|
|
195
|
+
"""
|
|
196
|
+
查询存储库详情
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "DescribeCodeRepository"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.DescribeCodeRepositoryResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def DescribeNotebookInstance(
|
|
209
|
+
self,
|
|
210
|
+
request: models.DescribeNotebookInstanceRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.DescribeNotebookInstanceResponse:
|
|
213
|
+
"""
|
|
214
|
+
查询Notebook实例详情
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "DescribeNotebookInstance"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.DescribeNotebookInstanceResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def DescribeNotebookInstances(
|
|
227
|
+
self,
|
|
228
|
+
request: models.DescribeNotebookInstancesRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.DescribeNotebookInstancesResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询Notebook实例列表
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "DescribeNotebookInstances"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.DescribeNotebookInstancesResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def DescribeNotebookLifecycleScript(
|
|
245
|
+
self,
|
|
246
|
+
request: models.DescribeNotebookLifecycleScriptRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.DescribeNotebookLifecycleScriptResponse:
|
|
249
|
+
"""
|
|
250
|
+
查看notebook生命周期脚本详情
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "DescribeNotebookLifecycleScript"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.DescribeNotebookLifecycleScriptResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def DescribeNotebookLifecycleScripts(
|
|
263
|
+
self,
|
|
264
|
+
request: models.DescribeNotebookLifecycleScriptsRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.DescribeNotebookLifecycleScriptsResponse:
|
|
267
|
+
"""
|
|
268
|
+
查看notebook生命周期脚本列表
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "DescribeNotebookLifecycleScripts"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.DescribeNotebookLifecycleScriptsResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def DescribeNotebookSummary(
|
|
281
|
+
self,
|
|
282
|
+
request: models.DescribeNotebookSummaryRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.DescribeNotebookSummaryResponse:
|
|
285
|
+
"""
|
|
286
|
+
查询Notebook概览数据
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "DescribeNotebookSummary"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.DescribeNotebookSummaryResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def DescribeTrainingJob(
|
|
299
|
+
self,
|
|
300
|
+
request: models.DescribeTrainingJobRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.DescribeTrainingJobResponse:
|
|
303
|
+
"""
|
|
304
|
+
查询训练任务
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "DescribeTrainingJob"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.DescribeTrainingJobResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def DescribeTrainingJobs(
|
|
317
|
+
self,
|
|
318
|
+
request: models.DescribeTrainingJobsRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.DescribeTrainingJobsResponse:
|
|
321
|
+
"""
|
|
322
|
+
查询训练任务列表
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "DescribeTrainingJobs"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.DescribeTrainingJobsResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def StartNotebookInstance(
|
|
335
|
+
self,
|
|
336
|
+
request: models.StartNotebookInstanceRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.StartNotebookInstanceResponse:
|
|
339
|
+
"""
|
|
340
|
+
启动Notebook实例
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "StartNotebookInstance"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.StartNotebookInstanceResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def StopNotebookInstance(
|
|
353
|
+
self,
|
|
354
|
+
request: models.StopNotebookInstanceRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.StopNotebookInstanceResponse:
|
|
357
|
+
"""
|
|
358
|
+
停止Notebook实例
|
|
359
|
+
"""
|
|
360
|
+
|
|
361
|
+
kwargs = {}
|
|
362
|
+
kwargs["action"] = "StopNotebookInstance"
|
|
363
|
+
kwargs["params"] = request._serialize()
|
|
364
|
+
kwargs["resp_cls"] = models.StopNotebookInstanceResponse
|
|
365
|
+
kwargs["headers"] = request.headers
|
|
366
|
+
kwargs["opts"] = opts or {}
|
|
367
|
+
|
|
368
|
+
return await self.call_and_deserialize(**kwargs)
|
|
369
|
+
|
|
370
|
+
async def StopTrainingJob(
|
|
371
|
+
self,
|
|
372
|
+
request: models.StopTrainingJobRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.StopTrainingJobResponse:
|
|
375
|
+
"""
|
|
376
|
+
停止训练任务
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "StopTrainingJob"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.StopTrainingJobResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
388
|
+
async def UpdateCodeRepository(
|
|
389
|
+
self,
|
|
390
|
+
request: models.UpdateCodeRepositoryRequest,
|
|
391
|
+
opts: Dict = None,
|
|
392
|
+
) -> models.UpdateCodeRepositoryResponse:
|
|
393
|
+
"""
|
|
394
|
+
更新存储库
|
|
395
|
+
"""
|
|
396
|
+
|
|
397
|
+
kwargs = {}
|
|
398
|
+
kwargs["action"] = "UpdateCodeRepository"
|
|
399
|
+
kwargs["params"] = request._serialize()
|
|
400
|
+
kwargs["resp_cls"] = models.UpdateCodeRepositoryResponse
|
|
401
|
+
kwargs["headers"] = request.headers
|
|
402
|
+
kwargs["opts"] = opts or {}
|
|
403
|
+
|
|
404
|
+
return await self.call_and_deserialize(**kwargs)
|
|
405
|
+
|
|
406
|
+
async def UpdateNotebookInstance(
|
|
407
|
+
self,
|
|
408
|
+
request: models.UpdateNotebookInstanceRequest,
|
|
409
|
+
opts: Dict = None,
|
|
410
|
+
) -> models.UpdateNotebookInstanceResponse:
|
|
411
|
+
"""
|
|
412
|
+
更新Notebook实例
|
|
413
|
+
"""
|
|
414
|
+
|
|
415
|
+
kwargs = {}
|
|
416
|
+
kwargs["action"] = "UpdateNotebookInstance"
|
|
417
|
+
kwargs["params"] = request._serialize()
|
|
418
|
+
kwargs["resp_cls"] = models.UpdateNotebookInstanceResponse
|
|
419
|
+
kwargs["headers"] = request.headers
|
|
420
|
+
kwargs["opts"] = opts or {}
|
|
421
|
+
|
|
422
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -41,6 +41,9 @@ FAILEDOPERATION_BINDINGTAGSFAILED = 'FailedOperation.BindingTagsFailed'
|
|
|
41
41
|
# CAM内部错误。
|
|
42
42
|
FAILEDOPERATION_CAMFAILURE = 'FailedOperation.CAMFailure'
|
|
43
43
|
|
|
44
|
+
# 日志内容太大无法加载,建议缩小日志查询时间范围,或者通过日志下载查看
|
|
45
|
+
FAILEDOPERATION_CLSSIZEEXCEED = 'FailedOperation.CLSSizeExceed'
|
|
46
|
+
|
|
44
47
|
# 调用集群失败。
|
|
45
48
|
FAILEDOPERATION_CALLCLUSTERFAIL = 'FailedOperation.CallClusterFail'
|
|
46
49
|
|
|
@@ -3069,7 +3069,7 @@ EXIST:导入现有版本
|
|
|
3069
3069
|
:type TrainingJobName: str
|
|
3070
3070
|
:param _TrainingModelCosPath: 模型来源cos目录,以/结尾
|
|
3071
3071
|
:type TrainingModelCosPath: :class:`tencentcloud.tione.v20211111.models.CosPathInfo`
|
|
3072
|
-
:param _AlgorithmFramework: 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION)
|
|
3072
|
+
:param _AlgorithmFramework: 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION/ONNX)
|
|
3073
3073
|
:type AlgorithmFramework: str
|
|
3074
3074
|
:param _ReasoningEnvironment: 推理环境
|
|
3075
3075
|
:type ReasoningEnvironment: str
|
|
@@ -3099,7 +3099,7 @@ EXIST:导入现有版本
|
|
|
3099
3099
|
枚举值:NORMAL(通用) ACCELERATE(加速)
|
|
3100
3100
|
注意: 默认为NORMAL
|
|
3101
3101
|
:type ModelVersionType: str
|
|
3102
|
-
:param _ModelFormat: 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/
|
|
3102
|
+
:param _ModelFormat: 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE_BERT/HUGGING_FACE_STABLE_DIFFUSION/HUGGING_FACE_STABLE_DIFFUSION_LORA/WEB_UI_STABLE_DIFFUSION)
|
|
3103
3103
|
:type ModelFormat: str
|
|
3104
3104
|
:param _ReasoningEnvironmentId: 推理镜像ID
|
|
3105
3105
|
:type ReasoningEnvironmentId: str
|
|
@@ -3210,7 +3210,7 @@ EXIST:导入现有版本
|
|
|
3210
3210
|
|
|
3211
3211
|
@property
|
|
3212
3212
|
def AlgorithmFramework(self):
|
|
3213
|
-
r"""算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION)
|
|
3213
|
+
r"""算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION/ONNX)
|
|
3214
3214
|
:rtype: str
|
|
3215
3215
|
"""
|
|
3216
3216
|
return self._AlgorithmFramework
|
|
@@ -3366,7 +3366,7 @@ EXIST:导入现有版本
|
|
|
3366
3366
|
|
|
3367
3367
|
@property
|
|
3368
3368
|
def ModelFormat(self):
|
|
3369
|
-
r"""模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/
|
|
3369
|
+
r"""模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE_BERT/HUGGING_FACE_STABLE_DIFFUSION/HUGGING_FACE_STABLE_DIFFUSION_LORA/WEB_UI_STABLE_DIFFUSION)
|
|
3370
3370
|
:rtype: str
|
|
3371
3371
|
"""
|
|
3372
3372
|
return self._ModelFormat
|
|
@@ -6129,6 +6129,8 @@ class DeleteModelServiceRequest(AbstractModel):
|
|
|
6129
6129
|
|
|
6130
6130
|
@property
|
|
6131
6131
|
def ServiceCategory(self):
|
|
6132
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
6133
|
+
|
|
6132
6134
|
r"""服务分类
|
|
6133
6135
|
:rtype: str
|
|
6134
6136
|
"""
|
|
@@ -6136,6 +6138,8 @@ class DeleteModelServiceRequest(AbstractModel):
|
|
|
6136
6138
|
|
|
6137
6139
|
@ServiceCategory.setter
|
|
6138
6140
|
def ServiceCategory(self, ServiceCategory):
|
|
6141
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
6142
|
+
|
|
6139
6143
|
self._ServiceCategory = ServiceCategory
|
|
6140
6144
|
|
|
6141
6145
|
|
|
@@ -8688,6 +8692,8 @@ class DescribeModelServiceCallInfoRequest(AbstractModel):
|
|
|
8688
8692
|
|
|
8689
8693
|
@property
|
|
8690
8694
|
def ServiceCategory(self):
|
|
8695
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
8696
|
+
|
|
8691
8697
|
r"""服务分类
|
|
8692
8698
|
:rtype: str
|
|
8693
8699
|
"""
|
|
@@ -8695,6 +8701,8 @@ class DescribeModelServiceCallInfoRequest(AbstractModel):
|
|
|
8695
8701
|
|
|
8696
8702
|
@ServiceCategory.setter
|
|
8697
8703
|
def ServiceCategory(self, ServiceCategory):
|
|
8704
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
8705
|
+
|
|
8698
8706
|
self._ServiceCategory = ServiceCategory
|
|
8699
8707
|
|
|
8700
8708
|
|
|
@@ -8881,6 +8889,8 @@ class DescribeModelServiceGroupRequest(AbstractModel):
|
|
|
8881
8889
|
|
|
8882
8890
|
@property
|
|
8883
8891
|
def ServiceCategory(self):
|
|
8892
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
8893
|
+
|
|
8884
8894
|
r"""服务分类
|
|
8885
8895
|
:rtype: str
|
|
8886
8896
|
"""
|
|
@@ -8888,6 +8898,8 @@ class DescribeModelServiceGroupRequest(AbstractModel):
|
|
|
8888
8898
|
|
|
8889
8899
|
@ServiceCategory.setter
|
|
8890
8900
|
def ServiceCategory(self, ServiceCategory):
|
|
8901
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
8902
|
+
|
|
8891
8903
|
self._ServiceCategory = ServiceCategory
|
|
8892
8904
|
|
|
8893
8905
|
|
|
@@ -9051,6 +9063,8 @@ class DescribeModelServiceGroupsRequest(AbstractModel):
|
|
|
9051
9063
|
|
|
9052
9064
|
@property
|
|
9053
9065
|
def ServiceCategory(self):
|
|
9066
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
9067
|
+
|
|
9054
9068
|
r"""服务分类
|
|
9055
9069
|
:rtype: str
|
|
9056
9070
|
"""
|
|
@@ -9058,6 +9072,8 @@ class DescribeModelServiceGroupsRequest(AbstractModel):
|
|
|
9058
9072
|
|
|
9059
9073
|
@ServiceCategory.setter
|
|
9060
9074
|
def ServiceCategory(self, ServiceCategory):
|
|
9075
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
9076
|
+
|
|
9061
9077
|
self._ServiceCategory = ServiceCategory
|
|
9062
9078
|
|
|
9063
9079
|
|
|
@@ -9299,6 +9315,8 @@ class DescribeModelServiceRequest(AbstractModel):
|
|
|
9299
9315
|
|
|
9300
9316
|
@property
|
|
9301
9317
|
def ServiceCategory(self):
|
|
9318
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
9319
|
+
|
|
9302
9320
|
r"""服务分类
|
|
9303
9321
|
:rtype: str
|
|
9304
9322
|
"""
|
|
@@ -9306,6 +9324,8 @@ class DescribeModelServiceRequest(AbstractModel):
|
|
|
9306
9324
|
|
|
9307
9325
|
@ServiceCategory.setter
|
|
9308
9326
|
def ServiceCategory(self, ServiceCategory):
|
|
9327
|
+
warnings.warn("parameter `ServiceCategory` is deprecated", DeprecationWarning)
|
|
9328
|
+
|
|
9309
9329
|
self._ServiceCategory = ServiceCategory
|
|
9310
9330
|
|
|
9311
9331
|
|
|
@@ -9598,7 +9618,7 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
|
9598
9618
|
|
|
9599
9619
|
def __init__(self):
|
|
9600
9620
|
r"""
|
|
9601
|
-
:param _NotebookSet: 详情
|
|
9621
|
+
:param _NotebookSet: notebook详情
|
|
9602
9622
|
:type NotebookSet: list of NotebookSetItem
|
|
9603
9623
|
:param _TotalCount: 总条数
|
|
9604
9624
|
:type TotalCount: int
|
|
@@ -9611,7 +9631,7 @@ class DescribeNotebooksResponse(AbstractModel):
|
|
|
9611
9631
|
|
|
9612
9632
|
@property
|
|
9613
9633
|
def NotebookSet(self):
|
|
9614
|
-
r"""详情
|
|
9634
|
+
r"""notebook详情
|
|
9615
9635
|
:rtype: list of NotebookSetItem
|
|
9616
9636
|
"""
|
|
9617
9637
|
return self._NotebookSet
|
|
@@ -10670,6 +10690,12 @@ class ExecAction(AbstractModel):
|
|
|
10670
10690
|
|
|
10671
10691
|
|
|
10672
10692
|
|
|
10693
|
+
class ExposePortConfig(AbstractModel):
|
|
10694
|
+
r"""暴露端口信息
|
|
10695
|
+
|
|
10696
|
+
"""
|
|
10697
|
+
|
|
10698
|
+
|
|
10673
10699
|
class Filter(AbstractModel):
|
|
10674
10700
|
r"""过滤器
|
|
10675
10701
|
|
|
@@ -16205,6 +16231,8 @@ class NotebookSetItem(AbstractModel):
|
|
|
16205
16231
|
:param _AppId: AppId
|
|
16206
16232
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16207
16233
|
:type AppId: str
|
|
16234
|
+
:param _ExposePortConfig: 容器服务暴露端口配置
|
|
16235
|
+
:type ExposePortConfig: :class:`tencentcloud.tione.v20211111.models.ExposePortConfig`
|
|
16208
16236
|
"""
|
|
16209
16237
|
self._Id = None
|
|
16210
16238
|
self._Name = None
|
|
@@ -16236,6 +16264,7 @@ class NotebookSetItem(AbstractModel):
|
|
|
16236
16264
|
self._SubUin = None
|
|
16237
16265
|
self._SubUinName = None
|
|
16238
16266
|
self._AppId = None
|
|
16267
|
+
self._ExposePortConfig = None
|
|
16239
16268
|
|
|
16240
16269
|
@property
|
|
16241
16270
|
def Id(self):
|
|
@@ -16592,6 +16621,17 @@ class NotebookSetItem(AbstractModel):
|
|
|
16592
16621
|
def AppId(self, AppId):
|
|
16593
16622
|
self._AppId = AppId
|
|
16594
16623
|
|
|
16624
|
+
@property
|
|
16625
|
+
def ExposePortConfig(self):
|
|
16626
|
+
r"""容器服务暴露端口配置
|
|
16627
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ExposePortConfig`
|
|
16628
|
+
"""
|
|
16629
|
+
return self._ExposePortConfig
|
|
16630
|
+
|
|
16631
|
+
@ExposePortConfig.setter
|
|
16632
|
+
def ExposePortConfig(self, ExposePortConfig):
|
|
16633
|
+
self._ExposePortConfig = ExposePortConfig
|
|
16634
|
+
|
|
16595
16635
|
|
|
16596
16636
|
def _deserialize(self, params):
|
|
16597
16637
|
self._Id = params.get("Id")
|
|
@@ -16637,6 +16677,9 @@ class NotebookSetItem(AbstractModel):
|
|
|
16637
16677
|
self._SubUin = params.get("SubUin")
|
|
16638
16678
|
self._SubUinName = params.get("SubUinName")
|
|
16639
16679
|
self._AppId = params.get("AppId")
|
|
16680
|
+
if params.get("ExposePortConfig") is not None:
|
|
16681
|
+
self._ExposePortConfig = ExposePortConfig()
|
|
16682
|
+
self._ExposePortConfig._deserialize(params.get("ExposePortConfig"))
|
|
16640
16683
|
memeber_set = set(params.keys())
|
|
16641
16684
|
for name, value in vars(self).items():
|
|
16642
16685
|
property_name = name[1:]
|