Skip to content

Commit fde0e8e

Browse files
authored
Release 21.7 (#25)
* Release 21.7
1 parent bb01caf commit fde0e8e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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: 21.6.0
8+
- Package version: 21.7.0
99

1010
## Demo applications
1111

@@ -30,7 +30,7 @@ The complete source code is available in this repository folder. You can either
3030

3131
## Prerequisites
3232

33-
To use Aspose.BarCode Cloud SDK for Python you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create Client Secret and Client Id at [Cloud Dashboard](https://dashboard.aspose.cloud/applications). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
33+
To use Aspose.BarCode Cloud SDK for Python you need to register an account with [Aspose Cloud](https://www.aspose.cloud) and lookup/create Client Secret and Client Id at [Cloud Dashboard](https://dashboard.aspose.cloud/applications). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).
3434

3535
## Installation
3636

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": "21.6.0"}
85+
self.default_headers = {"x-aspose-client": "python sdk", "x-aspose-client-version": "21.7.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/21.6.0/python"
90+
self.user_agent = "Aspose-Barcode-SDK/21.7.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: 21.6.0".format(env=sys.platform, pyversion=sys.version)
288+
"SDK Package Version: 21.7.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 = "21.6.0"
32+
VERSION = "21.7.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/21.6.0/python", headers["User-Agent"])
27+
self.assertEqual("Aspose-Barcode-SDK/21.7.0/python", headers["User-Agent"])
2828
self.assertEqual("python sdk", headers["x-aspose-client"])
29-
self.assertEqual("21.6.0", headers["x-aspose-client-version"])
29+
self.assertEqual("21.7.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)