Skip to content

Commit 434cef7

Browse files
authored
Update sdk to v1.7.0rc0 (#1882)
* Removing dead code * Update monitoring guide * Update latest training operator image * Update SDK version to v1.7.0rc0
1 parent c143a99 commit 434cef7

File tree

64 files changed

+68
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+68
-68
lines changed

hack/python-sdk/gen-sdk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SWAGGER_JAR_URL="https://repo1.maven.org/maven2/org/openapitools/openapi-generat
2424
SWAGGER_CODEGEN_JAR="${repo_root}/hack/python-sdk/openapi-generator-cli.jar"
2525
SWAGGER_CODEGEN_CONF="${repo_root}/hack/python-sdk/swagger_config.json"
2626
SDK_OUTPUT_PATH="${repo_root}/sdk/python"
27-
VERSION=1.5.0
27+
VERSION=1.7.0rc0
2828
SWAGGER_CODEGEN_FILE="${repo_root}/hack/python-sdk/swagger.json"
2929

3030
if [ -z "${GOPATH:-}" ]; then

hack/python-sdk/swagger.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"description": "Python SDK for Kubeflow Training",
55
"title": "Kubeflow Training SDK",
6-
"version": "v1.5.0"
6+
"version": "v1.7.0rc0"
77
},
88
"paths": {},
99
"definitions": {

hack/python-sdk/swagger_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packageName": "kubeflow.training",
33
"projectName": "training",
4-
"packageVersion": "1.5.0",
4+
"packageVersion": "1.7.0rc0",
55
"typeMappings": {
66
"V1Time": "datetime"
77
}

sdk/python/kubeflow/training/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
88
Python SDK for Kubeflow Training # noqa: E501
99
10-
The version of the OpenAPI document: v1.5.0
10+
The version of the OpenAPI document: v1.7.0rc0
1111
Generated by: https://openapi-generator.tech
1212
"""
1313

1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "1.5.0"
17+
__version__ = "1.7.0rc0"
1818

1919
# import apis into sdk package
2020

sdk/python/kubeflow/training/api_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Python SDK for Kubeflow Training # noqa: E501
66
7-
The version of the OpenAPI document: v1.5.0
7+
The version of the OpenAPI document: v1.7.0rc0
88
Generated by: https://openapi-generator.tech
99
"""
1010

@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
81+
self.user_agent = 'OpenAPI-Generator/1.7.0rc0/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

sdk/python/kubeflow/training/configuration.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

@@ -324,8 +324,8 @@ def to_debug_report(self):
324324
return "Python SDK Debug Report:\n"\
325325
"OS: {env}\n"\
326326
"Python Version: {pyversion}\n"\
327-
"Version of the API: v1.5.0\n"\
328-
"SDK Package Version: 1.5.0".\
327+
"Version of the API: v1.7.0rc0\n"\
328+
"SDK Package Version: 1.7.0rc0".\
329329
format(env=sys.platform, pyversion=sys.version)
330330

331331
def get_host_settings(self):

sdk/python/kubeflow/training/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Python SDK for Kubeflow Training # noqa: E501
88
9-
The version of the OpenAPI document: v1.5.0
9+
The version of the OpenAPI document: v1.7.0rc0
1010
Generated by: https://openapi-generator.tech
1111
"""
1212

sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_job_condition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_job_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_replica_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_replica_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_run_policy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_scheduling_policy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/kubeflow/training/rest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
setuptools.setup(
2929
name="kubeflow-training",
30-
version="1.5.0",
30+
version="1.7.0rc0",
3131
author="Kubeflow Authors",
3232
author_email="[email protected]",
3333
license="Apache License Version 2.0",

sdk/python/test/test_kubeflow_org_v1_elastic_policy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/test/test_kubeflow_org_v1_job_condition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/test/test_kubeflow_org_v1_job_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

sdk/python/test/test_kubeflow_org_v1_mpi_job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Python SDK for Kubeflow Training # noqa: E501
77
8-
The version of the OpenAPI document: v1.5.0
8+
The version of the OpenAPI document: v1.7.0rc0
99
Generated by: https://openapi-generator.tech
1010
"""
1111

0 commit comments

Comments
 (0)