tencentcloud-sdk-python-intl-en 3.0.1265__py2.py3-none-any.whl → 3.0.1267__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.
@@ -380,6 +380,31 @@ class OcrClient(AbstractClient):
380
380
  raise TencentCloudSDKException(type(e).__name__, str(e))
381
381
 
382
382
 
383
+ def RecognizeBrazilCommonOCR(self, request):
384
+ """This API is used to identify Brazil common documents.
385
+
386
+ This API is used to set the default request rate limit to 5 requests/second.
387
+
388
+ :param request: Request instance for RecognizeBrazilCommonOCR.
389
+ :type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilCommonOCRRequest`
390
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeBrazilCommonOCRResponse`
391
+
392
+ """
393
+ try:
394
+ params = request._serialize()
395
+ headers = request.headers
396
+ body = self.call("RecognizeBrazilCommonOCR", params, headers=headers)
397
+ response = json.loads(body)
398
+ model = models.RecognizeBrazilCommonOCRResponse()
399
+ model._deserialize(response["Response"])
400
+ return model
401
+ except Exception as e:
402
+ if isinstance(e, TencentCloudSDKException):
403
+ raise
404
+ else:
405
+ raise TencentCloudSDKException(type(e).__name__, str(e))
406
+
407
+
383
408
  def RecognizeBrazilDriverLicenseOCR(self, request):
384
409
  """This interface supports identification of the front and back of Brazilian driver's license. The identification fields include name, driver's license category, number, validity period, etc.
385
410
 
@@ -92,6 +92,15 @@ INVALIDPARAMETER_INPUTILLEGAL = 'InvalidParameter.InputIllegal'
92
92
  # The API does not exist.
93
93
  INVALIDPARAMETER_INTERFACENAMENOTFOUND = 'InvalidParameter.InterfaceNameNotFound'
94
94
 
95
+ # Instances with publish-subscribe relationships are not supported.
96
+ INVALIDPARAMETER_NOTSUPPORTPUBSUBINSTANCE = 'InvalidParameter.NotSupportPubSubInstance'
97
+
98
+ # Primary instances with read-only replicas are not supported.
99
+ INVALIDPARAMETER_NOTSUPPORTREADONLYMASTERINSTANCE = 'InvalidParameter.NotSupportReadOnlyMasterInstance'
100
+
101
+ # Single-node edition (basic edition or RO replica) instances are not supported.
102
+ INVALIDPARAMETER_NOTSUPPORTSINGLEINSTANCE = 'InvalidParameter.NotSupportSingleInstance'
103
+
95
104
  # An error occurred while converting parameter assertion.
96
105
  INVALIDPARAMETER_PARAMSASSERTFAILED = 'InvalidParameter.ParamsAssertFailed'
97
106