Skip to content

Commit b8c5e56

Browse files
Release 5.2.2
1 parent fd3bc51 commit b8c5e56

11 files changed

Lines changed: 23 additions & 15 deletions

.github/workflows/python-publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-22.04
2626

2727
steps:
2828
- uses: actions/checkout@v3
@@ -33,7 +33,15 @@ jobs:
3333

3434
- name: Install dependencies with ${{ matrix.python-version }}
3535
run: |
36-
wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
36+
# Use legacy get-pip.py for older Python versions
37+
if [[ $(python -c 'import sys; print(sys.version_info[:2])') == "(3, 7)" ]]; then
38+
wget https://bootstrap.pypa.io/pip/3.7/get-pip.py
39+
elif [[ $(python -c 'import sys; print(sys.version_info[:2])') == "(3, 8)" ]]; then
40+
wget https://bootstrap.pypa.io/pip/3.8/get-pip.py
41+
else
42+
wget https://bootstrap.pypa.io/get-pip.py
43+
fi
44+
python get-pip.py
3745
python -m pip install --upgrade pip
3846
pip install -r requirements.txt
3947
pip install -r test-requirements.txt

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description = fh.read()
77

88
NAME = "wallee"
9-
VERSION = "5.2.0"
9+
VERSION = "5.2.2"
1010

1111
REQUIRES = [
1212
"certifi >= 14.05.14",

wallee/api/charge_flow_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def fetch_charge_flow_payment_page_url_with_http_info(self, space_id, id, **kwar
419419
body_params = None
420420
# HTTP header `Accept`
421421
header_params['Accept'] = self.api_client.select_header_accept(
422-
['application/json', 'text/plain;charset=utf-8'])
422+
['text/plain;charset=utf-8', 'application/json'])
423423

424424
# Authentication setting
425425
auth_settings = []

wallee/api/human_user_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def export_with_http_info(self, request, **kwargs):
395395
body_params = params['request']
396396
# HTTP header `Accept`
397397
header_params['Accept'] = self.api_client.select_header_accept(
398-
['application/json;charset=utf-8', 'text/csv'])
398+
['text/csv', 'application/json;charset=utf-8'])
399399

400400
# HTTP header `Content-Type`
401401
header_params['Content-Type'] = self.api_client.select_header_content_type(

wallee/api/transaction_iframe_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def javascript_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
header_params['Accept'] = self.api_client.select_header_accept(
101-
['application/json', 'text/plain;charset=utf-8'])
101+
['text/plain;charset=utf-8', 'application/json'])
102102

103103
# Authentication setting
104104
auth_settings = []

wallee/api/transaction_lightbox_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def javascript_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
header_params['Accept'] = self.api_client.select_header_accept(
101-
['application/json', 'text/plain;charset=utf-8'])
101+
['text/plain;charset=utf-8', 'application/json'])
102102

103103
# Authentication setting
104104
auth_settings = []

wallee/api/transaction_mobile_sdk_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def payment_form_url_with_http_info(self, credentials, **kwargs):
9090
body_params = None
9191
# HTTP header `Accept`
9292
header_params['Accept'] = self.api_client.select_header_accept(
93-
['application/json', 'text/plain;charset=utf-8'])
93+
['text/plain;charset=utf-8', 'application/json'])
9494

9595
# Authentication setting
9696
auth_settings = []

wallee/api/transaction_payment_page_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def payment_page_url_with_http_info(self, space_id, id, **kwargs):
9898
body_params = None
9999
# HTTP header `Accept`
100100
header_params['Accept'] = self.api_client.select_header_accept(
101-
['application/json', 'text/plain;charset=utf-8'])
101+
['text/plain;charset=utf-8', 'application/json'])
102102

103103
# Authentication setting
104104
auth_settings = []

wallee/api/transaction_service_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def export_with_http_info(self, space_id, request, **kwargs):
633633
body_params = params['request']
634634
# HTTP header `Accept`
635635
header_params['Accept'] = self.api_client.select_header_accept(
636-
['application/json;charset=utf-8', 'text/csv'])
636+
['text/csv', 'application/json;charset=utf-8'])
637637

638638
# HTTP header `Content-Type`
639639
header_params['Content-Type'] = self.api_client.select_header_content_type(

wallee/api_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Python SDK
66
7-
OpenAPI spec version: 5.2.0
7+
OpenAPI spec version: 5.2.2
88
99
"""
1010

@@ -68,7 +68,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6868
self.default_headers[header_name] = header_value
6969
self.cookie = cookie
7070
# Set default User-Agent.
71-
self.user_agent = 'wallee/5.2.0/python'
71+
self.user_agent = 'wallee/5.2.2/python'
7272

7373
def __del__(self):
7474
if self._pool is not None:
@@ -107,7 +107,7 @@ def __call_api(
107107

108108
# predefined default headers
109109
default_headers = {
110-
'x-meta-sdk-version': '5.2.0',
110+
'x-meta-sdk-version': '5.2.2',
111111
'x-meta-sdk-language': 'python',
112112
'x-meta-sdk-provider': 'wallee',
113113
'x-meta-sdk-language-version': platform.python_version()

0 commit comments

Comments
 (0)