Skip to content

Commit

Permalink
Merge pull request #12 from databox/release/0.4.1/1720687212107
Browse files Browse the repository at this point in the history
[SDK release] Generated SDK code based on data-link 0.4.1 API changes
  • Loading branch information
slavkor committed Jul 11, 2024
2 parents 583bd86 + 51b6f98 commit 17286b8
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Push API resources Open API documentation

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

- API version: 0.4.0
- Package version: 2.3.0
- API version: 0.4.1
- Package version: 2.2.2
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down
5 changes: 5 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_api_response.py
test/test_default_api.py
test/test_push_data.py
test/test_push_data_attribute.py
test/test_state.py
tox.ini
4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Push API resources Open API documentation

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

- API version: 0.4.0
- Package version: 2.3.0
- API version: 0.4.1
- Package version: 2.2.2
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

Expand Down
4 changes: 2 additions & 2 deletions src/databox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501


__version__ = "0.4.0"
__version__ = "2.2.2"

# import apis into sdk package
from databox.api.default_api import DefaultApi
Expand Down
2 changes: 1 addition & 1 deletion src/databox/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
4 changes: 2 additions & 2 deletions src/databox/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down Expand Up @@ -88,7 +88,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/0.4.0/python'
self.user_agent = 'OpenAPI-Generator/2.2.2/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions src/databox/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down Expand Up @@ -393,8 +393,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.0\n"\
"SDK Package Version: 0.4.0".\
"Version of the API: 0.4.1\n"\
"SDK Package Version: 2.2.2".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion src/databox/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/models/api_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/models/push_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/models/push_data_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/models/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/databox/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databox"
version = "0.4.0"
version = "2.2.2"
description = "Static OpenAPI document of Push API resource"
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
license = "NoLicense"
Expand Down
4 changes: 2 additions & 2 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 1.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand All @@ -21,7 +21,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "databox"
VERSION = "0.4.0"
VERSION = "2.2.2"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3, < 2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_api_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 0.4.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 0.4.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_push_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 0.4.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_push_data_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 0.4.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Push API resources Open API documentation
The version of the OpenAPI document: 0.4.0
The version of the OpenAPI document: 0.4.1
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand Down

0 comments on commit 17286b8

Please sign in to comment.