Skip to content

Commit 94ae569

Browse files
authored
Release 23.7 (#62)
* Update version to 23.7.0 * New code generated from updated Swagger specification * Add warnings for deprecated parameters * Fixing tests
1 parent cfc1fab commit 94ae569

91 files changed

Lines changed: 192 additions & 21 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ init-docker:
4343
.PHONY: lint
4444
lint:
4545
# stop the build if there are Python syntax errors or undefined names
46-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --extend-exclude '.*'
46+
python -m flake8 aspose_barcode_cloud --count --select=E9,F63,F7,F82 --show-source --statistics --extend-exclude '.*'
4747
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
48-
flake8 . --count --exit-zero --max-line-length=127 --statistics --extend-ignore=E501 --extend-exclude '.*'
48+
python -m flake8 aspose_barcode_cloud --count --exit-zero --max-line-length=127 --statistics --extend-ignore=E501 --extend-exclude '.*'
4949

5050
.PHONY: publish
5151
publish: check_git test-tox dist
@@ -75,8 +75,12 @@ test-example:
7575
test-tox:
7676
python -m tox $(SRC)
7777

78+
.PHONY: add-warnings
79+
add-warnings:
80+
./scripts/add-deprecation-warnings.bash
81+
7882
.PHONY: after-gen
79-
after-gen: format format_doc
83+
after-gen: format add-warnings format_doc
8084

8185
.PHONY: update
8286
update:

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: 23.6.0
8+
- Package version: 23.7.0
99

1010
## Demo applications
1111

aspose_barcode_cloud/api/barcode_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from __future__ import absolute_import, division
2828

2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
# python 2 and python 3 compatibility library
3233
import six

aspose_barcode_cloud/api/file_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from __future__ import absolute_import, division
2828

2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
# python 2 and python 3 compatibility library
3233
import six

aspose_barcode_cloud/api/folder_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from __future__ import absolute_import, division
2828

2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
# python 2 and python 3 compatibility library
3233
import six

aspose_barcode_cloud/api/storage_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from __future__ import absolute_import, division
2828

2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
# python 2 and python 3 compatibility library
3233
import six

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": "23.6.0",
93+
"x-aspose-client-version": "23.7.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/23.6.0/python"
99+
self.user_agent = "Aspose-Barcode-SDK/23.7.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: 23.6.0".format(env=sys.platform, pyversion=sys.version)
289+
"SDK Package Version: 23.7.0".format(env=sys.platform, pyversion=sys.version)
290290
)
291291

292292
@staticmethod

aspose_barcode_cloud/models/api_error.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
import pprint
2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
import six
3233

aspose_barcode_cloud/models/api_error_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
import pprint
2929
import re # noqa: F401
30+
import warnings # noqa: F401
3031

3132
import six
3233

0 commit comments

Comments
 (0)