tencentcloud-sdk-python-tmt 3.0.1176__tar.gz → 3.0.1190__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-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/setup.py +1 -1
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/tmt/v20180321/models.py +48 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud_sdk_python_tmt.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tmt-3.0.1190/tencentcloud_sdk_python_tmt.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tmt-3.0.1176/tencentcloud_sdk_python_tmt.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/README.rst +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/tmt/__init__.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/tmt/v20180321/__init__.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/tmt/v20180321/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud/tmt/v20180321/tmt_client.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud_sdk_python_tmt.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud_sdk_python_tmt.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1176 → tencentcloud-sdk-python-tmt-3.0.1190}/tencentcloud_sdk_python_tmt.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tmt',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1190"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tmt SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1113,11 +1113,17 @@ hi:印地语
|
|
|
1113
1113
|
:type ProjectId: int
|
|
1114
1114
|
:param _SourceTextList: 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于6000字符。
|
|
1115
1115
|
:type SourceTextList: list of str
|
|
1116
|
+
:param _TermRepoIDList: 需要使用的术语库列表
|
|
1117
|
+
:type TermRepoIDList: list of str
|
|
1118
|
+
:param _SentRepoIDList: 需要使用的例句库列表
|
|
1119
|
+
:type SentRepoIDList: list of str
|
|
1116
1120
|
"""
|
|
1117
1121
|
self._Source = None
|
|
1118
1122
|
self._Target = None
|
|
1119
1123
|
self._ProjectId = None
|
|
1120
1124
|
self._SourceTextList = None
|
|
1125
|
+
self._TermRepoIDList = None
|
|
1126
|
+
self._SentRepoIDList = None
|
|
1121
1127
|
|
|
1122
1128
|
@property
|
|
1123
1129
|
def Source(self):
|
|
@@ -1151,12 +1157,30 @@ hi:印地语
|
|
|
1151
1157
|
def SourceTextList(self, SourceTextList):
|
|
1152
1158
|
self._SourceTextList = SourceTextList
|
|
1153
1159
|
|
|
1160
|
+
@property
|
|
1161
|
+
def TermRepoIDList(self):
|
|
1162
|
+
return self._TermRepoIDList
|
|
1163
|
+
|
|
1164
|
+
@TermRepoIDList.setter
|
|
1165
|
+
def TermRepoIDList(self, TermRepoIDList):
|
|
1166
|
+
self._TermRepoIDList = TermRepoIDList
|
|
1167
|
+
|
|
1168
|
+
@property
|
|
1169
|
+
def SentRepoIDList(self):
|
|
1170
|
+
return self._SentRepoIDList
|
|
1171
|
+
|
|
1172
|
+
@SentRepoIDList.setter
|
|
1173
|
+
def SentRepoIDList(self, SentRepoIDList):
|
|
1174
|
+
self._SentRepoIDList = SentRepoIDList
|
|
1175
|
+
|
|
1154
1176
|
|
|
1155
1177
|
def _deserialize(self, params):
|
|
1156
1178
|
self._Source = params.get("Source")
|
|
1157
1179
|
self._Target = params.get("Target")
|
|
1158
1180
|
self._ProjectId = params.get("ProjectId")
|
|
1159
1181
|
self._SourceTextList = params.get("SourceTextList")
|
|
1182
|
+
self._TermRepoIDList = params.get("TermRepoIDList")
|
|
1183
|
+
self._SentRepoIDList = params.get("SentRepoIDList")
|
|
1160
1184
|
memeber_set = set(params.keys())
|
|
1161
1185
|
for name, value in vars(self).items():
|
|
1162
1186
|
property_name = name[1:]
|
|
@@ -1283,12 +1307,18 @@ hi:印地语
|
|
|
1283
1307
|
:type ProjectId: int
|
|
1284
1308
|
:param _UntranslatedText: 用来标记不希望被翻译的文本内容,如句子中的特殊符号、人名、地名等;每次请求只支持配置一个不被翻译的单词;仅支持配置人名、地名等名词,不要配置动词或短语,否则会影响翻译结果。
|
|
1285
1309
|
:type UntranslatedText: str
|
|
1310
|
+
:param _TermRepoIDList: 需要使用的术语库列表
|
|
1311
|
+
:type TermRepoIDList: list of str
|
|
1312
|
+
:param _SentRepoIDList: 需要使用的例句库列表
|
|
1313
|
+
:type SentRepoIDList: list of str
|
|
1286
1314
|
"""
|
|
1287
1315
|
self._SourceText = None
|
|
1288
1316
|
self._Source = None
|
|
1289
1317
|
self._Target = None
|
|
1290
1318
|
self._ProjectId = None
|
|
1291
1319
|
self._UntranslatedText = None
|
|
1320
|
+
self._TermRepoIDList = None
|
|
1321
|
+
self._SentRepoIDList = None
|
|
1292
1322
|
|
|
1293
1323
|
@property
|
|
1294
1324
|
def SourceText(self):
|
|
@@ -1330,6 +1360,22 @@ hi:印地语
|
|
|
1330
1360
|
def UntranslatedText(self, UntranslatedText):
|
|
1331
1361
|
self._UntranslatedText = UntranslatedText
|
|
1332
1362
|
|
|
1363
|
+
@property
|
|
1364
|
+
def TermRepoIDList(self):
|
|
1365
|
+
return self._TermRepoIDList
|
|
1366
|
+
|
|
1367
|
+
@TermRepoIDList.setter
|
|
1368
|
+
def TermRepoIDList(self, TermRepoIDList):
|
|
1369
|
+
self._TermRepoIDList = TermRepoIDList
|
|
1370
|
+
|
|
1371
|
+
@property
|
|
1372
|
+
def SentRepoIDList(self):
|
|
1373
|
+
return self._SentRepoIDList
|
|
1374
|
+
|
|
1375
|
+
@SentRepoIDList.setter
|
|
1376
|
+
def SentRepoIDList(self, SentRepoIDList):
|
|
1377
|
+
self._SentRepoIDList = SentRepoIDList
|
|
1378
|
+
|
|
1333
1379
|
|
|
1334
1380
|
def _deserialize(self, params):
|
|
1335
1381
|
self._SourceText = params.get("SourceText")
|
|
@@ -1337,6 +1383,8 @@ hi:印地语
|
|
|
1337
1383
|
self._Target = params.get("Target")
|
|
1338
1384
|
self._ProjectId = params.get("ProjectId")
|
|
1339
1385
|
self._UntranslatedText = params.get("UntranslatedText")
|
|
1386
|
+
self._TermRepoIDList = params.get("TermRepoIDList")
|
|
1387
|
+
self._SentRepoIDList = params.get("SentRepoIDList")
|
|
1340
1388
|
memeber_set = set(params.keys())
|
|
1341
1389
|
for name, value in vars(self).items():
|
|
1342
1390
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1190
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1176
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|