tencentcloud-sdk-python-faceid 3.1.127__tar.gz → 3.1.172__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/setup.py +1 -1
  3. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/v20180301/faceid_client.py +0 -23
  5. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/v20180301/faceid_client_async.py +0 -18
  6. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/v20180301/models.py +285 -661
  7. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud_sdk_python_faceid.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_faceid-3.1.172/tencentcloud_sdk_python_faceid.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_faceid-3.1.127/tencentcloud_sdk_python_faceid.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/README.rst +0 -0
  11. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/__init__.py +0 -0
  13. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/v20180301/__init__.py +0 -0
  14. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud/faceid/v20180301/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud_sdk_python_faceid.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud_sdk_python_faceid.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_faceid-3.1.127 → tencentcloud_sdk_python_faceid-3.1.172}/tencentcloud_sdk_python_faceid.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-faceid
3
- Version: 3.1.127
3
+ Version: 3.1.172
4
4
  Summary: Tencent Cloud Faceid 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.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.172
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-faceid',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.127,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.172,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Faceid SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.127'
17
+ __version__ = '3.1.172'
@@ -624,29 +624,6 @@ class FaceidClient(AbstractClient):
624
624
  raise TencentCloudSDKException(type(e).__name__, str(e))
625
625
 
626
626
 
627
- def ImageRecognition(self, request):
628
- r"""传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人(该接口已停止接入,新客户请使用<a href="https://cloud.tencent.com/document/product/1007/102203">照片人脸核身(V2.0)</a>接口)。
629
-
630
- :param request: Request instance for ImageRecognition.
631
- :type request: :class:`tencentcloud.faceid.v20180301.models.ImageRecognitionRequest`
632
- :rtype: :class:`tencentcloud.faceid.v20180301.models.ImageRecognitionResponse`
633
-
634
- """
635
- try:
636
- params = request._serialize()
637
- headers = request.headers
638
- body = self.call("ImageRecognition", params, headers=headers)
639
- response = json.loads(body)
640
- model = models.ImageRecognitionResponse()
641
- model._deserialize(response["Response"])
642
- return model
643
- except Exception as e:
644
- if isinstance(e, TencentCloudSDKException):
645
- raise
646
- else:
647
- raise TencentCloudSDKException(type(e).__name__, str(e))
648
-
649
-
650
627
  def ImageRecognitionV2(self, request):
651
628
  r"""传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。
652
629
 
@@ -493,24 +493,6 @@ class FaceidClient(AbstractClient):
493
493
 
494
494
  return await self.call_and_deserialize(**kwargs)
495
495
 
496
- async def ImageRecognition(
497
- self,
498
- request: models.ImageRecognitionRequest,
499
- opts: Dict = None,
500
- ) -> models.ImageRecognitionResponse:
501
- """
502
- 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人(该接口已停止接入,新客户请使用<a href="https://cloud.tencent.com/document/product/1007/102203">照片人脸核身(V2.0)</a>接口)。
503
- """
504
-
505
- kwargs = {}
506
- kwargs["action"] = "ImageRecognition"
507
- kwargs["params"] = request._serialize()
508
- kwargs["resp_cls"] = models.ImageRecognitionResponse
509
- kwargs["headers"] = request.headers
510
- kwargs["opts"] = opts or {}
511
-
512
- return await self.call_and_deserialize(**kwargs)
513
-
514
496
  async def ImageRecognitionV2(
515
497
  self,
516
498
  request: models.ImageRecognitionV2Request,