generated client change

This commit is contained in:
Yu Liao 2022-01-31 11:52:30 -08:00
parent dc191c11fe
commit f9dfc11e52
6 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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):

View File

@ -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):

View File

@ -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"