From 0d20d2314522fc0fd8ca5f0faa16f7c96387e123 Mon Sep 17 00:00:00 2001 From: "M.Hamza Khan" Date: Mon, 2 Aug 2021 15:30:07 +0200 Subject: [PATCH] upgrade sdk version --- README.md | 2 +- opsgenie_sdk/__init__.py | 2 +- opsgenie_sdk/api_client.py | 2 +- opsgenie_sdk/configuration.py | 2 +- scripts/sdk/config.json | 2 +- setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cc65503..fc89d6e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 2.0.0 -- Package version: 2.1.4 +- Package version: 2.1.5 - Build package: com.atlassian.opsgenie.codegen.geniepy.GeniepyGenerator For more information, please visit [https://www.opsgenie.com/contact-us](https://www.opsgenie.com/contact-us) diff --git a/opsgenie_sdk/__init__.py b/opsgenie_sdk/__init__.py index 06813b9..de57364 100644 --- a/opsgenie_sdk/__init__.py +++ b/opsgenie_sdk/__init__.py @@ -168,7 +168,7 @@ from opsgenie_sdk.models.weekday_time_restriction_interval import WeekdayTimeRestrictionInterval from opsgenie_sdk.models.weekday_time_restriction_interval_all_of import WeekdayTimeRestrictionIntervalAllOf -__version__ = "2.1.4" +__version__ = "2.1.5" # import apis into sdk package diff --git a/opsgenie_sdk/api_client.py b/opsgenie_sdk/api_client.py index 90c7dbb..7b1b3fb 100644 --- a/opsgenie_sdk/api_client.py +++ b/opsgenie_sdk/api_client.py @@ -88,7 +88,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 = 'opsgenie-sdk-python-2.1.4' + self.user_agent = 'opsgenie-sdk-python-2.1.5' # init metric publishers self.http_metric_publisher = self.rest_client.http_metric diff --git a/opsgenie_sdk/configuration.py b/opsgenie_sdk/configuration.py index 0d1c929..3d18131 100644 --- a/opsgenie_sdk/configuration.py +++ b/opsgenie_sdk/configuration.py @@ -252,7 +252,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2.0.0\n"\ - "SDK Package Version: 2.1.4".\ + "SDK Package Version: 2.1.5".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/scripts/sdk/config.json b/scripts/sdk/config.json index 883b867..a9d131e 100644 --- a/scripts/sdk/config.json +++ b/scripts/sdk/config.json @@ -1,7 +1,7 @@ { "packageName": "opsgenie_sdk", "projectName": "opsgenie-sdk", - "packageVersion": "2.1.4", + "packageVersion": "2.1.5", "packageUrl": "https://github.com/opsgenie/opsgenie-python-sdk", "sortParamsByRequiredFlag": "true", "hideGenerationTimestamp": "true", diff --git a/setup.py b/setup.py index dfc6a1d..0492c5b 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "opsgenie-sdk" -VERSION = "2.1.4" +VERSION = "2.1.5" # To install the library, run the following # # python setup.py install