tencentcloud-sdk-python-omics 3.1.124__tar.gz → 3.1.150__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 (17) hide show
  1. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/setup.py +1 -1
  3. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/v20221128/models.py +109 -0
  5. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/v20221128/omics_client.py +23 -0
  6. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/v20221128/omics_client_async.py +18 -0
  7. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud_sdk_python_omics.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_omics-3.1.150/tencentcloud_sdk_python_omics.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_omics-3.1.124/tencentcloud_sdk_python_omics.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/README.rst +0 -0
  11. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/__init__.py +0 -0
  13. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/v20221128/__init__.py +0 -0
  14. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud/omics/v20221128/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud_sdk_python_omics.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud_sdk_python_omics.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_omics-3.1.124 → tencentcloud_sdk_python_omics-3.1.150}/tencentcloud_sdk_python_omics.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-omics
3
- Version: 3.1.124
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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.150
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-omics',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.150,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Omics SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.124'
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
 
@@ -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
 
@@ -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,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-omics
3
- Version: 3.1.124
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.124
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 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.150
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.124