tencentcloud-sdk-python-adp 3.1.195__tar.gz → 3.1.199__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.
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/setup.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/v20260520/adp_client.py +23 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/v20260520/adp_client_async.py +18 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/v20260520/models.py +147 -8
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud_sdk_python_adp.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_adp-3.1.199/tencentcloud_sdk_python_adp.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_adp-3.1.195/tencentcloud_sdk_python_adp.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/README.rst +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/setup.cfg +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/v20260520/__init__.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud/adp/v20260520/errorcodes.py +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud_sdk_python_adp.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud_sdk_python_adp.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_adp-3.1.195 → tencentcloud_sdk_python_adp-3.1.199}/tencentcloud_sdk_python_adp.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.199
|
|
4
4
|
Summary: Tencent Cloud Adp 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
|
|
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-adp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.199,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Adp SDK for Python',
|
|
@@ -417,6 +417,29 @@ class AdpClient(AbstractClient):
|
|
|
417
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
418
|
|
|
419
419
|
|
|
420
|
+
def CreateSSEToken(self, request):
|
|
421
|
+
r"""创建 SSE Token
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for CreateSSEToken.
|
|
424
|
+
:type request: :class:`tencentcloud.adp.v20260520.models.CreateSSETokenRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.adp.v20260520.models.CreateSSETokenResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("CreateSSEToken", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.CreateSSETokenResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
420
443
|
def CreateSimilarQuestion(self, request):
|
|
421
444
|
r"""创建相似问生成任务
|
|
422
445
|
|
|
@@ -331,6 +331,24 @@ class AdpClient(AbstractClient):
|
|
|
331
331
|
|
|
332
332
|
return await self.call_and_deserialize(**kwargs)
|
|
333
333
|
|
|
334
|
+
async def CreateSSEToken(
|
|
335
|
+
self,
|
|
336
|
+
request: models.CreateSSETokenRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.CreateSSETokenResponse:
|
|
339
|
+
"""
|
|
340
|
+
创建 SSE Token
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "CreateSSEToken"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.CreateSSETokenResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
334
352
|
async def CreateSimilarQuestion(
|
|
335
353
|
self,
|
|
336
354
|
request: models.CreateSimilarQuestionRequest,
|
|
@@ -14216,6 +14216,115 @@ class CreateReleaseResponse(AbstractModel):
|
|
|
14216
14216
|
self._RequestId = params.get("RequestId")
|
|
14217
14217
|
|
|
14218
14218
|
|
|
14219
|
+
class CreateSSETokenRequest(AbstractModel):
|
|
14220
|
+
r"""CreateSSEToken请求参数结构体
|
|
14221
|
+
|
|
14222
|
+
"""
|
|
14223
|
+
|
|
14224
|
+
def __init__(self):
|
|
14225
|
+
r"""
|
|
14226
|
+
:param _LoginUin: <p>主用户Uin</p>
|
|
14227
|
+
:type LoginUin: str
|
|
14228
|
+
:param _LoginSubAccountUin: <p>子用户Uin</p>
|
|
14229
|
+
:type LoginSubAccountUin: str
|
|
14230
|
+
:param _AppId: <p>应用ID</p>
|
|
14231
|
+
:type AppId: str
|
|
14232
|
+
"""
|
|
14233
|
+
self._LoginUin = None
|
|
14234
|
+
self._LoginSubAccountUin = None
|
|
14235
|
+
self._AppId = None
|
|
14236
|
+
|
|
14237
|
+
@property
|
|
14238
|
+
def LoginUin(self):
|
|
14239
|
+
r"""<p>主用户Uin</p>
|
|
14240
|
+
:rtype: str
|
|
14241
|
+
"""
|
|
14242
|
+
return self._LoginUin
|
|
14243
|
+
|
|
14244
|
+
@LoginUin.setter
|
|
14245
|
+
def LoginUin(self, LoginUin):
|
|
14246
|
+
self._LoginUin = LoginUin
|
|
14247
|
+
|
|
14248
|
+
@property
|
|
14249
|
+
def LoginSubAccountUin(self):
|
|
14250
|
+
r"""<p>子用户Uin</p>
|
|
14251
|
+
:rtype: str
|
|
14252
|
+
"""
|
|
14253
|
+
return self._LoginSubAccountUin
|
|
14254
|
+
|
|
14255
|
+
@LoginSubAccountUin.setter
|
|
14256
|
+
def LoginSubAccountUin(self, LoginSubAccountUin):
|
|
14257
|
+
self._LoginSubAccountUin = LoginSubAccountUin
|
|
14258
|
+
|
|
14259
|
+
@property
|
|
14260
|
+
def AppId(self):
|
|
14261
|
+
r"""<p>应用ID</p>
|
|
14262
|
+
:rtype: str
|
|
14263
|
+
"""
|
|
14264
|
+
return self._AppId
|
|
14265
|
+
|
|
14266
|
+
@AppId.setter
|
|
14267
|
+
def AppId(self, AppId):
|
|
14268
|
+
self._AppId = AppId
|
|
14269
|
+
|
|
14270
|
+
|
|
14271
|
+
def _deserialize(self, params):
|
|
14272
|
+
self._LoginUin = params.get("LoginUin")
|
|
14273
|
+
self._LoginSubAccountUin = params.get("LoginSubAccountUin")
|
|
14274
|
+
self._AppId = params.get("AppId")
|
|
14275
|
+
memeber_set = set(params.keys())
|
|
14276
|
+
for name, value in vars(self).items():
|
|
14277
|
+
property_name = name[1:]
|
|
14278
|
+
if property_name in memeber_set:
|
|
14279
|
+
memeber_set.remove(property_name)
|
|
14280
|
+
if len(memeber_set) > 0:
|
|
14281
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14282
|
+
|
|
14283
|
+
|
|
14284
|
+
|
|
14285
|
+
class CreateSSETokenResponse(AbstractModel):
|
|
14286
|
+
r"""CreateSSEToken返回参数结构体
|
|
14287
|
+
|
|
14288
|
+
"""
|
|
14289
|
+
|
|
14290
|
+
def __init__(self):
|
|
14291
|
+
r"""
|
|
14292
|
+
:param _Token: <p>SSE 鉴权 Token</p>
|
|
14293
|
+
:type Token: str
|
|
14294
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14295
|
+
:type RequestId: str
|
|
14296
|
+
"""
|
|
14297
|
+
self._Token = None
|
|
14298
|
+
self._RequestId = None
|
|
14299
|
+
|
|
14300
|
+
@property
|
|
14301
|
+
def Token(self):
|
|
14302
|
+
r"""<p>SSE 鉴权 Token</p>
|
|
14303
|
+
:rtype: str
|
|
14304
|
+
"""
|
|
14305
|
+
return self._Token
|
|
14306
|
+
|
|
14307
|
+
@Token.setter
|
|
14308
|
+
def Token(self, Token):
|
|
14309
|
+
self._Token = Token
|
|
14310
|
+
|
|
14311
|
+
@property
|
|
14312
|
+
def RequestId(self):
|
|
14313
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14314
|
+
:rtype: str
|
|
14315
|
+
"""
|
|
14316
|
+
return self._RequestId
|
|
14317
|
+
|
|
14318
|
+
@RequestId.setter
|
|
14319
|
+
def RequestId(self, RequestId):
|
|
14320
|
+
self._RequestId = RequestId
|
|
14321
|
+
|
|
14322
|
+
|
|
14323
|
+
def _deserialize(self, params):
|
|
14324
|
+
self._Token = params.get("Token")
|
|
14325
|
+
self._RequestId = params.get("RequestId")
|
|
14326
|
+
|
|
14327
|
+
|
|
14219
14328
|
class CreateSimilarQuestionRequest(AbstractModel):
|
|
14220
14329
|
r"""CreateSimilarQuestion请求参数结构体
|
|
14221
14330
|
|
|
@@ -44567,23 +44676,29 @@ class Space(AbstractModel):
|
|
|
44567
44676
|
|
|
44568
44677
|
def __init__(self):
|
|
44569
44678
|
r"""
|
|
44570
|
-
:param _SpaceId:
|
|
44679
|
+
:param _SpaceId: <p>空间id</p>
|
|
44571
44680
|
:type SpaceId: str
|
|
44572
|
-
:param _Name:
|
|
44681
|
+
:param _Name: <p>空间名称</p>
|
|
44573
44682
|
:type Name: str
|
|
44574
|
-
:param _Description:
|
|
44683
|
+
:param _Description: <p>空间描述</p>
|
|
44575
44684
|
:type Description: str
|
|
44576
|
-
:param _PermissionIdList:
|
|
44685
|
+
:param _PermissionIdList: <p>空间权限</p>
|
|
44577
44686
|
:type PermissionIdList: list of str
|
|
44687
|
+
:param _CreateTime: <p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44688
|
+
:type CreateTime: str
|
|
44689
|
+
:param _UpdateTime: <p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44690
|
+
:type UpdateTime: str
|
|
44578
44691
|
"""
|
|
44579
44692
|
self._SpaceId = None
|
|
44580
44693
|
self._Name = None
|
|
44581
44694
|
self._Description = None
|
|
44582
44695
|
self._PermissionIdList = None
|
|
44696
|
+
self._CreateTime = None
|
|
44697
|
+
self._UpdateTime = None
|
|
44583
44698
|
|
|
44584
44699
|
@property
|
|
44585
44700
|
def SpaceId(self):
|
|
44586
|
-
r"""
|
|
44701
|
+
r"""<p>空间id</p>
|
|
44587
44702
|
:rtype: str
|
|
44588
44703
|
"""
|
|
44589
44704
|
return self._SpaceId
|
|
@@ -44594,7 +44709,7 @@ class Space(AbstractModel):
|
|
|
44594
44709
|
|
|
44595
44710
|
@property
|
|
44596
44711
|
def Name(self):
|
|
44597
|
-
r"""
|
|
44712
|
+
r"""<p>空间名称</p>
|
|
44598
44713
|
:rtype: str
|
|
44599
44714
|
"""
|
|
44600
44715
|
return self._Name
|
|
@@ -44605,7 +44720,7 @@ class Space(AbstractModel):
|
|
|
44605
44720
|
|
|
44606
44721
|
@property
|
|
44607
44722
|
def Description(self):
|
|
44608
|
-
r"""
|
|
44723
|
+
r"""<p>空间描述</p>
|
|
44609
44724
|
:rtype: str
|
|
44610
44725
|
"""
|
|
44611
44726
|
return self._Description
|
|
@@ -44616,7 +44731,7 @@ class Space(AbstractModel):
|
|
|
44616
44731
|
|
|
44617
44732
|
@property
|
|
44618
44733
|
def PermissionIdList(self):
|
|
44619
|
-
r"""
|
|
44734
|
+
r"""<p>空间权限</p>
|
|
44620
44735
|
:rtype: list of str
|
|
44621
44736
|
"""
|
|
44622
44737
|
return self._PermissionIdList
|
|
@@ -44625,12 +44740,36 @@ class Space(AbstractModel):
|
|
|
44625
44740
|
def PermissionIdList(self, PermissionIdList):
|
|
44626
44741
|
self._PermissionIdList = PermissionIdList
|
|
44627
44742
|
|
|
44743
|
+
@property
|
|
44744
|
+
def CreateTime(self):
|
|
44745
|
+
r"""<p>创建时间</p><p>参数格式:秒时间戳</p>
|
|
44746
|
+
:rtype: str
|
|
44747
|
+
"""
|
|
44748
|
+
return self._CreateTime
|
|
44749
|
+
|
|
44750
|
+
@CreateTime.setter
|
|
44751
|
+
def CreateTime(self, CreateTime):
|
|
44752
|
+
self._CreateTime = CreateTime
|
|
44753
|
+
|
|
44754
|
+
@property
|
|
44755
|
+
def UpdateTime(self):
|
|
44756
|
+
r"""<p>更新时间</p><p>参数格式:秒时间戳</p>
|
|
44757
|
+
:rtype: str
|
|
44758
|
+
"""
|
|
44759
|
+
return self._UpdateTime
|
|
44760
|
+
|
|
44761
|
+
@UpdateTime.setter
|
|
44762
|
+
def UpdateTime(self, UpdateTime):
|
|
44763
|
+
self._UpdateTime = UpdateTime
|
|
44764
|
+
|
|
44628
44765
|
|
|
44629
44766
|
def _deserialize(self, params):
|
|
44630
44767
|
self._SpaceId = params.get("SpaceId")
|
|
44631
44768
|
self._Name = params.get("Name")
|
|
44632
44769
|
self._Description = params.get("Description")
|
|
44633
44770
|
self._PermissionIdList = params.get("PermissionIdList")
|
|
44771
|
+
self._CreateTime = params.get("CreateTime")
|
|
44772
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
44634
44773
|
memeber_set = set(params.keys())
|
|
44635
44774
|
for name, value in vars(self).items():
|
|
44636
44775
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-adp
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.199
|
|
4
4
|
Summary: Tencent Cloud Adp 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.199
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.195
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|