tencentcloud-sdk-python-ocr 3.0.1408__tar.gz → 3.0.1412__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-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/ocr/v20181119/models.py +20 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1412/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1408/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1408 → tencentcloud-sdk-python-ocr-3.0.1412}/tencentcloud_sdk_python_ocr.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-ocr',
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1412"],
|
12
12
|
version=tencentcloud.__version__,
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
14
14
|
long_description=open('README.rst').read(),
|
@@ -4304,9 +4304,12 @@ class CustomsPaymentReceipt(AbstractModel):
|
|
4304
4304
|
:type Title: str
|
4305
4305
|
:param _Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
|
4306
4306
|
:type Content: list of OtherInvoiceItem
|
4307
|
+
:param _CommonContent: 海关缴款书常用字段
|
4308
|
+
:type CommonContent: list of OtherInvoiceItem
|
4307
4309
|
"""
|
4308
4310
|
self._Title = None
|
4309
4311
|
self._Content = None
|
4312
|
+
self._CommonContent = None
|
4310
4313
|
|
4311
4314
|
@property
|
4312
4315
|
def Title(self):
|
@@ -4330,6 +4333,17 @@ class CustomsPaymentReceipt(AbstractModel):
|
|
4330
4333
|
def Content(self, Content):
|
4331
4334
|
self._Content = Content
|
4332
4335
|
|
4336
|
+
@property
|
4337
|
+
def CommonContent(self):
|
4338
|
+
"""海关缴款书常用字段
|
4339
|
+
:rtype: list of OtherInvoiceItem
|
4340
|
+
"""
|
4341
|
+
return self._CommonContent
|
4342
|
+
|
4343
|
+
@CommonContent.setter
|
4344
|
+
def CommonContent(self, CommonContent):
|
4345
|
+
self._CommonContent = CommonContent
|
4346
|
+
|
4333
4347
|
|
4334
4348
|
def _deserialize(self, params):
|
4335
4349
|
self._Title = params.get("Title")
|
@@ -4339,6 +4353,12 @@ class CustomsPaymentReceipt(AbstractModel):
|
|
4339
4353
|
obj = OtherInvoiceItem()
|
4340
4354
|
obj._deserialize(item)
|
4341
4355
|
self._Content.append(obj)
|
4356
|
+
if params.get("CommonContent") is not None:
|
4357
|
+
self._CommonContent = []
|
4358
|
+
for item in params.get("CommonContent"):
|
4359
|
+
obj = OtherInvoiceItem()
|
4360
|
+
obj._deserialize(item)
|
4361
|
+
self._CommonContent.append(obj)
|
4342
4362
|
memeber_set = set(params.keys())
|
4343
4363
|
for name, value in vars(self).items():
|
4344
4364
|
property_name = name[1:]
|
@@ -0,0 +1 @@
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1412
|
@@ -1 +0,0 @@
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1408
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|