tencentcloud-sdk-python-dlc 3.0.1041__tar.gz → 3.0.1043__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 (16) hide show
  1. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/setup.py +1 -1
  3. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  5. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/dlc/v20210125/models.py +123 -0
  6. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-dlc-3.0.1043/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-dlc-3.0.1041/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/README.rst +0 -0
  10. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/dlc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  13. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-dlc-3.0.1041 → tencentcloud-sdk-python-dlc-3.0.1043}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.0.1041
3
+ Version: 3.0.1043
4
4
  Summary: Tencent Cloud Dlc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-dlc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1041"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1043"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Dlc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1041'
17
+ __version__ = '3.0.1043'
@@ -141,6 +141,29 @@ class DlcClient(AbstractClient):
141
141
  raise TencentCloudSDKException(type(e).__name__, str(e))
142
142
 
143
143
 
144
+ def AssignMangedTableProperties(self, request):
145
+ """分配原生表表属性
146
+
147
+ :param request: Request instance for AssignMangedTableProperties.
148
+ :type request: :class:`tencentcloud.dlc.v20210125.models.AssignMangedTablePropertiesRequest`
149
+ :rtype: :class:`tencentcloud.dlc.v20210125.models.AssignMangedTablePropertiesResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("AssignMangedTableProperties", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.AssignMangedTablePropertiesResponse()
158
+ model._deserialize(response["Response"])
159
+ return model
160
+ except Exception as e:
161
+ if isinstance(e, TencentCloudSDKException):
162
+ raise
163
+ else:
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
+
166
+
144
167
  def AttachUserPolicy(self, request):
145
168
  """绑定鉴权策略到用户
146
169
 
@@ -851,6 +851,129 @@ class Asset(AbstractModel):
851
851
 
852
852
 
853
853
 
854
+ class AssignMangedTablePropertiesRequest(AbstractModel):
855
+ """AssignMangedTableProperties请求参数结构体
856
+
857
+ """
858
+
859
+ def __init__(self):
860
+ r"""
861
+ :param _TableBaseInfo: 表基本信息
862
+ :type TableBaseInfo: :class:`tencentcloud.dlc.v20210125.models.TableBaseInfo`
863
+ :param _Columns: 表字段信息
864
+ :type Columns: list of TColumn
865
+ :param _Partitions: 表分区信息
866
+ :type Partitions: list of TPartition
867
+ :param _Properties: 表属性信息
868
+ :type Properties: list of Property
869
+ :param _UpsertKeys: V2 upsert表 upsert键
870
+ :type UpsertKeys: list of str
871
+ """
872
+ self._TableBaseInfo = None
873
+ self._Columns = None
874
+ self._Partitions = None
875
+ self._Properties = None
876
+ self._UpsertKeys = None
877
+
878
+ @property
879
+ def TableBaseInfo(self):
880
+ return self._TableBaseInfo
881
+
882
+ @TableBaseInfo.setter
883
+ def TableBaseInfo(self, TableBaseInfo):
884
+ self._TableBaseInfo = TableBaseInfo
885
+
886
+ @property
887
+ def Columns(self):
888
+ return self._Columns
889
+
890
+ @Columns.setter
891
+ def Columns(self, Columns):
892
+ self._Columns = Columns
893
+
894
+ @property
895
+ def Partitions(self):
896
+ return self._Partitions
897
+
898
+ @Partitions.setter
899
+ def Partitions(self, Partitions):
900
+ self._Partitions = Partitions
901
+
902
+ @property
903
+ def Properties(self):
904
+ return self._Properties
905
+
906
+ @Properties.setter
907
+ def Properties(self, Properties):
908
+ self._Properties = Properties
909
+
910
+ @property
911
+ def UpsertKeys(self):
912
+ return self._UpsertKeys
913
+
914
+ @UpsertKeys.setter
915
+ def UpsertKeys(self, UpsertKeys):
916
+ self._UpsertKeys = UpsertKeys
917
+
918
+
919
+ def _deserialize(self, params):
920
+ if params.get("TableBaseInfo") is not None:
921
+ self._TableBaseInfo = TableBaseInfo()
922
+ self._TableBaseInfo._deserialize(params.get("TableBaseInfo"))
923
+ if params.get("Columns") is not None:
924
+ self._Columns = []
925
+ for item in params.get("Columns"):
926
+ obj = TColumn()
927
+ obj._deserialize(item)
928
+ self._Columns.append(obj)
929
+ if params.get("Partitions") is not None:
930
+ self._Partitions = []
931
+ for item in params.get("Partitions"):
932
+ obj = TPartition()
933
+ obj._deserialize(item)
934
+ self._Partitions.append(obj)
935
+ if params.get("Properties") is not None:
936
+ self._Properties = []
937
+ for item in params.get("Properties"):
938
+ obj = Property()
939
+ obj._deserialize(item)
940
+ self._Properties.append(obj)
941
+ self._UpsertKeys = params.get("UpsertKeys")
942
+ memeber_set = set(params.keys())
943
+ for name, value in vars(self).items():
944
+ property_name = name[1:]
945
+ if property_name in memeber_set:
946
+ memeber_set.remove(property_name)
947
+ if len(memeber_set) > 0:
948
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
949
+
950
+
951
+
952
+ class AssignMangedTablePropertiesResponse(AbstractModel):
953
+ """AssignMangedTableProperties返回参数结构体
954
+
955
+ """
956
+
957
+ def __init__(self):
958
+ r"""
959
+ :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
960
+ :type RequestId: str
961
+ """
962
+ self._RequestId = None
963
+
964
+ @property
965
+ def RequestId(self):
966
+ return self._RequestId
967
+
968
+ @RequestId.setter
969
+ def RequestId(self, RequestId):
970
+ self._RequestId = RequestId
971
+
972
+
973
+ def _deserialize(self, params):
974
+ self._RequestId = params.get("RequestId")
975
+
976
+
854
977
  class AttachUserPolicyRequest(AbstractModel):
855
978
  """AttachUserPolicy请求参数结构体
856
979
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.0.1041
3
+ Version: 3.0.1043
4
4
  Summary: Tencent Cloud Dlc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1043
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1041