tencentcloud-sdk-python-omics 3.1.77__py2.py3-none-any.whl → 3.1.150__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.77'
17
+ __version__ = '3.1.150'
@@ -1236,6 +1236,115 @@ class DatabaseOption(AbstractModel):
1236
1236
 
1237
1237
 
1238
1238
 
1239
+ class DeleteEnvironmentCacheRequest(AbstractModel):
1240
+ r"""DeleteEnvironmentCache请求参数结构体
1241
+
1242
+ """
1243
+
1244
+ def __init__(self):
1245
+ r"""
1246
+ :param _EnvironmentId: <p>环境ID。</p>
1247
+ :type EnvironmentId: str
1248
+ :param _CacheType: <p>缓存类型</p><p>枚举值:</p><ul><li>RUNTIME: 清理默认缓存卷的运行缓存目录</li><li>INPUT: 清理默认缓存卷的输入缓存目录</li><li>ALL: 清空环境下全部有效缓存卷</li><li>PATH: 指定缓存卷下指定路径,需要在Path中填入实际绝对路径</li></ul>
1249
+ :type CacheType: str
1250
+ :param _Path: <p>指定路径删除</p><p>入参限制:以盘符开头的绝对路径地址</p>
1251
+ :type Path: str
1252
+ """
1253
+ self._EnvironmentId = None
1254
+ self._CacheType = None
1255
+ self._Path = None
1256
+
1257
+ @property
1258
+ def EnvironmentId(self):
1259
+ r"""<p>环境ID。</p>
1260
+ :rtype: str
1261
+ """
1262
+ return self._EnvironmentId
1263
+
1264
+ @EnvironmentId.setter
1265
+ def EnvironmentId(self, EnvironmentId):
1266
+ self._EnvironmentId = EnvironmentId
1267
+
1268
+ @property
1269
+ def CacheType(self):
1270
+ r"""<p>缓存类型</p><p>枚举值:</p><ul><li>RUNTIME: 清理默认缓存卷的运行缓存目录</li><li>INPUT: 清理默认缓存卷的输入缓存目录</li><li>ALL: 清空环境下全部有效缓存卷</li><li>PATH: 指定缓存卷下指定路径,需要在Path中填入实际绝对路径</li></ul>
1271
+ :rtype: str
1272
+ """
1273
+ return self._CacheType
1274
+
1275
+ @CacheType.setter
1276
+ def CacheType(self, CacheType):
1277
+ self._CacheType = CacheType
1278
+
1279
+ @property
1280
+ def Path(self):
1281
+ r"""<p>指定路径删除</p><p>入参限制:以盘符开头的绝对路径地址</p>
1282
+ :rtype: str
1283
+ """
1284
+ return self._Path
1285
+
1286
+ @Path.setter
1287
+ def Path(self, Path):
1288
+ self._Path = Path
1289
+
1290
+
1291
+ def _deserialize(self, params):
1292
+ self._EnvironmentId = params.get("EnvironmentId")
1293
+ self._CacheType = params.get("CacheType")
1294
+ self._Path = params.get("Path")
1295
+ memeber_set = set(params.keys())
1296
+ for name, value in vars(self).items():
1297
+ property_name = name[1:]
1298
+ if property_name in memeber_set:
1299
+ memeber_set.remove(property_name)
1300
+ if len(memeber_set) > 0:
1301
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1302
+
1303
+
1304
+
1305
+ class DeleteEnvironmentCacheResponse(AbstractModel):
1306
+ r"""DeleteEnvironmentCache返回参数结构体
1307
+
1308
+ """
1309
+
1310
+ def __init__(self):
1311
+ r"""
1312
+ :param _WorkflowUuid: <p>工作流UUID。</p>
1313
+ :type WorkflowUuid: str
1314
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1315
+ :type RequestId: str
1316
+ """
1317
+ self._WorkflowUuid = None
1318
+ self._RequestId = None
1319
+
1320
+ @property
1321
+ def WorkflowUuid(self):
1322
+ r"""<p>工作流UUID。</p>
1323
+ :rtype: str
1324
+ """
1325
+ return self._WorkflowUuid
1326
+
1327
+ @WorkflowUuid.setter
1328
+ def WorkflowUuid(self, WorkflowUuid):
1329
+ self._WorkflowUuid = WorkflowUuid
1330
+
1331
+ @property
1332
+ def RequestId(self):
1333
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1334
+ :rtype: str
1335
+ """
1336
+ return self._RequestId
1337
+
1338
+ @RequestId.setter
1339
+ def RequestId(self, RequestId):
1340
+ self._RequestId = RequestId
1341
+
1342
+
1343
+ def _deserialize(self, params):
1344
+ self._WorkflowUuid = params.get("WorkflowUuid")
1345
+ self._RequestId = params.get("RequestId")
1346
+
1347
+
1239
1348
  class DeleteEnvironmentRequest(AbstractModel):
1240
1349
  r"""DeleteEnvironment请求参数结构体
1241
1350
 
@@ -4299,6 +4408,145 @@ class GetRunCallsResponse(AbstractModel):
4299
4408
  self._RequestId = params.get("RequestId")
4300
4409
 
4301
4410
 
4411
+ class GetRunJobLogRequest(AbstractModel):
4412
+ r"""GetRunJobLog请求参数结构体
4413
+
4414
+ """
4415
+
4416
+ def __init__(self):
4417
+ r"""
4418
+ :param _RunUuid: <p>任务Uuid。</p>
4419
+ :type RunUuid: str
4420
+ :param _JobId: <p>子任务id</p>
4421
+ :type JobId: str
4422
+ :param _LogType: <p>日志类型</p><p>枚举值:</p><ul><li>stdout: 标准输出</li><li>stderr: 标准错误</li></ul>
4423
+ :type LogType: str
4424
+ :param _ProjectId: <p>项目ID。<br>(不填使用指定地域下的默认项目)</p>
4425
+ :type ProjectId: str
4426
+ :param _Path: <p>子任务路径,无子任务可填空</p>
4427
+ :type Path: str
4428
+ """
4429
+ self._RunUuid = None
4430
+ self._JobId = None
4431
+ self._LogType = None
4432
+ self._ProjectId = None
4433
+ self._Path = None
4434
+
4435
+ @property
4436
+ def RunUuid(self):
4437
+ r"""<p>任务Uuid。</p>
4438
+ :rtype: str
4439
+ """
4440
+ return self._RunUuid
4441
+
4442
+ @RunUuid.setter
4443
+ def RunUuid(self, RunUuid):
4444
+ self._RunUuid = RunUuid
4445
+
4446
+ @property
4447
+ def JobId(self):
4448
+ r"""<p>子任务id</p>
4449
+ :rtype: str
4450
+ """
4451
+ return self._JobId
4452
+
4453
+ @JobId.setter
4454
+ def JobId(self, JobId):
4455
+ self._JobId = JobId
4456
+
4457
+ @property
4458
+ def LogType(self):
4459
+ r"""<p>日志类型</p><p>枚举值:</p><ul><li>stdout: 标准输出</li><li>stderr: 标准错误</li></ul>
4460
+ :rtype: str
4461
+ """
4462
+ return self._LogType
4463
+
4464
+ @LogType.setter
4465
+ def LogType(self, LogType):
4466
+ self._LogType = LogType
4467
+
4468
+ @property
4469
+ def ProjectId(self):
4470
+ r"""<p>项目ID。<br>(不填使用指定地域下的默认项目)</p>
4471
+ :rtype: str
4472
+ """
4473
+ return self._ProjectId
4474
+
4475
+ @ProjectId.setter
4476
+ def ProjectId(self, ProjectId):
4477
+ self._ProjectId = ProjectId
4478
+
4479
+ @property
4480
+ def Path(self):
4481
+ r"""<p>子任务路径,无子任务可填空</p>
4482
+ :rtype: str
4483
+ """
4484
+ return self._Path
4485
+
4486
+ @Path.setter
4487
+ def Path(self, Path):
4488
+ self._Path = Path
4489
+
4490
+
4491
+ def _deserialize(self, params):
4492
+ self._RunUuid = params.get("RunUuid")
4493
+ self._JobId = params.get("JobId")
4494
+ self._LogType = params.get("LogType")
4495
+ self._ProjectId = params.get("ProjectId")
4496
+ self._Path = params.get("Path")
4497
+ memeber_set = set(params.keys())
4498
+ for name, value in vars(self).items():
4499
+ property_name = name[1:]
4500
+ if property_name in memeber_set:
4501
+ memeber_set.remove(property_name)
4502
+ if len(memeber_set) > 0:
4503
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4504
+
4505
+
4506
+
4507
+ class GetRunJobLogResponse(AbstractModel):
4508
+ r"""GetRunJobLog返回参数结构体
4509
+
4510
+ """
4511
+
4512
+ def __init__(self):
4513
+ r"""
4514
+ :param _Content: <p>日志内容</p>
4515
+ :type Content: str
4516
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4517
+ :type RequestId: str
4518
+ """
4519
+ self._Content = None
4520
+ self._RequestId = None
4521
+
4522
+ @property
4523
+ def Content(self):
4524
+ r"""<p>日志内容</p>
4525
+ :rtype: str
4526
+ """
4527
+ return self._Content
4528
+
4529
+ @Content.setter
4530
+ def Content(self, Content):
4531
+ self._Content = Content
4532
+
4533
+ @property
4534
+ def RequestId(self):
4535
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4536
+ :rtype: str
4537
+ """
4538
+ return self._RequestId
4539
+
4540
+ @RequestId.setter
4541
+ def RequestId(self, RequestId):
4542
+ self._RequestId = RequestId
4543
+
4544
+
4545
+ def _deserialize(self, params):
4546
+ self._Content = params.get("Content")
4547
+ self._RequestId = params.get("RequestId")
4548
+
4549
+
4302
4550
  class GetRunMetadataFileRequest(AbstractModel):
4303
4551
  r"""GetRunMetadataFile请求参数结构体
4304
4552
 
@@ -95,6 +95,29 @@ class OmicsClient(AbstractClient):
95
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
96
 
97
97
 
98
+ def DeleteEnvironmentCache(self, request):
99
+ r"""删除环境缓存。
100
+
101
+ :param request: Request instance for DeleteEnvironmentCache.
102
+ :type request: :class:`tencentcloud.omics.v20221128.models.DeleteEnvironmentCacheRequest`
103
+ :rtype: :class:`tencentcloud.omics.v20221128.models.DeleteEnvironmentCacheResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("DeleteEnvironmentCache", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.DeleteEnvironmentCacheResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
98
121
  def DeleteVolume(self, request):
99
122
  r"""删除缓存卷。
100
123
 
@@ -486,6 +509,29 @@ class OmicsClient(AbstractClient):
486
509
  raise TencentCloudSDKException(type(e).__name__, str(e))
487
510
 
488
511
 
512
+ def GetRunJobLog(self, request):
513
+ r"""获取任务详情文件。
514
+
515
+ :param request: Request instance for GetRunJobLog.
516
+ :type request: :class:`tencentcloud.omics.v20221128.models.GetRunJobLogRequest`
517
+ :rtype: :class:`tencentcloud.omics.v20221128.models.GetRunJobLogResponse`
518
+
519
+ """
520
+ try:
521
+ params = request._serialize()
522
+ headers = request.headers
523
+ body = self.call("GetRunJobLog", params, headers=headers)
524
+ response = json.loads(body)
525
+ model = models.GetRunJobLogResponse()
526
+ model._deserialize(response["Response"])
527
+ return model
528
+ except Exception as e:
529
+ if isinstance(e, TencentCloudSDKException):
530
+ raise
531
+ else:
532
+ raise TencentCloudSDKException(type(e).__name__, str(e))
533
+
534
+
489
535
  def GetRunMetadataFile(self, request):
490
536
  r"""获取任务详情文件。
491
537
 
@@ -79,6 +79,24 @@ class OmicsClient(AbstractClient):
79
79
 
80
80
  return await self.call_and_deserialize(**kwargs)
81
81
 
82
+ async def DeleteEnvironmentCache(
83
+ self,
84
+ request: models.DeleteEnvironmentCacheRequest,
85
+ opts: Dict = None,
86
+ ) -> models.DeleteEnvironmentCacheResponse:
87
+ """
88
+ 删除环境缓存。
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "DeleteEnvironmentCache"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.DeleteEnvironmentCacheResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
82
100
  async def DeleteVolume(
83
101
  self,
84
102
  request: models.DeleteVolumeRequest,
@@ -385,6 +403,24 @@ class OmicsClient(AbstractClient):
385
403
 
386
404
  return await self.call_and_deserialize(**kwargs)
387
405
 
406
+ async def GetRunJobLog(
407
+ self,
408
+ request: models.GetRunJobLogRequest,
409
+ opts: Dict = None,
410
+ ) -> models.GetRunJobLogResponse:
411
+ """
412
+ 获取任务详情文件。
413
+ """
414
+
415
+ kwargs = {}
416
+ kwargs["action"] = "GetRunJobLog"
417
+ kwargs["params"] = request._serialize()
418
+ kwargs["resp_cls"] = models.GetRunJobLogResponse
419
+ kwargs["headers"] = request.headers
420
+ kwargs["opts"] = opts or {}
421
+
422
+ return await self.call_and_deserialize(**kwargs)
423
+
388
424
  async def GetRunMetadataFile(
389
425
  self,
390
426
  request: models.GetRunMetadataFileRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-omics
3
- Version: 3.1.77
3
+ Version: 3.1.150
4
4
  Summary: Tencent Cloud Omics 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.77
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.150
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=0I_HP4bdG71Mqzae47wWhlveoEJt-qVF0xr95tlRkjQ,630
2
+ tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/omics/v20221128/errorcodes.py,sha256=G9tGtwbBeBjy9p5SYm-SXZM7gQlWfDSXVRGiwaby0k4,4855
5
+ tencentcloud/omics/v20221128/models.py,sha256=N6ELbz5410s95BAgqgftwvmTUFzJoCr7fc_2abP_HpY,301131
6
+ tencentcloud/omics/v20221128/omics_client.py,sha256=wuvcHXwClJYCnrv2h_FQVbN4sERsUsAiDelbHuBz7Xg,28970
7
+ tencentcloud/omics/v20221128/omics_client_async.py,sha256=jIWlzBa-jcC2Zr4Ls-knavYUyo03Fa8Geh0NI_nzcVo,19208
8
+ tencentcloud_sdk_python_omics-3.1.150.dist-info/METADATA,sha256=d-cRNSod9y0qCIPTEywV5oWxiZ7W1QfMJAke_1u3pU4,1507
9
+ tencentcloud_sdk_python_omics-3.1.150.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_omics-3.1.150.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_omics-3.1.150.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=XRuMwlwfpGdEJdjtIijMfnUVVVZGrvs5Z3IT-hh5tMw,629
2
- tencentcloud/omics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/omics/v20221128/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/omics/v20221128/errorcodes.py,sha256=G9tGtwbBeBjy9p5SYm-SXZM7gQlWfDSXVRGiwaby0k4,4855
5
- tencentcloud/omics/v20221128/models.py,sha256=McBwIRr8dYaHR66gK4_e_PL7WS8M_ETZucUIEemPKAM,293367
6
- tencentcloud/omics/v20221128/omics_client.py,sha256=Ii7gKtsI1upbkqD5d6ODm8d9ur-_rri3za8XS_qxnWk,27210
7
- tencentcloud/omics/v20221128/omics_client_async.py,sha256=2GKPpEoVUhiCrAeoLtqSnEO4MDxvBngTmKAYDExXZGQ,18054
8
- tencentcloud_sdk_python_omics-3.1.77.dist-info/METADATA,sha256=KzIpjtSWwkL_lGbqfnW-73j1y0wPzgM_Dm2dfTkJOAE,1505
9
- tencentcloud_sdk_python_omics-3.1.77.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_omics-3.1.77.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_omics-3.1.77.dist-info/RECORD,,