Skip to content

Commit

Permalink
Version updated (#72)
Browse files Browse the repository at this point in the history
Example code changed to don't show text on QR
  • Loading branch information
ivankamkin authored Mar 25, 2024
1 parent 2f0c418 commit 2e7a133
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
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: 3.0
- Package version: 24.2.0
- Package version: 24.3.0

## Demo applications

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 @@ -90,13 +90,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": "24.2.0",
"x-aspose-client-version": "24.3.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/24.2.0/python"
self.user_agent = "Aspose-Barcode-SDK/24.3.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 @@ -286,7 +286,7 @@ def to_debug_report(self):
"OS: {env}\n"
"Python Version: {pyversion}\n"
"Version of the API: 3.0\n"
"SDK Package Version: 24.2.0".format(env=sys.platform, pyversion=sys.version)
"SDK Package Version: 24.3.0".format(env=sys.platform, pyversion=sys.version)
)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
api = BarcodeApi(ApiClient(config))

# Generate barcode
response = api.get_barcode_generate(EncodeBarcodeType.QR, "Example")
response = api.get_barcode_generate(EncodeBarcodeType.QR, "Example", text_location="None")
with open("example.png", "wb") as f:
f.write(response.data)
print("Barcode saved to file 'example.png'")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from setuptools import setup, find_packages

NAME = "aspose-barcode-cloud"
VERSION = "24.2.0"
VERSION = "24.3.0"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit 2e7a133

Please sign in to comment.