tencentcloud-sdk-python-dataagent 3.1.7__tar.gz → 3.1.8__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_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/setup.py +1 -1
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/v20250513/dataagent_client.py +23 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/v20250513/dataagent_client_async.py +18 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/v20250513/models.py +109 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud_sdk_python_dataagent.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dataagent-3.1.8/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dataagent-3.1.7/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/README.rst +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/__init__.py +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/v20250513/__init__.py +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud/dataagent/v20250513/errorcodes.py +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud_sdk_python_dataagent.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud_sdk_python_dataagent.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/tencentcloud_sdk_python_dataagent.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dataagent
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.8
|
|
4
4
|
Summary: Tencent Cloud Dataagent 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.8
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dataagent',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.8,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dataagent SDK for Python',
|
|
@@ -136,6 +136,29 @@ class DataagentClient(AbstractClient):
|
|
|
136
136
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
def GetKnowledgeBaseFileList(self, request):
|
|
140
|
+
r"""获取知识库文件信息列表
|
|
141
|
+
|
|
142
|
+
:param request: Request instance for GetKnowledgeBaseFileList.
|
|
143
|
+
:type request: :class:`tencentcloud.dataagent.v20250513.models.GetKnowledgeBaseFileListRequest`
|
|
144
|
+
:rtype: :class:`tencentcloud.dataagent.v20250513.models.GetKnowledgeBaseFileListResponse`
|
|
145
|
+
|
|
146
|
+
"""
|
|
147
|
+
try:
|
|
148
|
+
params = request._serialize()
|
|
149
|
+
headers = request.headers
|
|
150
|
+
body = self.call("GetKnowledgeBaseFileList", params, headers=headers)
|
|
151
|
+
response = json.loads(body)
|
|
152
|
+
model = models.GetKnowledgeBaseFileListResponse()
|
|
153
|
+
model._deserialize(response["Response"])
|
|
154
|
+
return model
|
|
155
|
+
except Exception as e:
|
|
156
|
+
if isinstance(e, TencentCloudSDKException):
|
|
157
|
+
raise
|
|
158
|
+
else:
|
|
159
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
160
|
+
|
|
161
|
+
|
|
139
162
|
def GetKnowledgeBaseList(self, request):
|
|
140
163
|
r"""获取知识库列表
|
|
141
164
|
|
|
@@ -115,6 +115,24 @@ class DataagentClient(AbstractClient):
|
|
|
115
115
|
|
|
116
116
|
return await self.call_and_deserialize(**kwargs)
|
|
117
117
|
|
|
118
|
+
async def GetKnowledgeBaseFileList(
|
|
119
|
+
self,
|
|
120
|
+
request: models.GetKnowledgeBaseFileListRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.GetKnowledgeBaseFileListResponse:
|
|
123
|
+
"""
|
|
124
|
+
获取知识库文件信息列表
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "GetKnowledgeBaseFileList"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.GetKnowledgeBaseFileListResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
118
136
|
async def GetKnowledgeBaseList(
|
|
119
137
|
self,
|
|
120
138
|
request: models.GetKnowledgeBaseListRequest,
|
|
@@ -785,6 +785,115 @@ class DeleteDataAgentSessionResponse(AbstractModel):
|
|
|
785
785
|
self._RequestId = params.get("RequestId")
|
|
786
786
|
|
|
787
787
|
|
|
788
|
+
class GetKnowledgeBaseFileListRequest(AbstractModel):
|
|
789
|
+
r"""GetKnowledgeBaseFileList请求参数结构体
|
|
790
|
+
|
|
791
|
+
"""
|
|
792
|
+
|
|
793
|
+
def __init__(self):
|
|
794
|
+
r"""
|
|
795
|
+
:param _InstanceId: 实例id
|
|
796
|
+
:type InstanceId: str
|
|
797
|
+
:param _Page: 默认 1 表示第一页,可以不填
|
|
798
|
+
:type Page: int
|
|
799
|
+
:param _PageSize: 默认 10 一页展示 10 条,可以不填
|
|
800
|
+
:type PageSize: int
|
|
801
|
+
:param _KnowledgeBaseId: 知识库id
|
|
802
|
+
:type KnowledgeBaseId: str
|
|
803
|
+
"""
|
|
804
|
+
self._InstanceId = None
|
|
805
|
+
self._Page = None
|
|
806
|
+
self._PageSize = None
|
|
807
|
+
self._KnowledgeBaseId = None
|
|
808
|
+
|
|
809
|
+
@property
|
|
810
|
+
def InstanceId(self):
|
|
811
|
+
r"""实例id
|
|
812
|
+
:rtype: str
|
|
813
|
+
"""
|
|
814
|
+
return self._InstanceId
|
|
815
|
+
|
|
816
|
+
@InstanceId.setter
|
|
817
|
+
def InstanceId(self, InstanceId):
|
|
818
|
+
self._InstanceId = InstanceId
|
|
819
|
+
|
|
820
|
+
@property
|
|
821
|
+
def Page(self):
|
|
822
|
+
r"""默认 1 表示第一页,可以不填
|
|
823
|
+
:rtype: int
|
|
824
|
+
"""
|
|
825
|
+
return self._Page
|
|
826
|
+
|
|
827
|
+
@Page.setter
|
|
828
|
+
def Page(self, Page):
|
|
829
|
+
self._Page = Page
|
|
830
|
+
|
|
831
|
+
@property
|
|
832
|
+
def PageSize(self):
|
|
833
|
+
r"""默认 10 一页展示 10 条,可以不填
|
|
834
|
+
:rtype: int
|
|
835
|
+
"""
|
|
836
|
+
return self._PageSize
|
|
837
|
+
|
|
838
|
+
@PageSize.setter
|
|
839
|
+
def PageSize(self, PageSize):
|
|
840
|
+
self._PageSize = PageSize
|
|
841
|
+
|
|
842
|
+
@property
|
|
843
|
+
def KnowledgeBaseId(self):
|
|
844
|
+
r"""知识库id
|
|
845
|
+
:rtype: str
|
|
846
|
+
"""
|
|
847
|
+
return self._KnowledgeBaseId
|
|
848
|
+
|
|
849
|
+
@KnowledgeBaseId.setter
|
|
850
|
+
def KnowledgeBaseId(self, KnowledgeBaseId):
|
|
851
|
+
self._KnowledgeBaseId = KnowledgeBaseId
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
def _deserialize(self, params):
|
|
855
|
+
self._InstanceId = params.get("InstanceId")
|
|
856
|
+
self._Page = params.get("Page")
|
|
857
|
+
self._PageSize = params.get("PageSize")
|
|
858
|
+
self._KnowledgeBaseId = params.get("KnowledgeBaseId")
|
|
859
|
+
memeber_set = set(params.keys())
|
|
860
|
+
for name, value in vars(self).items():
|
|
861
|
+
property_name = name[1:]
|
|
862
|
+
if property_name in memeber_set:
|
|
863
|
+
memeber_set.remove(property_name)
|
|
864
|
+
if len(memeber_set) > 0:
|
|
865
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class GetKnowledgeBaseFileListResponse(AbstractModel):
|
|
870
|
+
r"""GetKnowledgeBaseFileList返回参数结构体
|
|
871
|
+
|
|
872
|
+
"""
|
|
873
|
+
|
|
874
|
+
def __init__(self):
|
|
875
|
+
r"""
|
|
876
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
877
|
+
:type RequestId: str
|
|
878
|
+
"""
|
|
879
|
+
self._RequestId = None
|
|
880
|
+
|
|
881
|
+
@property
|
|
882
|
+
def RequestId(self):
|
|
883
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
884
|
+
:rtype: str
|
|
885
|
+
"""
|
|
886
|
+
return self._RequestId
|
|
887
|
+
|
|
888
|
+
@RequestId.setter
|
|
889
|
+
def RequestId(self, RequestId):
|
|
890
|
+
self._RequestId = RequestId
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
def _deserialize(self, params):
|
|
894
|
+
self._RequestId = params.get("RequestId")
|
|
895
|
+
|
|
896
|
+
|
|
788
897
|
class GetKnowledgeBaseListRequest(AbstractModel):
|
|
789
898
|
r"""GetKnowledgeBaseList请求参数结构体
|
|
790
899
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dataagent
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.8
|
|
4
4
|
Summary: Tencent Cloud Dataagent 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.8
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_dataagent-3.1.8/tencentcloud_sdk_python_dataagent.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.8
|
tencentcloud_sdk_python_dataagent-3.1.7/tencentcloud_sdk_python_dataagent.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.7
|
{tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_dataagent-3.1.7 → tencentcloud_sdk_python_dataagent-3.1.8}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|