From 349c1897657fd5068da42dc904025ecf96746347 Mon Sep 17 00:00:00 2001 From: Paige Niedringhaus Date: Thu, 6 Jun 2024 15:57:24 -0400 Subject: [PATCH] deps: bump sdk version for pypi deployment --- config.json | 2 +- src/.openapi-generator/FILES | 8 -------- src/README.md | 2 +- src/notehub_py/__init__.py | 2 +- src/notehub_py/api_client.py | 2 +- src/notehub_py/configuration.py | 2 +- src/pyproject.toml | 2 +- src/setup.py | 2 +- 8 files changed, 7 insertions(+), 15 deletions(-) diff --git a/config.json b/config.json index 91fcb07..9e22bfc 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,5 @@ "packageName": "notehub_py", "packageUrl": "https://github.com/blues/notehub-py", "projectName": "notehub-py", - "packageVersion": "0.0.3" + "packageVersion": "0.0.4" } \ No newline at end of file diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index 63bd4be..2340727 100644 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -209,12 +209,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_email_notification.py -test/test_firmware_status.py -test/test_ota_status.py -test/test_ota_status_list.py -test/test_ota_update_request.py -test/test_ota_update_status.py -test/test_slack_bearer_notification.py -test/test_slack_web_hook_notification.py tox.ini diff --git a/src/README.md b/src/README.md index b67bd89..6d33589 100644 --- a/src/README.md +++ b/src/README.md @@ -5,7 +5,7 @@ The OpenAPI definition for the Notehub.io API. This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 0.0.3 +- Package version: 0.0.4 - Generator version: 7.5.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/) diff --git a/src/notehub_py/__init__.py b/src/notehub_py/__init__.py index c7ecd5c..9a0cfb7 100644 --- a/src/notehub_py/__init__.py +++ b/src/notehub_py/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "0.0.3" +__version__ = "0.0.4" # import apis into sdk package from notehub_py.api.alert_api import AlertApi diff --git a/src/notehub_py/api_client.py b/src/notehub_py/api_client.py index 216cbc1..515e35e 100644 --- a/src/notehub_py/api_client.py +++ b/src/notehub_py/api_client.py @@ -89,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.0.3/python' + self.user_agent = 'OpenAPI-Generator/0.0.4/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/src/notehub_py/configuration.py b/src/notehub_py/configuration.py index b9dec4b..399766e 100644 --- a/src/notehub_py/configuration.py +++ b/src/notehub_py/configuration.py @@ -409,7 +409,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 0.0.3".\ + "SDK Package Version: 0.0.4".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/pyproject.toml b/src/pyproject.toml index f910b2a..44c79a8 100644 --- a/src/pyproject.toml +++ b/src/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "notehub_py" -version = "0.0.3" +version = "0.0.4" description = "Notehub API" authors = ["Blues Engineering "] license = "MIT" diff --git a/src/setup.py b/src/setup.py index eb60df8..c8bf1bc 100644 --- a/src/setup.py +++ b/src/setup.py @@ -25,7 +25,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "notehub-py" -VERSION = "0.0.3" +VERSION = "0.0.4" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0",