Skip to content

Commit 17286b8

Browse files
authored
Merge pull request #12 from databox/release/0.4.1/1720687212107
[SDK release] Generated SDK code based on data-link 0.4.1 API changes
2 parents 583bd86 + 51b6f98 commit 17286b8

21 files changed

+32
-27
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Push API resources Open API documentation
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 0.4.0
7-
- Package version: 2.3.0
6+
- API version: 0.4.1
7+
- Package version: 2.2.2
88
- Generator version: 7.6.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

src/.openapi-generator/FILES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ setup.cfg
2929
setup.py
3030
test-requirements.txt
3131
test/__init__.py
32+
test/test_api_response.py
33+
test/test_default_api.py
34+
test/test_push_data.py
35+
test/test_push_data_attribute.py
36+
test/test_state.py
3237
tox.ini

src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Push API resources Open API documentation
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 0.4.0
7-
- Package version: 2.3.0
6+
- API version: 0.4.1
7+
- Package version: 2.2.2
88
- Generator version: 7.6.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

src/databox/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
88
Push API resources Open API documentation
99
10-
The version of the OpenAPI document: 1.0
10+
The version of the OpenAPI document: 0.4.1
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
1414
""" # noqa: E501
1515

1616

17-
__version__ = "0.4.0"
17+
__version__ = "2.2.2"
1818

1919
# import apis into sdk package
2020
from databox.api.default_api import DefaultApi

src/databox/api/default_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -88,7 +88,7 @@ def __init__(
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = 'OpenAPI-Generator/0.4.0/python'
91+
self.user_agent = 'OpenAPI-Generator/2.2.2/python'
9292
self.client_side_validation = configuration.client_side_validation
9393

9494
def __enter__(self):

src/databox/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -393,8 +393,8 @@ def to_debug_report(self):
393393
return "Python SDK Debug Report:\n"\
394394
"OS: {env}\n"\
395395
"Python Version: {pyversion}\n"\
396-
"Version of the API: 1.0\n"\
397-
"SDK Package Version: 0.4.0".\
396+
"Version of the API: 0.4.1\n"\
397+
"SDK Package Version: 2.2.2".\
398398
format(env=sys.platform, pyversion=sys.version)
399399

400400
def get_host_settings(self):

src/databox/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Push API resources Open API documentation
88
9-
The version of the OpenAPI document: 1.0
9+
The version of the OpenAPI document: 0.4.1
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.

src/databox/models/api_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/models/push_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/models/push_data_attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/models/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/databox/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databox"
3-
version = "0.4.0"
3+
version = "2.2.2"
44
description = "Static OpenAPI document of Push API resource"
55
authors = ["OpenAPI Generator Community <[email protected]>"]
66
license = "NoLicense"

src/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 1.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "databox"
24-
VERSION = "0.4.0"
24+
VERSION = "2.2.2"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = [
2727
"urllib3 >= 1.25.3, < 2.1.0",

src/test/test_api_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 0.4.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/test/test_default_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 0.4.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/test/test_push_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 0.4.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/test/test_push_data_attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 0.4.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

src/test/test_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Push API resources Open API documentation
77
8-
The version of the OpenAPI document: 0.4.0
8+
The version of the OpenAPI document: 0.4.1
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)