diff --git a/README.md b/README.md index 52d1ad6..61c75b4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This Rest API enables developers to interact with a hoprd node programatically t This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: 3.1.0 -- Package version: 2.1.0 +- Package version: 2.1.2 - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen ## Requirements. diff --git a/hoprd_sdk/api_client.py b/hoprd_sdk/api_client.py index e022f93..becb8fc 100644 --- a/hoprd_sdk/api_client.py +++ b/hoprd_sdk/api_client.py @@ -73,7 +73,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 = 'Swagger-Codegen/2.1.0/python' + self.user_agent = 'Swagger-Codegen/2.1.2/python' def __enter__(self): return self diff --git a/hoprd_sdk/api_client.py.orig b/hoprd_sdk/api_client.py.orig index c2ddfa9..5b851bc 100644 --- a/hoprd_sdk/api_client.py.orig +++ b/hoprd_sdk/api_client.py.orig @@ -72,7 +72,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.1.0/python' + self.user_agent = 'Swagger-Codegen/2.1.2/python' def __del__(self): self.pool.close() diff --git a/hoprd_sdk/configuration.py b/hoprd_sdk/configuration.py index 7cf516c..5d1b922 100644 --- a/hoprd_sdk/configuration.py +++ b/hoprd_sdk/configuration.py @@ -250,5 +250,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3.1.0\n"\ - "SDK Package Version: 2.1.0".\ + "SDK Package Version: 2.1.2".\ format(env=sys.platform, pyversion=sys.version) diff --git a/setup.py b/setup.py index 2c71da0..7b3982c 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "hoprd-sdk" -VERSION = "2.1.0" +VERSION = "2.1.2" # To install the library, run the following # # python setup.py install