Skip to content

Commit 2e7a133

Browse files
authored
Version updated (#72)
Example code changed to don't show text on QR
1 parent 2f0c418 commit 2e7a133

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)
66

77
- API version: 3.0
8-
- Package version: 24.2.0
8+
- Package version: 24.3.0
99

1010
## Demo applications
1111

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
9090
self.rest_client = RESTClientObject(configuration)
9191
self.default_headers = {
9292
"x-aspose-client": "python sdk",
93-
"x-aspose-client-version": "24.2.0",
93+
"x-aspose-client-version": "24.3.0",
9494
}
9595
if header_name is not None:
9696
self.default_headers[header_name] = header_value
9797
self.cookie = cookie
9898
# Set default User-Agent.
99-
self.user_agent = "Aspose-Barcode-SDK/24.2.0/python"
99+
self.user_agent = "Aspose-Barcode-SDK/24.3.0/python"
100100

101101
def __del__(self):
102102
self.rest_client.close()

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def to_debug_report(self):
286286
"OS: {env}\n"
287287
"Python Version: {pyversion}\n"
288288
"Version of the API: 3.0\n"
289-
"SDK Package Version: 24.2.0".format(env=sys.platform, pyversion=sys.version)
289+
"SDK Package Version: 24.3.0".format(env=sys.platform, pyversion=sys.version)
290290
)
291291

292292
@staticmethod

example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
api = BarcodeApi(ApiClient(config))
2121

2222
# Generate barcode
23-
response = api.get_barcode_generate(EncodeBarcodeType.QR, "Example")
23+
response = api.get_barcode_generate(EncodeBarcodeType.QR, "Example", text_location="None")
2424
with open("example.png", "wb") as f:
2525
f.write(response.data)
2626
print("Barcode saved to file 'example.png'")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from setuptools import setup, find_packages
3030

3131
NAME = "aspose-barcode-cloud"
32-
VERSION = "24.2.0"
32+
VERSION = "24.3.0"
3333
# To install the library, run the following
3434
#
3535
# python setup.py install

0 commit comments

Comments
 (0)