From f9dfc11e52a2abba098c6a9c4369bff409dc666c Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 31 Jan 2022 11:52:30 -0800 Subject: [PATCH] generated client change --- kubernetes/README.md | 4 +++- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 2 +- kubernetes/client/api_client.py | 2 +- kubernetes/client/configuration.py | 2 +- setup.py | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index c161cd621..256055614 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: release-1.22 -- Package version: 22.0.0-snapshot +- Package version: 22.6.0a1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -60,6 +60,8 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # Defining host is optional and default to http://localhost configuration.host = "http://localhost" +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index f6ee3445f..73716cf72 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "22.0.0-snapshot" +__version__ = "22.6.0a1" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 7a57b32c6..dfa36dee2 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "22.0.0-snapshot" +__version__ = "22.6.0a1" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index dea978874..01f10a7c1 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -78,7 +78,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/22.0.0-snapshot/python' + self.user_agent = 'OpenAPI-Generator/22.6.0a1/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index c771b134a..bc81de2b0 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -350,7 +350,7 @@ class Configuration(object): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.22\n"\ - "SDK Package Version: 22.0.0-snapshot".\ + "SDK Package Version: 22.6.0a1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index b90ffa1cd..1c4bcff77 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "22.0.0-snapshot" +CLIENT_VERSION = "22.6.0a1" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha"