Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SDK version to 1.5.0 #1624

Merged
merged 15 commits into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.4.0
VERSION=1.5.0
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.4.0"
"version": "v1.5.0"
},
"paths": {},
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Python SDK for Kubeflow Training # noqa: E501

The version of the OpenAPI document: v1.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion 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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
4 changes: 2 additions & 2 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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

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

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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/v1_replica_spec.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/v1_replica_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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kubeflow/training/models/v1_run_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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
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 @@ -25,7 +25,7 @@

setuptools.setup(
name='kubeflow-training',
version='1.4.0',
version='1.5.0',
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.4.0
The version of the OpenAPI document: v1.5.0
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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mpi_job_list.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mx_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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mx_job_list.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_mx_job_spec.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_py_torch_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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/test_kubeflow_org_v1_rdzv_conf.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.4.0
The version of the OpenAPI document: v1.5.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading