generated client change
This commit is contained in:
parent
dc191c11fe
commit
f9dfc11e52
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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):
|
||||
|
||||
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user