tencentcloud-sdk-python-waf 3.1.88__tar.gz → 3.1.93__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_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/setup.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/v20180125/models.py +34 -4
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_waf-3.1.93/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_waf-3.1.88/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/README.rst +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/setup.cfg +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/v20180125/waf_client.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud/waf/v20180125/waf_client_async.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.88 → tencentcloud_sdk_python_waf-3.1.93}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.93
|
|
4
4
|
Summary: Tencent Cloud Waf 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.93
|
|
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-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.93,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Waf SDK for Python',
|
|
@@ -39315,6 +39315,8 @@ class LLMDetectResult(AbstractModel):
|
|
|
39315
39315
|
:type Payload: str
|
|
39316
39316
|
:param _ImageResult: <p>图片检测结果</p>
|
|
39317
39317
|
:type ImageResult: list of ImageResult
|
|
39318
|
+
:param _MsgID: <p>要代答的消息id,此消息id用于作为GenerateLLMSecAnswer接口的入参</p>
|
|
39319
|
+
:type MsgID: str
|
|
39318
39320
|
"""
|
|
39319
39321
|
self._SensitiveResult = None
|
|
39320
39322
|
self._KeyWordsResult = None
|
|
@@ -39325,6 +39327,7 @@ class LLMDetectResult(AbstractModel):
|
|
|
39325
39327
|
self._Action = None
|
|
39326
39328
|
self._Payload = None
|
|
39327
39329
|
self._ImageResult = None
|
|
39330
|
+
self._MsgID = None
|
|
39328
39331
|
|
|
39329
39332
|
@property
|
|
39330
39333
|
def SensitiveResult(self):
|
|
@@ -39425,6 +39428,17 @@ class LLMDetectResult(AbstractModel):
|
|
|
39425
39428
|
def ImageResult(self, ImageResult):
|
|
39426
39429
|
self._ImageResult = ImageResult
|
|
39427
39430
|
|
|
39431
|
+
@property
|
|
39432
|
+
def MsgID(self):
|
|
39433
|
+
r"""<p>要代答的消息id,此消息id用于作为GenerateLLMSecAnswer接口的入参</p>
|
|
39434
|
+
:rtype: str
|
|
39435
|
+
"""
|
|
39436
|
+
return self._MsgID
|
|
39437
|
+
|
|
39438
|
+
@MsgID.setter
|
|
39439
|
+
def MsgID(self, MsgID):
|
|
39440
|
+
self._MsgID = MsgID
|
|
39441
|
+
|
|
39428
39442
|
|
|
39429
39443
|
def _deserialize(self, params):
|
|
39430
39444
|
if params.get("SensitiveResult") is not None:
|
|
@@ -39453,6 +39467,7 @@ class LLMDetectResult(AbstractModel):
|
|
|
39453
39467
|
obj = ImageResult()
|
|
39454
39468
|
obj._deserialize(item)
|
|
39455
39469
|
self._ImageResult.append(obj)
|
|
39470
|
+
self._MsgID = params.get("MsgID")
|
|
39456
39471
|
memeber_set = set(params.keys())
|
|
39457
39472
|
for name, value in vars(self).items():
|
|
39458
39473
|
property_name = name[1:]
|
|
@@ -52851,17 +52866,20 @@ class PromptDetectResult(AbstractModel):
|
|
|
52851
52866
|
|
|
52852
52867
|
def __init__(self):
|
|
52853
52868
|
r"""
|
|
52854
|
-
:param _Result:
|
|
52869
|
+
:param _Result: <p>检测结果</p>
|
|
52855
52870
|
:type Result: str
|
|
52856
|
-
:param _Confidence:
|
|
52871
|
+
:param _Confidence: <p>置信度</p>
|
|
52857
52872
|
:type Confidence: int
|
|
52873
|
+
:param _Category: <p>检出类别</p>
|
|
52874
|
+
:type Category: list of str
|
|
52858
52875
|
"""
|
|
52859
52876
|
self._Result = None
|
|
52860
52877
|
self._Confidence = None
|
|
52878
|
+
self._Category = None
|
|
52861
52879
|
|
|
52862
52880
|
@property
|
|
52863
52881
|
def Result(self):
|
|
52864
|
-
r"""
|
|
52882
|
+
r"""<p>检测结果</p>
|
|
52865
52883
|
:rtype: str
|
|
52866
52884
|
"""
|
|
52867
52885
|
return self._Result
|
|
@@ -52872,7 +52890,7 @@ class PromptDetectResult(AbstractModel):
|
|
|
52872
52890
|
|
|
52873
52891
|
@property
|
|
52874
52892
|
def Confidence(self):
|
|
52875
|
-
r"""
|
|
52893
|
+
r"""<p>置信度</p>
|
|
52876
52894
|
:rtype: int
|
|
52877
52895
|
"""
|
|
52878
52896
|
return self._Confidence
|
|
@@ -52881,10 +52899,22 @@ class PromptDetectResult(AbstractModel):
|
|
|
52881
52899
|
def Confidence(self, Confidence):
|
|
52882
52900
|
self._Confidence = Confidence
|
|
52883
52901
|
|
|
52902
|
+
@property
|
|
52903
|
+
def Category(self):
|
|
52904
|
+
r"""<p>检出类别</p>
|
|
52905
|
+
:rtype: list of str
|
|
52906
|
+
"""
|
|
52907
|
+
return self._Category
|
|
52908
|
+
|
|
52909
|
+
@Category.setter
|
|
52910
|
+
def Category(self, Category):
|
|
52911
|
+
self._Category = Category
|
|
52912
|
+
|
|
52884
52913
|
|
|
52885
52914
|
def _deserialize(self, params):
|
|
52886
52915
|
self._Result = params.get("Result")
|
|
52887
52916
|
self._Confidence = params.get("Confidence")
|
|
52917
|
+
self._Category = params.get("Category")
|
|
52888
52918
|
memeber_set = set(params.keys())
|
|
52889
52919
|
for name, value in vars(self).items():
|
|
52890
52920
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.93
|
|
4
4
|
Summary: Tencent Cloud Waf 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.93
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.88
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|