diff --git a/README.md b/README.md index 42f776a..bf3f5ba 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/) - API version: 4.0 -- Package version: 26.1.0 +- Package version: 26.2.0 ## SDK and API Version Compatibility: diff --git a/aspose_barcode_cloud/api/generate_api.py b/aspose_barcode_cloud/api/generate_api.py index a4e05d2..11cce9c 100644 --- a/aspose_barcode_cloud/api/generate_api.py +++ b/aspose_barcode_cloud/api/generate_api.py @@ -79,7 +79,7 @@ def generate( **kwargs ) else: - (data) = self.generate_with_http_info( + data = self.generate_with_http_info( barcode_type, data, data_type=data_type, @@ -240,7 +240,7 @@ def generate_body(self, generate_params, async_req=False, **kwargs): if async_req: return self.generate_body_with_http_info(generate_params, **kwargs) else: - (data) = self.generate_body_with_http_info(generate_params, **kwargs) + data = self.generate_body_with_http_info(generate_params, **kwargs) return data def generate_body_with_http_info(self, generate_params, **kwargs): @@ -386,7 +386,7 @@ def generate_multipart( **kwargs ) else: - (data) = self.generate_multipart_with_http_info( + data = self.generate_multipart_with_http_info( barcode_type, data, data_type=data_type, diff --git a/aspose_barcode_cloud/api/recognize_api.py b/aspose_barcode_cloud/api/recognize_api.py index 51357fa..f5a27cf 100644 --- a/aspose_barcode_cloud/api/recognize_api.py +++ b/aspose_barcode_cloud/api/recognize_api.py @@ -49,7 +49,7 @@ def recognize( **kwargs ) else: - (data) = self.recognize_with_http_info( + data = self.recognize_with_http_info( barcode_type, file_url, recognition_mode=recognition_mode, @@ -154,7 +154,7 @@ def recognize_base64(self, recognize_base64_request, async_req=False, **kwargs): if async_req: return self.recognize_base64_with_http_info(recognize_base64_request, **kwargs) else: - (data) = self.recognize_base64_with_http_info(recognize_base64_request, **kwargs) + data = self.recognize_base64_with_http_info(recognize_base64_request, **kwargs) return data def recognize_base64_with_http_info(self, recognize_base64_request, **kwargs): @@ -261,7 +261,7 @@ def recognize_multipart( **kwargs ) else: - (data) = self.recognize_multipart_with_http_info( + data = self.recognize_multipart_with_http_info( barcode_type, file, recognition_mode=recognition_mode, diff --git a/aspose_barcode_cloud/api/scan_api.py b/aspose_barcode_cloud/api/scan_api.py index 4ebecce..8899633 100644 --- a/aspose_barcode_cloud/api/scan_api.py +++ b/aspose_barcode_cloud/api/scan_api.py @@ -38,7 +38,7 @@ def scan(self, file_url, async_req=False, **kwargs): if async_req: return self.scan_with_http_info(file_url, **kwargs) else: - (data) = self.scan_with_http_info(file_url, **kwargs) + data = self.scan_with_http_info(file_url, **kwargs) return data def scan_with_http_info(self, file_url, **kwargs): @@ -127,7 +127,7 @@ def scan_base64(self, scan_base64_request, async_req=False, **kwargs): if async_req: return self.scan_base64_with_http_info(scan_base64_request, **kwargs) else: - (data) = self.scan_base64_with_http_info(scan_base64_request, **kwargs) + data = self.scan_base64_with_http_info(scan_base64_request, **kwargs) return data def scan_base64_with_http_info(self, scan_base64_request, **kwargs): @@ -221,7 +221,7 @@ def scan_multipart(self, file, async_req=False, **kwargs): if async_req: return self.scan_multipart_with_http_info(file, **kwargs) else: - (data) = self.scan_multipart_with_http_info(file, **kwargs) + data = self.scan_multipart_with_http_info(file, **kwargs) return data def scan_multipart_with_http_info(self, file, **kwargs): diff --git a/aspose_barcode_cloud/api_client.py b/aspose_barcode_cloud/api_client.py index 03d1b6c..049d5af 100644 --- a/aspose_barcode_cloud/api_client.py +++ b/aspose_barcode_cloud/api_client.py @@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.rest_client = RESTClientObject(configuration) self.default_headers = { "x-aspose-client": "python sdk", - "x-aspose-client-version": "26.1.0", + "x-aspose-client-version": "26.2.0", } if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "Aspose-Barcode-SDK/26.1.0/python" + self.user_agent = "Aspose-Barcode-SDK/26.2.0/python" def __del__(self): self.rest_client.close() diff --git a/aspose_barcode_cloud/configuration.py b/aspose_barcode_cloud/configuration.py index 5e6ab00..ee8e710 100644 --- a/aspose_barcode_cloud/configuration.py +++ b/aspose_barcode_cloud/configuration.py @@ -258,7 +258,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 4.0\n" - "SDK Package Version: 26.1.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 26.2.0".format(env=sys.platform, pyversion=sys.version) ) @staticmethod diff --git a/aspose_barcode_cloud/exceptions.py b/aspose_barcode_cloud/exceptions.py index 6a9bb6a..267e3c1 100644 --- a/aspose_barcode_cloud/exceptions.py +++ b/aspose_barcode_cloud/exceptions.py @@ -2,25 +2,25 @@ """ - Copyright (c) 2026 Aspose.BarCode for Cloud - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. + Copyright (c) 2026 Aspose.BarCode for Cloud + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. """ diff --git a/aspose_barcode_cloud/rest.py b/aspose_barcode_cloud/rest.py index 17cd44f..d6d08f6 100644 --- a/aspose_barcode_cloud/rest.py +++ b/aspose_barcode_cloud/rest.py @@ -9,7 +9,6 @@ import certifi - try: import urllib3 except ImportError: diff --git a/setup.py b/setup.py index db6c372..efecaba 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages NAME = "aspose-barcode-cloud" -VERSION = "26.1.0" +VERSION = "26.2.0" # To install the library, run the following # # python setup.py install