tencentcloud-sdk-python-dlc 3.1.142__tar.gz → 3.1.145__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_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/models.py +470 -0
  5. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_dlc-3.1.145/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_dlc-3.1.142/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/README.rst +0 -0
  9. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/__init__.py +0 -0
  11. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/dlc_client.py +0 -0
  13. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/dlc_client_async.py +0 -0
  14. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dlc-3.1.142 → tencentcloud_sdk_python_dlc-3.1.145}/tencentcloud_sdk_python_dlc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.142
3
+ Version: 3.1.145
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
@@ -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.142
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
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-dlc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.142,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dlc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.142'
17
+ __version__ = '3.1.145'
@@ -6973,6 +6973,476 @@ class CreateSparkAppForTDLCRequest(AbstractModel):
6973
6973
 
6974
6974
  """
6975
6975
 
6976
+ def __init__(self):
6977
+ r"""
6978
+ :param _AppName: <p>spark作业名</p>
6979
+ :type AppName: str
6980
+ :param _AppType: <p>spark作业类型,1代表spark jar作业,2代表spark streaming作业</p>
6981
+ :type AppType: int
6982
+ :param _DataEngine: <p>执行spark作业的数据引擎名称</p>
6983
+ :type DataEngine: str
6984
+ :param _AppFile: <p>spark作业程序包文件路径</p>
6985
+ :type AppFile: str
6986
+ :param _RoleArn: <p>数据访问策略,CAM Role arn,控制台通过数据作业—&gt;作业配置获取,SDK通过DescribeUserRoles接口获取对应的值;</p>
6987
+ :type RoleArn: int
6988
+ :param _AppDriverSize: <p>指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
6989
+ :type AppDriverSize: str
6990
+ :param _AppExecutorSize: <p>指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
6991
+ :type AppExecutorSize: str
6992
+ :param _AppExecutorNums: <p>spark作业executor个数</p>
6993
+ :type AppExecutorNums: int
6994
+ :param _Eni: <p>该字段已下线,请使用字段Datasource</p>
6995
+ :type Eni: str
6996
+ :param _IsLocal: <p>spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
6997
+ :type IsLocal: str
6998
+ :param _MainClass: <p>spark作业主类</p>
6999
+ :type MainClass: str
7000
+ :param _AppConf: <p>spark配置,以换行符分隔</p>
7001
+ :type AppConf: str
7002
+ :param _IsLocalJars: <p>spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7003
+ :type IsLocalJars: str
7004
+ :param _AppJars: <p>spark 作业依赖jar包(--jars),以逗号分隔</p>
7005
+ :type AppJars: str
7006
+ :param _IsLocalFiles: <p>spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7007
+ :type IsLocalFiles: str
7008
+ :param _AppFiles: <p>spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔</p>
7009
+ :type AppFiles: str
7010
+ :param _CmdArgs: <p>spark作业程序入参,空格分割</p>
7011
+ :type CmdArgs: str
7012
+ :param _MaxRetries: <p>最大重试次数,只对spark流任务生效</p>
7013
+ :type MaxRetries: int
7014
+ :param _DataSource: <p>数据源名称</p>
7015
+ :type DataSource: str
7016
+ :param _IsLocalPythonFiles: <p>pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7017
+ :type IsLocalPythonFiles: str
7018
+ :param _AppPythonFiles: <p>pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔</p>
7019
+ :type AppPythonFiles: str
7020
+ :param _IsLocalArchives: <p>spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7021
+ :type IsLocalArchives: str
7022
+ :param _AppArchives: <p>spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔</p>
7023
+ :type AppArchives: str
7024
+ :param _SparkImage: <p>Spark Image 版本号</p>
7025
+ :type SparkImage: str
7026
+ :param _SparkImageVersion: <p>Spark Image 版本名称</p>
7027
+ :type SparkImageVersion: str
7028
+ :param _AppExecutorMaxNumbers: <p>指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums</p>
7029
+ :type AppExecutorMaxNumbers: int
7030
+ :param _SessionId: <p>关联dlc查询脚本id</p>
7031
+ :type SessionId: str
7032
+ :param _IsInherit: <p>任务资源配置是否继承集群模板,0(默认)不继承,1:继承</p>
7033
+ :type IsInherit: int
7034
+ :param _IsSessionStarted: <p>是否使用session脚本的sql运行任务:false:否,true:是</p>
7035
+ :type IsSessionStarted: bool
7036
+ :param _DependencyPackages: <p>依赖包信息</p>
7037
+ :type DependencyPackages: list of DependencyPackage
7038
+ """
7039
+ self._AppName = None
7040
+ self._AppType = None
7041
+ self._DataEngine = None
7042
+ self._AppFile = None
7043
+ self._RoleArn = None
7044
+ self._AppDriverSize = None
7045
+ self._AppExecutorSize = None
7046
+ self._AppExecutorNums = None
7047
+ self._Eni = None
7048
+ self._IsLocal = None
7049
+ self._MainClass = None
7050
+ self._AppConf = None
7051
+ self._IsLocalJars = None
7052
+ self._AppJars = None
7053
+ self._IsLocalFiles = None
7054
+ self._AppFiles = None
7055
+ self._CmdArgs = None
7056
+ self._MaxRetries = None
7057
+ self._DataSource = None
7058
+ self._IsLocalPythonFiles = None
7059
+ self._AppPythonFiles = None
7060
+ self._IsLocalArchives = None
7061
+ self._AppArchives = None
7062
+ self._SparkImage = None
7063
+ self._SparkImageVersion = None
7064
+ self._AppExecutorMaxNumbers = None
7065
+ self._SessionId = None
7066
+ self._IsInherit = None
7067
+ self._IsSessionStarted = None
7068
+ self._DependencyPackages = None
7069
+
7070
+ @property
7071
+ def AppName(self):
7072
+ r"""<p>spark作业名</p>
7073
+ :rtype: str
7074
+ """
7075
+ return self._AppName
7076
+
7077
+ @AppName.setter
7078
+ def AppName(self, AppName):
7079
+ self._AppName = AppName
7080
+
7081
+ @property
7082
+ def AppType(self):
7083
+ r"""<p>spark作业类型,1代表spark jar作业,2代表spark streaming作业</p>
7084
+ :rtype: int
7085
+ """
7086
+ return self._AppType
7087
+
7088
+ @AppType.setter
7089
+ def AppType(self, AppType):
7090
+ self._AppType = AppType
7091
+
7092
+ @property
7093
+ def DataEngine(self):
7094
+ r"""<p>执行spark作业的数据引擎名称</p>
7095
+ :rtype: str
7096
+ """
7097
+ return self._DataEngine
7098
+
7099
+ @DataEngine.setter
7100
+ def DataEngine(self, DataEngine):
7101
+ self._DataEngine = DataEngine
7102
+
7103
+ @property
7104
+ def AppFile(self):
7105
+ r"""<p>spark作业程序包文件路径</p>
7106
+ :rtype: str
7107
+ """
7108
+ return self._AppFile
7109
+
7110
+ @AppFile.setter
7111
+ def AppFile(self, AppFile):
7112
+ self._AppFile = AppFile
7113
+
7114
+ @property
7115
+ def RoleArn(self):
7116
+ r"""<p>数据访问策略,CAM Role arn,控制台通过数据作业—&gt;作业配置获取,SDK通过DescribeUserRoles接口获取对应的值;</p>
7117
+ :rtype: int
7118
+ """
7119
+ return self._RoleArn
7120
+
7121
+ @RoleArn.setter
7122
+ def RoleArn(self, RoleArn):
7123
+ self._RoleArn = RoleArn
7124
+
7125
+ @property
7126
+ def AppDriverSize(self):
7127
+ r"""<p>指定的Driver规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
7128
+ :rtype: str
7129
+ """
7130
+ return self._AppDriverSize
7131
+
7132
+ @AppDriverSize.setter
7133
+ def AppDriverSize(self, AppDriverSize):
7134
+ self._AppDriverSize = AppDriverSize
7135
+
7136
+ @property
7137
+ def AppExecutorSize(self):
7138
+ r"""<p>指定的Executor规格,当前支持:small(默认,1cu)、medium(2cu)、large(4cu)、xlarge(8cu)</p>
7139
+ :rtype: str
7140
+ """
7141
+ return self._AppExecutorSize
7142
+
7143
+ @AppExecutorSize.setter
7144
+ def AppExecutorSize(self, AppExecutorSize):
7145
+ self._AppExecutorSize = AppExecutorSize
7146
+
7147
+ @property
7148
+ def AppExecutorNums(self):
7149
+ r"""<p>spark作业executor个数</p>
7150
+ :rtype: int
7151
+ """
7152
+ return self._AppExecutorNums
7153
+
7154
+ @AppExecutorNums.setter
7155
+ def AppExecutorNums(self, AppExecutorNums):
7156
+ self._AppExecutorNums = AppExecutorNums
7157
+
7158
+ @property
7159
+ def Eni(self):
7160
+ r"""<p>该字段已下线,请使用字段Datasource</p>
7161
+ :rtype: str
7162
+ """
7163
+ return self._Eni
7164
+
7165
+ @Eni.setter
7166
+ def Eni(self, Eni):
7167
+ self._Eni = Eni
7168
+
7169
+ @property
7170
+ def IsLocal(self):
7171
+ r"""<p>spark作业程序包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7172
+ :rtype: str
7173
+ """
7174
+ return self._IsLocal
7175
+
7176
+ @IsLocal.setter
7177
+ def IsLocal(self, IsLocal):
7178
+ self._IsLocal = IsLocal
7179
+
7180
+ @property
7181
+ def MainClass(self):
7182
+ r"""<p>spark作业主类</p>
7183
+ :rtype: str
7184
+ """
7185
+ return self._MainClass
7186
+
7187
+ @MainClass.setter
7188
+ def MainClass(self, MainClass):
7189
+ self._MainClass = MainClass
7190
+
7191
+ @property
7192
+ def AppConf(self):
7193
+ r"""<p>spark配置,以换行符分隔</p>
7194
+ :rtype: str
7195
+ """
7196
+ return self._AppConf
7197
+
7198
+ @AppConf.setter
7199
+ def AppConf(self, AppConf):
7200
+ self._AppConf = AppConf
7201
+
7202
+ @property
7203
+ def IsLocalJars(self):
7204
+ r"""<p>spark 作业依赖jar包是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7205
+ :rtype: str
7206
+ """
7207
+ return self._IsLocalJars
7208
+
7209
+ @IsLocalJars.setter
7210
+ def IsLocalJars(self, IsLocalJars):
7211
+ self._IsLocalJars = IsLocalJars
7212
+
7213
+ @property
7214
+ def AppJars(self):
7215
+ r"""<p>spark 作业依赖jar包(--jars),以逗号分隔</p>
7216
+ :rtype: str
7217
+ """
7218
+ return self._AppJars
7219
+
7220
+ @AppJars.setter
7221
+ def AppJars(self, AppJars):
7222
+ self._AppJars = AppJars
7223
+
7224
+ @property
7225
+ def IsLocalFiles(self):
7226
+ r"""<p>spark作业依赖文件资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7227
+ :rtype: str
7228
+ """
7229
+ return self._IsLocalFiles
7230
+
7231
+ @IsLocalFiles.setter
7232
+ def IsLocalFiles(self, IsLocalFiles):
7233
+ self._IsLocalFiles = IsLocalFiles
7234
+
7235
+ @property
7236
+ def AppFiles(self):
7237
+ r"""<p>spark作业依赖文件资源(--files)(非jar、zip),以逗号分隔</p>
7238
+ :rtype: str
7239
+ """
7240
+ return self._AppFiles
7241
+
7242
+ @AppFiles.setter
7243
+ def AppFiles(self, AppFiles):
7244
+ self._AppFiles = AppFiles
7245
+
7246
+ @property
7247
+ def CmdArgs(self):
7248
+ r"""<p>spark作业程序入参,空格分割</p>
7249
+ :rtype: str
7250
+ """
7251
+ return self._CmdArgs
7252
+
7253
+ @CmdArgs.setter
7254
+ def CmdArgs(self, CmdArgs):
7255
+ self._CmdArgs = CmdArgs
7256
+
7257
+ @property
7258
+ def MaxRetries(self):
7259
+ r"""<p>最大重试次数,只对spark流任务生效</p>
7260
+ :rtype: int
7261
+ """
7262
+ return self._MaxRetries
7263
+
7264
+ @MaxRetries.setter
7265
+ def MaxRetries(self, MaxRetries):
7266
+ self._MaxRetries = MaxRetries
7267
+
7268
+ @property
7269
+ def DataSource(self):
7270
+ r"""<p>数据源名称</p>
7271
+ :rtype: str
7272
+ """
7273
+ return self._DataSource
7274
+
7275
+ @DataSource.setter
7276
+ def DataSource(self, DataSource):
7277
+ self._DataSource = DataSource
7278
+
7279
+ @property
7280
+ def IsLocalPythonFiles(self):
7281
+ r"""<p>pyspark:依赖上传方式,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7282
+ :rtype: str
7283
+ """
7284
+ return self._IsLocalPythonFiles
7285
+
7286
+ @IsLocalPythonFiles.setter
7287
+ def IsLocalPythonFiles(self, IsLocalPythonFiles):
7288
+ self._IsLocalPythonFiles = IsLocalPythonFiles
7289
+
7290
+ @property
7291
+ def AppPythonFiles(self):
7292
+ r"""<p>pyspark作业依赖python资源(--py-files),支持py/zip/egg等归档格式,多文件以逗号分隔</p>
7293
+ :rtype: str
7294
+ """
7295
+ return self._AppPythonFiles
7296
+
7297
+ @AppPythonFiles.setter
7298
+ def AppPythonFiles(self, AppPythonFiles):
7299
+ self._AppPythonFiles = AppPythonFiles
7300
+
7301
+ @property
7302
+ def IsLocalArchives(self):
7303
+ r"""<p>spark作业依赖archives资源是否本地上传,cos:存放与cos,lakefs:本地上传(控制台使用,该方式不支持直接接口调用)</p>
7304
+ :rtype: str
7305
+ """
7306
+ return self._IsLocalArchives
7307
+
7308
+ @IsLocalArchives.setter
7309
+ def IsLocalArchives(self, IsLocalArchives):
7310
+ self._IsLocalArchives = IsLocalArchives
7311
+
7312
+ @property
7313
+ def AppArchives(self):
7314
+ r"""<p>spark作业依赖archives资源(--archives),支持tar.gz/tgz/tar等归档格式,以逗号分隔</p>
7315
+ :rtype: str
7316
+ """
7317
+ return self._AppArchives
7318
+
7319
+ @AppArchives.setter
7320
+ def AppArchives(self, AppArchives):
7321
+ self._AppArchives = AppArchives
7322
+
7323
+ @property
7324
+ def SparkImage(self):
7325
+ r"""<p>Spark Image 版本号</p>
7326
+ :rtype: str
7327
+ """
7328
+ return self._SparkImage
7329
+
7330
+ @SparkImage.setter
7331
+ def SparkImage(self, SparkImage):
7332
+ self._SparkImage = SparkImage
7333
+
7334
+ @property
7335
+ def SparkImageVersion(self):
7336
+ r"""<p>Spark Image 版本名称</p>
7337
+ :rtype: str
7338
+ """
7339
+ return self._SparkImageVersion
7340
+
7341
+ @SparkImageVersion.setter
7342
+ def SparkImageVersion(self, SparkImageVersion):
7343
+ self._SparkImageVersion = SparkImageVersion
7344
+
7345
+ @property
7346
+ def AppExecutorMaxNumbers(self):
7347
+ r"""<p>指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums</p>
7348
+ :rtype: int
7349
+ """
7350
+ return self._AppExecutorMaxNumbers
7351
+
7352
+ @AppExecutorMaxNumbers.setter
7353
+ def AppExecutorMaxNumbers(self, AppExecutorMaxNumbers):
7354
+ self._AppExecutorMaxNumbers = AppExecutorMaxNumbers
7355
+
7356
+ @property
7357
+ def SessionId(self):
7358
+ r"""<p>关联dlc查询脚本id</p>
7359
+ :rtype: str
7360
+ """
7361
+ return self._SessionId
7362
+
7363
+ @SessionId.setter
7364
+ def SessionId(self, SessionId):
7365
+ self._SessionId = SessionId
7366
+
7367
+ @property
7368
+ def IsInherit(self):
7369
+ r"""<p>任务资源配置是否继承集群模板,0(默认)不继承,1:继承</p>
7370
+ :rtype: int
7371
+ """
7372
+ return self._IsInherit
7373
+
7374
+ @IsInherit.setter
7375
+ def IsInherit(self, IsInherit):
7376
+ self._IsInherit = IsInherit
7377
+
7378
+ @property
7379
+ def IsSessionStarted(self):
7380
+ r"""<p>是否使用session脚本的sql运行任务:false:否,true:是</p>
7381
+ :rtype: bool
7382
+ """
7383
+ return self._IsSessionStarted
7384
+
7385
+ @IsSessionStarted.setter
7386
+ def IsSessionStarted(self, IsSessionStarted):
7387
+ self._IsSessionStarted = IsSessionStarted
7388
+
7389
+ @property
7390
+ def DependencyPackages(self):
7391
+ r"""<p>依赖包信息</p>
7392
+ :rtype: list of DependencyPackage
7393
+ """
7394
+ return self._DependencyPackages
7395
+
7396
+ @DependencyPackages.setter
7397
+ def DependencyPackages(self, DependencyPackages):
7398
+ self._DependencyPackages = DependencyPackages
7399
+
7400
+
7401
+ def _deserialize(self, params):
7402
+ self._AppName = params.get("AppName")
7403
+ self._AppType = params.get("AppType")
7404
+ self._DataEngine = params.get("DataEngine")
7405
+ self._AppFile = params.get("AppFile")
7406
+ self._RoleArn = params.get("RoleArn")
7407
+ self._AppDriverSize = params.get("AppDriverSize")
7408
+ self._AppExecutorSize = params.get("AppExecutorSize")
7409
+ self._AppExecutorNums = params.get("AppExecutorNums")
7410
+ self._Eni = params.get("Eni")
7411
+ self._IsLocal = params.get("IsLocal")
7412
+ self._MainClass = params.get("MainClass")
7413
+ self._AppConf = params.get("AppConf")
7414
+ self._IsLocalJars = params.get("IsLocalJars")
7415
+ self._AppJars = params.get("AppJars")
7416
+ self._IsLocalFiles = params.get("IsLocalFiles")
7417
+ self._AppFiles = params.get("AppFiles")
7418
+ self._CmdArgs = params.get("CmdArgs")
7419
+ self._MaxRetries = params.get("MaxRetries")
7420
+ self._DataSource = params.get("DataSource")
7421
+ self._IsLocalPythonFiles = params.get("IsLocalPythonFiles")
7422
+ self._AppPythonFiles = params.get("AppPythonFiles")
7423
+ self._IsLocalArchives = params.get("IsLocalArchives")
7424
+ self._AppArchives = params.get("AppArchives")
7425
+ self._SparkImage = params.get("SparkImage")
7426
+ self._SparkImageVersion = params.get("SparkImageVersion")
7427
+ self._AppExecutorMaxNumbers = params.get("AppExecutorMaxNumbers")
7428
+ self._SessionId = params.get("SessionId")
7429
+ self._IsInherit = params.get("IsInherit")
7430
+ self._IsSessionStarted = params.get("IsSessionStarted")
7431
+ if params.get("DependencyPackages") is not None:
7432
+ self._DependencyPackages = []
7433
+ for item in params.get("DependencyPackages"):
7434
+ obj = DependencyPackage()
7435
+ obj._deserialize(item)
7436
+ self._DependencyPackages.append(obj)
7437
+ memeber_set = set(params.keys())
7438
+ for name, value in vars(self).items():
7439
+ property_name = name[1:]
7440
+ if property_name in memeber_set:
7441
+ memeber_set.remove(property_name)
7442
+ if len(memeber_set) > 0:
7443
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7444
+
7445
+
6976
7446
 
6977
7447
  class CreateSparkAppForTDLCResponse(AbstractModel):
6978
7448
  r"""CreateSparkAppForTDLC返回参数结构体
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dlc
3
- Version: 3.1.142
3
+ Version: 3.1.145
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
@@ -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.142
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.145
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.142