From 15882ca574ce57a6297c6ec77a8d877a8feeb40f Mon Sep 17 00:00:00 2001 From: Viktor Taskov Date: Tue, 30 Jul 2024 16:46:50 +0100 Subject: [PATCH] build(2.3.1): Generate SDK for SEP 2.3.1 (#73) * Generate SDK for SEP 2.3.1 * Rollback env changes in the notebook --- config/python.json | 2 +- examples/metadata_demo.ipynb | 2 +- python/README.md | 2 +- python/licenses/license.txt | 4 ++-- python/licenses/license_info.csv | 4 ++-- python/seldon_deploy_sdk/api_client.py | 2 +- python/seldon_deploy_sdk/configuration.py | 2 +- python/setup.py | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/python.json b/config/python.json index 8fac450..cc47c5b 100644 --- a/config/python.json +++ b/config/python.json @@ -1,6 +1,6 @@ { "projectName": "seldon-deploy-sdk", "packageName": "seldon_deploy_sdk", - "packageVersion": "2.3.0", + "packageVersion": "2.3.1", "packageUrl": "https://deploy.seldon.io" } diff --git a/examples/metadata_demo.ipynb b/examples/metadata_demo.ipynb index 0680e9d..606e7a3 100644 --- a/examples/metadata_demo.ipynb +++ b/examples/metadata_demo.ipynb @@ -87,7 +87,7 @@ "# Alternativey set instead of the \"client_credentials\" flow\n", "# config.username = \"admin@seldon.io\"\n", "# config.password = \"12341234\"\n", - "# config.auth_method = \"password\"\n", + "# config.auth_method = \"password_grant\"\n", "\n", "auth = OIDCAuthenticator(config)\n", "config.id_token = auth.authenticate()" diff --git a/python/README.md b/python/README.md index 92dce90..3e39c3f 100644 --- a/python/README.md +++ b/python/README.md @@ -4,7 +4,7 @@ API to interact and manage the lifecycle of your machine learning models deploye This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v1alpha1 -- Package version: 2.3.0 +- Package version: 2.3.1 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements diff --git a/python/licenses/license.txt b/python/licenses/license.txt index 310d781..3eaeb4a 100644 --- a/python/licenses/license.txt +++ b/python/licenses/license.txt @@ -114,7 +114,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. cryptography -42.0.8 +43.0.0 Apache Software License; BSD License This software is made available under the terms of *either* of the licenses found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made @@ -428,7 +428,7 @@ Apache Software License seldon-deploy-sdk -2.3.0 +2.3.1 UNKNOWN UNKNOWN diff --git a/python/licenses/license_info.csv b/python/licenses/license_info.csv index ee5d5e3..9887b3c 100644 --- a/python/licenses/license_info.csv +++ b/python/licenses/license_info.csv @@ -3,11 +3,11 @@ "certifi","2024.7.4","Mozilla Public License 2.0 (MPL 2.0)" "cffi","1.16.0","MIT License" "charset-normalizer","3.3.2","MIT License" -"cryptography","42.0.8","Apache Software License; BSD License" +"cryptography","43.0.0","Apache Software License; BSD License" "idna","3.7","BSD License" "pycparser","2.22","BSD License" "python-dateutil","2.9.0.post0","Apache Software License; BSD License" "requests","2.32.3","Apache Software License" -"seldon-deploy-sdk","2.3.0","UNKNOWN" +"seldon-deploy-sdk","2.3.1","UNKNOWN" "six","1.16.0","MIT License" "urllib3","2.2.2","MIT License" diff --git a/python/seldon_deploy_sdk/api_client.py b/python/seldon_deploy_sdk/api_client.py index d197d6a..6cfe772 100644 --- a/python/seldon_deploy_sdk/api_client.py +++ b/python/seldon_deploy_sdk/api_client.py @@ -75,7 +75,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.3.0/python' + self.user_agent = 'Swagger-Codegen/2.3.1/python' self.client_side_validation = configuration.client_side_validation def __del__(self): diff --git a/python/seldon_deploy_sdk/configuration.py b/python/seldon_deploy_sdk/configuration.py index 0ae9196..f1ed941 100644 --- a/python/seldon_deploy_sdk/configuration.py +++ b/python/seldon_deploy_sdk/configuration.py @@ -283,5 +283,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1alpha1\n"\ - "SDK Package Version: 2.3.0".\ + "SDK Package Version: 2.3.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/python/setup.py b/python/setup.py index 560e3e5..1e08a68 100644 --- a/python/setup.py +++ b/python/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "seldon-deploy-sdk" -VERSION = "2.3.0" +VERSION = "2.3.1" # To install the library, run the following # # python setup.py install