diff --git a/README.md b/README.md index 8efeeea..9240639 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.0 +- Package version: 2.1.1 - 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 86b9189..4b391f5 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.0" +__version__ = "2.1.1" # import apis into sdk package diff --git a/opsgenie_sdk/api_client.py b/opsgenie_sdk/api_client.py index f44a97c..fda832f 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.0' + self.user_agent = 'opsgenie-sdk-python-2.1.1' # 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 6197e10..6c16ad8 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.0".\ + "SDK Package Version: 2.1.1".\ 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 4c5a9b4..c7d6d95 100644 --- a/scripts/sdk/config.json +++ b/scripts/sdk/config.json @@ -1,7 +1,7 @@ { "packageName": "opsgenie_sdk", "projectName": "opsgenie-sdk", - "packageVersion": "2.1.0", + "packageVersion": "2.1.1", "packageUrl": "https://github.com/opsgenie/opsgenie-python-sdk", "sortParamsByRequiredFlag": "true", "hideGenerationTimestamp": "true", diff --git a/setup.py b/setup.py index e64402c..6163f45 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.0" +VERSION = "2.1.1" # To install the library, run the following # # python setup.py install