Skip to content

Commit

Permalink
Update sdk to v1.7.0rc0 (#1882)
Browse files Browse the repository at this point in the history
* Removing dead code

* Update monitoring guide

* Update latest training operator image

* Update SDK version to v1.7.0rc0
  • Loading branch information
johnugeorge committed Aug 7, 2023
1 parent c143a99 commit 434cef7
Show file tree
Hide file tree
Showing 64 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion hack/python-sdk/gen-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SWAGGER_JAR_URL="https://repo1.maven.org/maven2/org/openapitools/openapi-generat
SWAGGER_CODEGEN_JAR="${repo_root}/hack/python-sdk/openapi-generator-cli.jar"
SWAGGER_CODEGEN_CONF="${repo_root}/hack/python-sdk/swagger_config.json"
SDK_OUTPUT_PATH="${repo_root}/sdk/python"
VERSION=1.5.0
VERSION=1.7.0rc0
SWAGGER_CODEGEN_FILE="${repo_root}/hack/python-sdk/swagger.json"

if [ -z "${GOPATH:-}" ]; then
Expand Down
2 changes: 1 addition & 1 deletion hack/python-sdk/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"description": "Python SDK for Kubeflow Training",
"title": "Kubeflow Training SDK",
"version": "v1.5.0"
"version": "v1.7.0rc0"
},
"paths": {},
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion hack/python-sdk/swagger_config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packageName": "kubeflow.training",
"projectName": "training",
"packageVersion": "1.5.0",
"packageVersion": "1.7.0rc0",
"typeMappings": {
"V1Time": "datetime"
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/kubeflow/training/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "1.5.0"
__version__ = "1.7.0rc0"

# import apis into sdk package

Expand Down
4 changes: 2 additions & 2 deletions sdk/python/kubeflow/training/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
self.user_agent = 'OpenAPI-Generator/1.7.0rc0/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions sdk/python/kubeflow/training/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

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

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

setuptools.setup(
name="kubeflow-training",
version="1.5.0",
version="1.7.0rc0",
author="Kubeflow Authors",
author_email="hejinchi@cn.ibm.com",
license="Apache License Version 2.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_elastic_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_job_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_job_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mpi_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Python SDK for Kubeflow Training # noqa: E501
The version of the OpenAPI document: v1.5.0
The version of the OpenAPI document: v1.7.0rc0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit 434cef7

Please sign in to comment.