From 34e4dd596ba3b92b901922d061344a28149e2c20 Mon Sep 17 00:00:00 2001 From: Shenwen Yin Date: Wed, 22 Mar 2023 11:31:25 +0800 Subject: [PATCH] bump version --- cloudtower/__init__.py | 2 +- cloudtower/api_client.py | 4 ++-- cloudtower/configuration.py | 4 ++-- setup.py | 20 ++++++++++---------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/cloudtower/__init__.py b/cloudtower/__init__.py index ec95453a..3fa53ccb 100644 --- a/cloudtower/__init__.py +++ b/cloudtower/__init__.py @@ -3,7 +3,7 @@ # flake8: noqa from __future__ import absolute_import -__version__ = "2.6.0" +__version__ = "2.7.0" # import apis into sdk package from cloudtower.api.alert_api import AlertApi diff --git a/cloudtower/api_client.py b/cloudtower/api_client.py index 42a9048e..3c7a09bf 100644 --- a/cloudtower/api_client.py +++ b/cloudtower/api_client.py @@ -4,7 +4,7 @@ cloudtower operation API and SDK # noqa: E501 - The version of the OpenAPI document: 2.6.0 + The version of the OpenAPI document: 2.7.0 Contact: info@smartx.com Generated by: https://openapi-generator.tech """ @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2.6.0/python' + self.user_agent = 'OpenAPI-Generator/2.7.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/cloudtower/configuration.py b/cloudtower/configuration.py index ad94ec96..093f54ee 100644 --- a/cloudtower/configuration.py +++ b/cloudtower/configuration.py @@ -398,8 +398,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2.6.0\n"\ - "SDK Package Version: 2.6.0".\ + "Version of the API: 2.7.0\n"\ + "SDK Package Version: 2.7.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index f6329580..eef2bb9f 100644 --- a/setup.py +++ b/setup.py @@ -1,21 +1,21 @@ # coding: utf-8 -""" - CloudTower APIs - - cloudtower operation API and SDK # noqa: E501 - - The version of the OpenAPI document: 2.6.0 - Contact: info@smartx.com - Generated by: https://openapi-generator.tech -""" +""" + CloudTower APIs + + cloudtower operation API and SDK # noqa: E501 + + The version of the OpenAPI document: 2.7.0 + Contact: info@smartx.com + Generated by: https://openapi-generator.tech +""" import pathlib from setuptools import setup, find_packages # noqa: H301 NAME = "cloudtower-sdk" -VERSION = "2.6.0" +VERSION = "2.7.0" # To install the library, run the following # # python setup.py install