Skip to content

Commit 87c7839

Browse files
authored
Release 22.3: Bump version (#33)
* Release 22.3: Bump version * Fixing tests
1 parent 10c1b5f commit 87c7839

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

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

1010
- API version: 3.0
11-
- Package version: 22.1.0
11+
- Package version: 22.3.0
1212

1313
## Demo applications
1414

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
8282
# Use the pool property to lazily initialize the ThreadPool.
8383
self._pool = None
8484
self.rest_client = rest.RESTClientObject(configuration)
85-
self.default_headers = {"x-aspose-client": "python sdk", "x-aspose-client-version": "22.1.0"}
85+
self.default_headers = {"x-aspose-client": "python sdk", "x-aspose-client-version": "22.3.0"}
8686
if header_name is not None:
8787
self.default_headers[header_name] = header_value
8888
self.cookie = cookie
8989
# Set default User-Agent.
90-
self.user_agent = "Aspose-Barcode-SDK/22.1.0/python"
90+
self.user_agent = "Aspose-Barcode-SDK/22.3.0/python"
9191

9292
def __del__(self):
9393
if self._pool is not None:

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def to_debug_report(self):
285285
"OS: {env}\n"
286286
"Python Version: {pyversion}\n"
287287
"Version of the API: 3.0\n"
288-
"SDK Package Version: 22.1.0".format(env=sys.platform, pyversion=sys.version)
288+
"SDK Package Version: 22.3.0".format(env=sys.platform, pyversion=sys.version)
289289
)
290290

291291
@staticmethod

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 = "22.1.0"
32+
VERSION = "22.3.0"
3333
# To install the library, run the following
3434
#
3535
# python setup.py install

tests/test_headers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def test_default_headers(self):
2424

2525
self.assertEqual(1, self.rest_client_mock.GET.call_count)
2626
headers = self.rest_client_mock.GET.call_args[1]["headers"]
27-
self.assertEqual("Aspose-Barcode-SDK/22.1.0/python", headers["User-Agent"])
27+
self.assertEqual("Aspose-Barcode-SDK/22.3.0/python", headers["User-Agent"])
2828
self.assertEqual("python sdk", headers["x-aspose-client"])
29-
self.assertEqual("22.1.0", headers["x-aspose-client-version"])
29+
self.assertEqual("22.3.0", headers["x-aspose-client-version"])
3030

3131
def test_header_override(self):
3232
api_client = ApiClient(self.local_config, header_name="x-aspose-client", header_value="some custom sdk")

0 commit comments

Comments
 (0)