Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions aspose_barcode_cloud/api/generate_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions aspose_barcode_cloud/api/recognize_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions aspose_barcode_cloud/api/scan_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions aspose_barcode_cloud/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion aspose_barcode_cloud/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
38 changes: 19 additions & 19 deletions aspose_barcode_cloud/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

"""

Expand Down
1 change: 0 additions & 1 deletion aspose_barcode_cloud/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

import certifi


try:
import urllib3
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down