tencentcloud-sdk-python-wedata 3.1.138__tar.gz → 3.1.156__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_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/setup.py +1 -1
  3. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20210820/models.py +241 -0
  5. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  6. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  7. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20250806/models.py +4 -4
  8. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud_sdk_python_wedata.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_wedata-3.1.156/tencentcloud_sdk_python_wedata.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_wedata-3.1.138/tencentcloud_sdk_python_wedata.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/README.rst +0 -0
  12. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/__init__.py +0 -0
  14. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20210820/__init__.py +0 -0
  15. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20210820/errorcodes.py +0 -0
  16. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20250806/__init__.py +0 -0
  17. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20250806/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20250806/wedata_client.py +0 -0
  19. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud/wedata/v20250806/wedata_client_async.py +0 -0
  20. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud_sdk_python_wedata.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud_sdk_python_wedata.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_wedata-3.1.138 → tencentcloud_sdk_python_wedata-3.1.156}/tencentcloud_sdk_python_wedata.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-wedata
3
- Version: 3.1.138
3
+ Version: 3.1.156
4
4
  Summary: Tencent Cloud Wedata 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.138
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.156
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-wedata',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.138,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.156,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Wedata SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.138'
17
+ __version__ = '3.1.156'
@@ -35378,6 +35378,107 @@ class DescribeInstanceLogResponse(AbstractModel):
35378
35378
  self._RequestId = params.get("RequestId")
35379
35379
 
35380
35380
 
35381
+ class DescribeInstancesByExecutorsRequest(AbstractModel):
35382
+ r"""DescribeInstancesByExecutors请求参数结构体
35383
+
35384
+ """
35385
+
35386
+ def __init__(self):
35387
+ r"""
35388
+ :param _ProjectId: <p>项目ID</p>
35389
+ :type ProjectId: str
35390
+ :param _ExecutorGroupIdList: <p>执行资源组ID</p>
35391
+ :type ExecutorGroupIdList: list of str
35392
+ """
35393
+ self._ProjectId = None
35394
+ self._ExecutorGroupIdList = None
35395
+
35396
+ @property
35397
+ def ProjectId(self):
35398
+ r"""<p>项目ID</p>
35399
+ :rtype: str
35400
+ """
35401
+ return self._ProjectId
35402
+
35403
+ @ProjectId.setter
35404
+ def ProjectId(self, ProjectId):
35405
+ self._ProjectId = ProjectId
35406
+
35407
+ @property
35408
+ def ExecutorGroupIdList(self):
35409
+ r"""<p>执行资源组ID</p>
35410
+ :rtype: list of str
35411
+ """
35412
+ return self._ExecutorGroupIdList
35413
+
35414
+ @ExecutorGroupIdList.setter
35415
+ def ExecutorGroupIdList(self, ExecutorGroupIdList):
35416
+ self._ExecutorGroupIdList = ExecutorGroupIdList
35417
+
35418
+
35419
+ def _deserialize(self, params):
35420
+ self._ProjectId = params.get("ProjectId")
35421
+ self._ExecutorGroupIdList = params.get("ExecutorGroupIdList")
35422
+ memeber_set = set(params.keys())
35423
+ for name, value in vars(self).items():
35424
+ property_name = name[1:]
35425
+ if property_name in memeber_set:
35426
+ memeber_set.remove(property_name)
35427
+ if len(memeber_set) > 0:
35428
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
35429
+
35430
+
35431
+
35432
+ class DescribeInstancesByExecutorsResponse(AbstractModel):
35433
+ r"""DescribeInstancesByExecutors返回参数结构体
35434
+
35435
+ """
35436
+
35437
+ def __init__(self):
35438
+ r"""
35439
+ :param _Data: <p>实例状态统计结果</p>
35440
+ 注意:此字段可能返回 null,表示取不到有效值。
35441
+ :type Data: list of ExecutorTaskInstanceCount
35442
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
35443
+ :type RequestId: str
35444
+ """
35445
+ self._Data = None
35446
+ self._RequestId = None
35447
+
35448
+ @property
35449
+ def Data(self):
35450
+ r"""<p>实例状态统计结果</p>
35451
+ 注意:此字段可能返回 null,表示取不到有效值。
35452
+ :rtype: list of ExecutorTaskInstanceCount
35453
+ """
35454
+ return self._Data
35455
+
35456
+ @Data.setter
35457
+ def Data(self, Data):
35458
+ self._Data = Data
35459
+
35460
+ @property
35461
+ def RequestId(self):
35462
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
35463
+ :rtype: str
35464
+ """
35465
+ return self._RequestId
35466
+
35467
+ @RequestId.setter
35468
+ def RequestId(self, RequestId):
35469
+ self._RequestId = RequestId
35470
+
35471
+
35472
+ def _deserialize(self, params):
35473
+ if params.get("Data") is not None:
35474
+ self._Data = []
35475
+ for item in params.get("Data"):
35476
+ obj = ExecutorTaskInstanceCount()
35477
+ obj._deserialize(item)
35478
+ self._Data.append(obj)
35479
+ self._RequestId = params.get("RequestId")
35480
+
35481
+
35381
35482
  class DescribeIntegrationNodeRequest(AbstractModel):
35382
35483
  r"""DescribeIntegrationNode请求参数结构体
35383
35484
 
@@ -58710,6 +58811,146 @@ class ExecutorResourcePackageUsageInfo(AbstractModel):
58710
58811
 
58711
58812
 
58712
58813
 
58814
+ class ExecutorTaskInstanceCount(AbstractModel):
58815
+ r"""ExecutorTaskInstanceCount
58816
+
58817
+ """
58818
+
58819
+ def __init__(self):
58820
+ r"""
58821
+ :param _ExecutorGroupId: 执行资源组ID
58822
+ 注意:此字段可能返回 null,表示取不到有效值。
58823
+ :type ExecutorGroupId: str
58824
+ :param _SchedulingTaskCount: 数据开发中的任务类型绑定的资源组数量等待调度的任务实例数量
58825
+ 注意:此字段可能返回 null,表示取不到有效值。
58826
+ :type SchedulingTaskCount: int
58827
+ :param _RunningInstanceCount: 数据开发中的任务类型绑定的资源组数量运行中的人物实例数量
58828
+ 注意:此字段可能返回 null,表示取不到有效值。
58829
+ :type RunningInstanceCount: int
58830
+ :param _WaitingInstanceCount: 数据开发中的任务类型绑定的资源组数量等待运行的任务实例数量
58831
+ 注意:此字段可能返回 null,表示取不到有效值。
58832
+ :type WaitingInstanceCount: int
58833
+ :param _OthersTaskTypeSchedulingTaskCount: 非离线开发调度中任务数
58834
+ 注意:此字段可能返回 null,表示取不到有效值。
58835
+ :type OthersTaskTypeSchedulingTaskCount: int
58836
+ :param _OthersTaskTypeRunningInstanceCount: 非离线开发运行中实例数
58837
+ 注意:此字段可能返回 null,表示取不到有效值。
58838
+ :type OthersTaskTypeRunningInstanceCount: int
58839
+ :param _OthersTaskTypeWaitingInstanceCount: 非离线开发等待运行实例数
58840
+ 注意:此字段可能返回 null,表示取不到有效值。
58841
+ :type OthersTaskTypeWaitingInstanceCount: str
58842
+ """
58843
+ self._ExecutorGroupId = None
58844
+ self._SchedulingTaskCount = None
58845
+ self._RunningInstanceCount = None
58846
+ self._WaitingInstanceCount = None
58847
+ self._OthersTaskTypeSchedulingTaskCount = None
58848
+ self._OthersTaskTypeRunningInstanceCount = None
58849
+ self._OthersTaskTypeWaitingInstanceCount = None
58850
+
58851
+ @property
58852
+ def ExecutorGroupId(self):
58853
+ r"""执行资源组ID
58854
+ 注意:此字段可能返回 null,表示取不到有效值。
58855
+ :rtype: str
58856
+ """
58857
+ return self._ExecutorGroupId
58858
+
58859
+ @ExecutorGroupId.setter
58860
+ def ExecutorGroupId(self, ExecutorGroupId):
58861
+ self._ExecutorGroupId = ExecutorGroupId
58862
+
58863
+ @property
58864
+ def SchedulingTaskCount(self):
58865
+ r"""数据开发中的任务类型绑定的资源组数量等待调度的任务实例数量
58866
+ 注意:此字段可能返回 null,表示取不到有效值。
58867
+ :rtype: int
58868
+ """
58869
+ return self._SchedulingTaskCount
58870
+
58871
+ @SchedulingTaskCount.setter
58872
+ def SchedulingTaskCount(self, SchedulingTaskCount):
58873
+ self._SchedulingTaskCount = SchedulingTaskCount
58874
+
58875
+ @property
58876
+ def RunningInstanceCount(self):
58877
+ r"""数据开发中的任务类型绑定的资源组数量运行中的人物实例数量
58878
+ 注意:此字段可能返回 null,表示取不到有效值。
58879
+ :rtype: int
58880
+ """
58881
+ return self._RunningInstanceCount
58882
+
58883
+ @RunningInstanceCount.setter
58884
+ def RunningInstanceCount(self, RunningInstanceCount):
58885
+ self._RunningInstanceCount = RunningInstanceCount
58886
+
58887
+ @property
58888
+ def WaitingInstanceCount(self):
58889
+ r"""数据开发中的任务类型绑定的资源组数量等待运行的任务实例数量
58890
+ 注意:此字段可能返回 null,表示取不到有效值。
58891
+ :rtype: int
58892
+ """
58893
+ return self._WaitingInstanceCount
58894
+
58895
+ @WaitingInstanceCount.setter
58896
+ def WaitingInstanceCount(self, WaitingInstanceCount):
58897
+ self._WaitingInstanceCount = WaitingInstanceCount
58898
+
58899
+ @property
58900
+ def OthersTaskTypeSchedulingTaskCount(self):
58901
+ r"""非离线开发调度中任务数
58902
+ 注意:此字段可能返回 null,表示取不到有效值。
58903
+ :rtype: int
58904
+ """
58905
+ return self._OthersTaskTypeSchedulingTaskCount
58906
+
58907
+ @OthersTaskTypeSchedulingTaskCount.setter
58908
+ def OthersTaskTypeSchedulingTaskCount(self, OthersTaskTypeSchedulingTaskCount):
58909
+ self._OthersTaskTypeSchedulingTaskCount = OthersTaskTypeSchedulingTaskCount
58910
+
58911
+ @property
58912
+ def OthersTaskTypeRunningInstanceCount(self):
58913
+ r"""非离线开发运行中实例数
58914
+ 注意:此字段可能返回 null,表示取不到有效值。
58915
+ :rtype: int
58916
+ """
58917
+ return self._OthersTaskTypeRunningInstanceCount
58918
+
58919
+ @OthersTaskTypeRunningInstanceCount.setter
58920
+ def OthersTaskTypeRunningInstanceCount(self, OthersTaskTypeRunningInstanceCount):
58921
+ self._OthersTaskTypeRunningInstanceCount = OthersTaskTypeRunningInstanceCount
58922
+
58923
+ @property
58924
+ def OthersTaskTypeWaitingInstanceCount(self):
58925
+ r"""非离线开发等待运行实例数
58926
+ 注意:此字段可能返回 null,表示取不到有效值。
58927
+ :rtype: str
58928
+ """
58929
+ return self._OthersTaskTypeWaitingInstanceCount
58930
+
58931
+ @OthersTaskTypeWaitingInstanceCount.setter
58932
+ def OthersTaskTypeWaitingInstanceCount(self, OthersTaskTypeWaitingInstanceCount):
58933
+ self._OthersTaskTypeWaitingInstanceCount = OthersTaskTypeWaitingInstanceCount
58934
+
58935
+
58936
+ def _deserialize(self, params):
58937
+ self._ExecutorGroupId = params.get("ExecutorGroupId")
58938
+ self._SchedulingTaskCount = params.get("SchedulingTaskCount")
58939
+ self._RunningInstanceCount = params.get("RunningInstanceCount")
58940
+ self._WaitingInstanceCount = params.get("WaitingInstanceCount")
58941
+ self._OthersTaskTypeSchedulingTaskCount = params.get("OthersTaskTypeSchedulingTaskCount")
58942
+ self._OthersTaskTypeRunningInstanceCount = params.get("OthersTaskTypeRunningInstanceCount")
58943
+ self._OthersTaskTypeWaitingInstanceCount = params.get("OthersTaskTypeWaitingInstanceCount")
58944
+ memeber_set = set(params.keys())
58945
+ for name, value in vars(self).items():
58946
+ property_name = name[1:]
58947
+ if property_name in memeber_set:
58948
+ memeber_set.remove(property_name)
58949
+ if len(memeber_set) > 0:
58950
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
58951
+
58952
+
58953
+
58713
58954
  class ExecutorUsageTrendInfo(AbstractModel):
58714
58955
  r"""资源组/资源包使用趋势
58715
58956
 
@@ -2740,6 +2740,29 @@ class WedataClient(AbstractClient):
2740
2740
  raise TencentCloudSDKException(type(e).__name__, str(e))
2741
2741
 
2742
2742
 
2743
+ def DescribeInstancesByExecutors(self, request):
2744
+ r"""按执行资源组查询任务调度与运行实例数量统计
2745
+
2746
+ :param request: Request instance for DescribeInstancesByExecutors.
2747
+ :type request: :class:`tencentcloud.wedata.v20210820.models.DescribeInstancesByExecutorsRequest`
2748
+ :rtype: :class:`tencentcloud.wedata.v20210820.models.DescribeInstancesByExecutorsResponse`
2749
+
2750
+ """
2751
+ try:
2752
+ params = request._serialize()
2753
+ headers = request.headers
2754
+ body = self.call("DescribeInstancesByExecutors", params, headers=headers)
2755
+ response = json.loads(body)
2756
+ model = models.DescribeInstancesByExecutorsResponse()
2757
+ model._deserialize(response["Response"])
2758
+ return model
2759
+ except Exception as e:
2760
+ if isinstance(e, TencentCloudSDKException):
2761
+ raise
2762
+ else:
2763
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2764
+
2765
+
2743
2766
  def DescribeIntegrationNode(self, request):
2744
2767
  r"""查询集成节点
2745
2768
 
@@ -2149,6 +2149,24 @@ class WedataClient(AbstractClient):
2149
2149
 
2150
2150
  return await self.call_and_deserialize(**kwargs)
2151
2151
 
2152
+ async def DescribeInstancesByExecutors(
2153
+ self,
2154
+ request: models.DescribeInstancesByExecutorsRequest,
2155
+ opts: Dict = None,
2156
+ ) -> models.DescribeInstancesByExecutorsResponse:
2157
+ """
2158
+ 按执行资源组查询任务调度与运行实例数量统计
2159
+ """
2160
+
2161
+ kwargs = {}
2162
+ kwargs["action"] = "DescribeInstancesByExecutors"
2163
+ kwargs["params"] = request._serialize()
2164
+ kwargs["resp_cls"] = models.DescribeInstancesByExecutorsResponse
2165
+ kwargs["headers"] = request.headers
2166
+ kwargs["opts"] = opts or {}
2167
+
2168
+ return await self.call_and_deserialize(**kwargs)
2169
+
2152
2170
  async def DescribeIntegrationNode(
2153
2171
  self,
2154
2172
  request: models.DescribeIntegrationNodeRequest,
@@ -49640,10 +49640,10 @@ class TaskCodeResult(AbstractModel):
49640
49640
 
49641
49641
  def __init__(self):
49642
49642
  r"""
49643
- :param _CodeInfo: 代码内容
49643
+ :param _CodeInfo: <p>base64编码的代码内容</p>
49644
49644
  注意:此字段可能返回 null,表示取不到有效值。
49645
49645
  :type CodeInfo: str
49646
- :param _CodeFileSize: 代码文件大小,单位KB
49646
+ :param _CodeFileSize: <p>代码文件大小,单位KB</p>
49647
49647
  注意:此字段可能返回 null,表示取不到有效值。
49648
49648
  :type CodeFileSize: str
49649
49649
  """
@@ -49652,7 +49652,7 @@ class TaskCodeResult(AbstractModel):
49652
49652
 
49653
49653
  @property
49654
49654
  def CodeInfo(self):
49655
- r"""代码内容
49655
+ r"""<p>base64编码的代码内容</p>
49656
49656
  注意:此字段可能返回 null,表示取不到有效值。
49657
49657
  :rtype: str
49658
49658
  """
@@ -49664,7 +49664,7 @@ class TaskCodeResult(AbstractModel):
49664
49664
 
49665
49665
  @property
49666
49666
  def CodeFileSize(self):
49667
- r"""代码文件大小,单位KB
49667
+ r"""<p>代码文件大小,单位KB</p>
49668
49668
  注意:此字段可能返回 null,表示取不到有效值。
49669
49669
  :rtype: str
49670
49670
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-wedata
3
- Version: 3.1.138
3
+ Version: 3.1.156
4
4
  Summary: Tencent Cloud Wedata 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.138
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.156
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.156
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.138