tencentcloud-sdk-python-ocr 3.1.121__py2.py3-none-any.whl → 3.1.122__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.121'
17
+ __version__ = '3.1.122'
@@ -15272,19 +15272,22 @@ class ItemInfo(AbstractModel):
15272
15272
 
15273
15273
  def __init__(self):
15274
15274
  r"""
15275
- :param _Key: key信息组
15275
+ :param _Key: <p>key信息组</p>
15276
15276
  注意:此字段可能返回 null,表示取不到有效值。
15277
15277
  :type Key: :class:`tencentcloud.ocr.v20181119.models.Key`
15278
- :param _Value: Value信息组
15278
+ :param _Value: <p>Value信息组</p>
15279
15279
  注意:此字段可能返回 null,表示取不到有效值。
15280
15280
  :type Value: :class:`tencentcloud.ocr.v20181119.models.Value`
15281
+ :param _AuditResult: <p>返回这个字段是否比对审核通过</p><p>默认值:false</p>
15282
+ :type AuditResult: bool
15281
15283
  """
15282
15284
  self._Key = None
15283
15285
  self._Value = None
15286
+ self._AuditResult = None
15284
15287
 
15285
15288
  @property
15286
15289
  def Key(self):
15287
- r"""key信息组
15290
+ r"""<p>key信息组</p>
15288
15291
  注意:此字段可能返回 null,表示取不到有效值。
15289
15292
  :rtype: :class:`tencentcloud.ocr.v20181119.models.Key`
15290
15293
  """
@@ -15296,7 +15299,7 @@ class ItemInfo(AbstractModel):
15296
15299
 
15297
15300
  @property
15298
15301
  def Value(self):
15299
- r"""Value信息组
15302
+ r"""<p>Value信息组</p>
15300
15303
  注意:此字段可能返回 null,表示取不到有效值。
15301
15304
  :rtype: :class:`tencentcloud.ocr.v20181119.models.Value`
15302
15305
  """
@@ -15306,6 +15309,17 @@ class ItemInfo(AbstractModel):
15306
15309
  def Value(self, Value):
15307
15310
  self._Value = Value
15308
15311
 
15312
+ @property
15313
+ def AuditResult(self):
15314
+ r"""<p>返回这个字段是否比对审核通过</p><p>默认值:false</p>
15315
+ :rtype: bool
15316
+ """
15317
+ return self._AuditResult
15318
+
15319
+ @AuditResult.setter
15320
+ def AuditResult(self, AuditResult):
15321
+ self._AuditResult = AuditResult
15322
+
15309
15323
 
15310
15324
  def _deserialize(self, params):
15311
15325
  if params.get("Key") is not None:
@@ -15314,6 +15328,7 @@ class ItemInfo(AbstractModel):
15314
15328
  if params.get("Value") is not None:
15315
15329
  self._Value = Value()
15316
15330
  self._Value._deserialize(params.get("Value"))
15331
+ self._AuditResult = params.get("AuditResult")
15317
15332
  memeber_set = set(params.keys())
15318
15333
  for name, value in vars(self).items():
15319
15334
  property_name = name[1:]
@@ -15331,22 +15346,26 @@ class ItemNames(AbstractModel):
15331
15346
 
15332
15347
  def __init__(self):
15333
15348
  r"""
15334
- :param _KeyName: 自定义抽取功能需返回的字段名称。
15349
+ :param _KeyName: <p>自定义抽取功能需返回的字段名称。</p>
15335
15350
  :type KeyName: str
15336
- :param _KeyType: 默认 0;0表示kv对 1表示 表格字段。
15337
-
15351
+ :param _KeyType: <p>默认 0;0表示kv对 1表示 表格字段。</p>
15338
15352
  :type KeyType: int
15339
- :param _KeyPrompt: 抽取字段的描述内容。
15340
-
15353
+ :param _KeyPrompt: <p>抽取字段的描述内容。</p>
15341
15354
  :type KeyPrompt: str
15355
+ :param _KeyExpectedValue: <p>自定义字段对应期望的值内容(这个一般需要对字段审核比对才需要输入)。</p>
15356
+ :type KeyExpectedValue: str
15357
+ :param _KeyAuditPrompt: <p>自定义字段审核比对的规则prompt。</p><p>比如keyname是姓名,KeyExpectedValue 张三,KeyAuditPrompt设置为“字符需要完全匹配则审核返回正确”/“字符匹配90%就审核返回正确”</p>
15358
+ :type KeyAuditPrompt: str
15342
15359
  """
15343
15360
  self._KeyName = None
15344
15361
  self._KeyType = None
15345
15362
  self._KeyPrompt = None
15363
+ self._KeyExpectedValue = None
15364
+ self._KeyAuditPrompt = None
15346
15365
 
15347
15366
  @property
15348
15367
  def KeyName(self):
15349
- r"""自定义抽取功能需返回的字段名称。
15368
+ r"""<p>自定义抽取功能需返回的字段名称。</p>
15350
15369
  :rtype: str
15351
15370
  """
15352
15371
  return self._KeyName
@@ -15357,8 +15376,7 @@ class ItemNames(AbstractModel):
15357
15376
 
15358
15377
  @property
15359
15378
  def KeyType(self):
15360
- r"""默认 0;0表示kv对 1表示 表格字段。
15361
-
15379
+ r"""<p>默认 0;0表示kv对 1表示 表格字段。</p>
15362
15380
  :rtype: int
15363
15381
  """
15364
15382
  return self._KeyType
@@ -15369,8 +15387,7 @@ class ItemNames(AbstractModel):
15369
15387
 
15370
15388
  @property
15371
15389
  def KeyPrompt(self):
15372
- r"""抽取字段的描述内容。
15373
-
15390
+ r"""<p>抽取字段的描述内容。</p>
15374
15391
  :rtype: str
15375
15392
  """
15376
15393
  return self._KeyPrompt
@@ -15379,11 +15396,35 @@ class ItemNames(AbstractModel):
15379
15396
  def KeyPrompt(self, KeyPrompt):
15380
15397
  self._KeyPrompt = KeyPrompt
15381
15398
 
15399
+ @property
15400
+ def KeyExpectedValue(self):
15401
+ r"""<p>自定义字段对应期望的值内容(这个一般需要对字段审核比对才需要输入)。</p>
15402
+ :rtype: str
15403
+ """
15404
+ return self._KeyExpectedValue
15405
+
15406
+ @KeyExpectedValue.setter
15407
+ def KeyExpectedValue(self, KeyExpectedValue):
15408
+ self._KeyExpectedValue = KeyExpectedValue
15409
+
15410
+ @property
15411
+ def KeyAuditPrompt(self):
15412
+ r"""<p>自定义字段审核比对的规则prompt。</p><p>比如keyname是姓名,KeyExpectedValue 张三,KeyAuditPrompt设置为“字符需要完全匹配则审核返回正确”/“字符匹配90%就审核返回正确”</p>
15413
+ :rtype: str
15414
+ """
15415
+ return self._KeyAuditPrompt
15416
+
15417
+ @KeyAuditPrompt.setter
15418
+ def KeyAuditPrompt(self, KeyAuditPrompt):
15419
+ self._KeyAuditPrompt = KeyAuditPrompt
15420
+
15382
15421
 
15383
15422
  def _deserialize(self, params):
15384
15423
  self._KeyName = params.get("KeyName")
15385
15424
  self._KeyType = params.get("KeyType")
15386
15425
  self._KeyPrompt = params.get("KeyPrompt")
15426
+ self._KeyExpectedValue = params.get("KeyExpectedValue")
15427
+ self._KeyAuditPrompt = params.get("KeyAuditPrompt")
15387
15428
  memeber_set = set(params.keys())
15388
15429
  for name, value in vars(self).items():
15389
15430
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.1.121
3
+ Version: 3.1.122
4
4
  Summary: Tencent Cloud Ocr 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.121
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.122
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=z1Oag3N3SOMAUXs5Ff8kW4GdNpc3iiAxXLkJ-9BJr68,630
1
+ tencentcloud/__init__.py,sha256=uTxxoRVVv97MRNri6S5c_vlq8hJq4kjsTzeTl-ZB6PI,630
2
2
  tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/ocr/v20181119/errorcodes.py,sha256=JIZv0T7mSsIMfQKdQjHDSsF8oW-b9rJTZovBM5qM9xU,7187
5
- tencentcloud/ocr/v20181119/models.py,sha256=Rm-mmx5eeYaLUFmUJupGGlrFE0GxH1t40LNZcnVzaHs,1366732
5
+ tencentcloud/ocr/v20181119/models.py,sha256=Li3zG4Ob_3o7Tr1noLzW6AMKnYHnJ_oJ5wooL_yqfeA,1368833
6
6
  tencentcloud/ocr/v20181119/ocr_client.py,sha256=C6ThbnmcEVzyOqxL0csQ-sRSkxNGzglI1LYsx6zPj2U,116333
7
7
  tencentcloud/ocr/v20181119/ocr_client_async.py,sha256=Ap4anHnmWhn1EhpRml3VBIxx3Q-evgJDDN-eTFNABjA,92643
8
- tencentcloud_sdk_python_ocr-3.1.121.dist-info/METADATA,sha256=sjsdDLj3a734c44UDoXVeFtglouHeheG61wWEgbcf2A,1497
9
- tencentcloud_sdk_python_ocr-3.1.121.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_ocr-3.1.121.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_ocr-3.1.121.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_ocr-3.1.122.dist-info/METADATA,sha256=ANpUE5xL0rmouJjBUVQlbELM0GF5yrBXHY4ITdjsVh0,1497
9
+ tencentcloud_sdk_python_ocr-3.1.122.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_ocr-3.1.122.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_ocr-3.1.122.dist-info/RECORD,,