Skip to content

Commit e66c690

Browse files
committed
Client Python update by KubeVirt Prow build 1959961707543531520
1 parent 94811ac commit e66c690

File tree

8 files changed

+24
-12
lines changed

8 files changed

+24
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is KubeVirt API an add-on for Kubernetes.
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 1.0.0
7-
- Package version: v1.6.0-beta.0-697-g544a8a2f12
7+
- Package version: v1.6.0-beta.0-869-g12ebd1cfe9
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99
For more information, please visit [https://github.com/kubevirt/kubevirt](https://github.com/kubevirt/kubevirt)
1010

docs/DefaultApi.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9676,7 +9676,7 @@ No authorization required
96769676
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
96779677

96789678
# **v1_vnc**
9679-
> v1_vnc(name, namespace)
9679+
> v1_vnc(name, namespace, preserve_session=preserve_session)
96809680

96819681

96829682

@@ -9694,9 +9694,10 @@ from pprint import pprint
96949694
api_instance = kubevirt.DefaultApi()
96959695
name = 'name_example' # str | Name of the resource
96969696
namespace = 'namespace_example' # str | Object name and auth scope, such as for teams and projects
9697+
preserve_session = true # bool | Connect only if ongoing session is not disturbed. (optional)
96979698

96989699
try:
9699-
api_instance.v1_vnc(name, namespace)
9700+
api_instance.v1_vnc(name, namespace, preserve_session=preserve_session)
97009701
except ApiException as e:
97019702
print("Exception when calling DefaultApi->v1_vnc: %s\n" % e)
97029703
```
@@ -9707,6 +9708,7 @@ Name | Type | Description | Notes
97079708
------------- | ------------- | ------------- | -------------
97089709
**name** | **str**| Name of the resource |
97099710
**namespace** | **str**| Object name and auth scope, such as for teams and projects |
9711+
**preserve_session** | **bool**| Connect only if ongoing session is not disturbed. | [optional]
97109712

97119713
### Return type
97129714

@@ -10996,7 +10998,7 @@ No authorization required
1099610998
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
1099710999

1099811000
# **v1alpha3_vnc**
10999-
> v1alpha3_vnc(name, namespace)
11001+
> v1alpha3_vnc(name, namespace, preserve_session=preserve_session)
1100011002

1100111003

1100211004

@@ -11014,9 +11016,10 @@ from pprint import pprint
1101411016
api_instance = kubevirt.DefaultApi()
1101511017
name = 'name_example' # str | Name of the resource
1101611018
namespace = 'namespace_example' # str | Object name and auth scope, such as for teams and projects
11019+
preserve_session = true # bool | Connect only if ongoing session is not disturbed. (optional)
1101711020

1101811021
try:
11019-
api_instance.v1alpha3_vnc(name, namespace)
11022+
api_instance.v1alpha3_vnc(name, namespace, preserve_session=preserve_session)
1102011023
except ApiException as e:
1102111024
print("Exception when calling DefaultApi->v1alpha3_vnc: %s\n" % e)
1102211025
```
@@ -11027,6 +11030,7 @@ Name | Type | Description | Notes
1102711030
------------- | ------------- | ------------- | -------------
1102811031
**name** | **str**| Name of the resource |
1102911032
**namespace** | **str**| Object name and auth scope, such as for teams and projects |
11033+
**preserve_session** | **bool**| Connect only if ongoing session is not disturbed. | [optional]
1103011034

1103111035
### Return type
1103211036

git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$git_repo_id" = "" ]; then
1818
fi
1919

2020
if [ "$release_note" = "" ]; then
21-
release_note="Auto-generated client v1.6.0-beta.0-697-g544a8a2f12"
21+
release_note="Auto-generated client v1.6.0-beta.0-869-g12ebd1cfe9"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

kubevirt/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None):
7373
self.host = host
7474
self.cookie = cookie
7575
# Set default User-Agent.
76-
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-697-g544a8a2f12/python'
76+
self.user_agent = 'Swagger-Codegen/v1.6.0-beta.0-869-g12ebd1cfe9/python'
7777

7878
@property
7979
def user_agent(self):

kubevirt/apis/default_api.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20539,6 +20539,7 @@ def v1_vnc(self, name, namespace, **kwargs):
2053920539
for asynchronous request. (optional)
2054020540
:param str name: Name of the resource (required)
2054120541
:param str namespace: Object name and auth scope, such as for teams and projects (required)
20542+
:param bool preserve_session: Connect only if ongoing session is not disturbed.
2054220543
:return: None
2054320544
If the method is called asynchronously,
2054420545
returns the request thread.
@@ -20565,12 +20566,13 @@ def v1_vnc_with_http_info(self, name, namespace, **kwargs):
2056520566
for asynchronous request. (optional)
2056620567
:param str name: Name of the resource (required)
2056720568
:param str namespace: Object name and auth scope, such as for teams and projects (required)
20569+
:param bool preserve_session: Connect only if ongoing session is not disturbed.
2056820570
:return: None
2056920571
If the method is called asynchronously,
2057020572
returns the request thread.
2057120573
"""
2057220574

20573-
all_params = ['name', 'namespace']
20575+
all_params = ['name', 'namespace', 'preserve_session']
2057420576
all_params.append('callback')
2057520577
all_params.append('_return_http_data_only')
2057620578
all_params.append('_preload_content')
@@ -20602,6 +20604,8 @@ def v1_vnc_with_http_info(self, name, namespace, **kwargs):
2060220604
path_params['namespace'] = params['namespace']
2060320605

2060420606
query_params = []
20607+
if 'preserve_session' in params:
20608+
query_params.append(('preserveSession', params['preserve_session']))
2060520609

2060620610
header_params = {}
2060720611

@@ -23447,6 +23451,7 @@ def v1alpha3_vnc(self, name, namespace, **kwargs):
2344723451
for asynchronous request. (optional)
2344823452
:param str name: Name of the resource (required)
2344923453
:param str namespace: Object name and auth scope, such as for teams and projects (required)
23454+
:param bool preserve_session: Connect only if ongoing session is not disturbed.
2345023455
:return: None
2345123456
If the method is called asynchronously,
2345223457
returns the request thread.
@@ -23473,12 +23478,13 @@ def v1alpha3_vnc_with_http_info(self, name, namespace, **kwargs):
2347323478
for asynchronous request. (optional)
2347423479
:param str name: Name of the resource (required)
2347523480
:param str namespace: Object name and auth scope, such as for teams and projects (required)
23481+
:param bool preserve_session: Connect only if ongoing session is not disturbed.
2347623482
:return: None
2347723483
If the method is called asynchronously,
2347823484
returns the request thread.
2347923485
"""
2348023486

23481-
all_params = ['name', 'namespace']
23487+
all_params = ['name', 'namespace', 'preserve_session']
2348223488
all_params.append('callback')
2348323489
all_params.append('_return_http_data_only')
2348423490
all_params.append('_preload_content')
@@ -23510,6 +23516,8 @@ def v1alpha3_vnc_with_http_info(self, name, namespace, **kwargs):
2351023516
path_params['namespace'] = params['namespace']
2351123517

2351223518
query_params = []
23519+
if 'preserve_session' in params:
23520+
query_params.append(('preserveSession', params['preserve_session']))
2351323521

2351423522
header_params = {}
2351523523

kubevirt/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,5 @@ def to_debug_report(self):
227227
"OS: {env}\n"\
228228
"Python Version: {pyversion}\n"\
229229
"Version of the API: 1.0.0\n"\
230-
"SDK Package Version: v1.6.0-beta.0-697-g544a8a2f12".\
230+
"SDK Package Version: v1.6.0-beta.0-869-g12ebd1cfe9".\
231231
format(env=sys.platform, pyversion=sys.version)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from setuptools import setup, find_packages
1616

1717
NAME = "kubevirt-py"
18-
VERSION = "v1.6.0-beta.0-697-g544a8a2f12"
18+
VERSION = "v1.6.0-beta.0-869-g12ebd1cfe9"
1919
# To install the library, run the following
2020
#
2121
# python setup.py install

swagger-codegen-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packageName": "kubevirt",
33
"projectName": "kubevirt-py",
44
"packageUrl": "https://github.com/kubevirt/client-python",
5-
"packageVersion": "v1.6.0-beta.0-697-g544a8a2f12"
5+
"packageVersion": "v1.6.0-beta.0-869-g12ebd1cfe9"
66
}

0 commit comments

Comments
 (0)