Skip to content

Commit

Permalink
Release Training SDK 1.8.0 (#2166)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Velichkevich <[email protected]>
  • Loading branch information
andreyvelich committed Jul 15, 2024
1 parent d0f0413 commit 9e52eb7
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.8.0rc1
VERSION=1.8.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.8.0rc1"
"version": "v1.8.0"
},
"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.8.0rc1",
"packageVersion": "1.8.0",
"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.8.0rc1
The version of the OpenAPI document: v1.8.0
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "1.8.0rc1"
__version__ = "1.8.0"

# 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.8.0rc1
The version of the OpenAPI document: v1.8.0
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.8.0rc1/python'
self.user_agent = 'OpenAPI-Generator/1.8.0/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.8.0rc1
The version of the OpenAPI document: v1.8.0
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.8.0rc1\n"\
"SDK Package Version: 1.8.0rc1".\
"Version of the API: v1.8.0\n"\
"SDK Package Version: 1.8.0".\
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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.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 @@ -33,7 +33,7 @@

setuptools.setup(
name="kubeflow-training",
version="1.8.0rc1",
version="1.8.0",
author="Kubeflow Authors",
author_email="[email protected]",
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.8.0rc1
The version of the OpenAPI document: v1.8.0
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.8.0rc1
The version of the OpenAPI document: v1.8.0
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.8.0rc1
The version of the OpenAPI document: v1.8.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.8.0rc1
The version of the OpenAPI document: v1.8.0
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading

0 comments on commit 9e52eb7

Please sign in to comment.