From 3c022545a65331675409f6b6380ed44c8c7dc6f0 Mon Sep 17 00:00:00 2001 From: Johnu George Date: Thu, 26 Jan 2023 17:16:24 +0530 Subject: [PATCH 1/6] Update sdk to v1.6.0rc0 --- hack/python-sdk/gen-sdk.sh | 2 +- hack/python-sdk/swagger.json | 2 +- sdk/python/kubeflow/training/__init__.py | 2 +- sdk/python/kubeflow/training/api_client.py | 2 +- sdk/python/kubeflow/training/configuration.py | 4 ++-- sdk/python/kubeflow/training/exceptions.py | 2 +- sdk/python/kubeflow/training/models/__init__.py | 2 +- .../training/models/kubeflow_org_v1_elastic_policy.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mpi_job.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py | 2 +- sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mx_job_list.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py | 2 +- .../training/models/kubeflow_org_v1_paddle_elastic_policy.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_paddle_job.py | 2 +- .../training/models/kubeflow_org_v1_paddle_job_list.py | 2 +- .../training/models/kubeflow_org_v1_paddle_job_spec.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_py_torch_job.py | 2 +- .../training/models/kubeflow_org_v1_py_torch_job_list.py | 2 +- .../training/models/kubeflow_org_v1_py_torch_job_spec.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py | 2 +- sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_tf_job_list.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py | 2 +- .../training/models/kubeflow_org_v1_xg_boost_job_list.py | 2 +- .../training/models/kubeflow_org_v1_xg_boost_job_spec.py | 2 +- sdk/python/kubeflow/training/models/v1_job_condition.py | 2 +- sdk/python/kubeflow/training/models/v1_job_status.py | 2 +- sdk/python/kubeflow/training/models/v1_replica_spec.py | 2 +- sdk/python/kubeflow/training/models/v1_replica_status.py | 2 +- sdk/python/kubeflow/training/models/v1_run_policy.py | 2 +- sdk/python/kubeflow/training/models/v1_scheduling_policy.py | 2 +- sdk/python/kubeflow/training/rest.py | 2 +- sdk/python/setup.py | 2 +- sdk/python/test/test_kubeflow_org_v1_elastic_policy.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py | 2 +- sdk/python/test/test_v1_job_condition.py | 2 +- sdk/python/test/test_v1_job_status.py | 2 +- sdk/python/test/test_v1_replica_spec.py | 2 +- sdk/python/test/test_v1_replica_status.py | 2 +- sdk/python/test/test_v1_run_policy.py | 2 +- sdk/python/test/test_v1_scheduling_policy.py | 2 +- 63 files changed, 64 insertions(+), 64 deletions(-) diff --git a/hack/python-sdk/gen-sdk.sh b/hack/python-sdk/gen-sdk.sh index c276eec34c..137fe344dc 100755 --- a/hack/python-sdk/gen-sdk.sh +++ b/hack/python-sdk/gen-sdk.sh @@ -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.6.0rc0 SWAGGER_CODEGEN_FILE="${repo_root}/hack/python-sdk/swagger.json" if [ -z "${GOPATH:-}" ]; then diff --git a/hack/python-sdk/swagger.json b/hack/python-sdk/swagger.json index 7247abd6ba..f18173a765 100644 --- a/hack/python-sdk/swagger.json +++ b/hack/python-sdk/swagger.json @@ -3,7 +3,7 @@ "info": { "description": "Python SDK for Kubeflow Training", "title": "Kubeflow Training SDK", - "version": "v1.5.0" + "version": "v1.6.0rc0" }, "paths": {}, "definitions": { diff --git a/sdk/python/kubeflow/training/__init__.py b/sdk/python/kubeflow/training/__init__.py index 7c63e7037b..095a0c669e 100644 --- a/sdk/python/kubeflow/training/__init__.py +++ b/sdk/python/kubeflow/training/__init__.py @@ -7,7 +7,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.5.0 + The version of the OpenAPI document: v1.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/api_client.py b/sdk/python/kubeflow/training/api_client.py index 3dae913251..6de662042b 100644 --- a/sdk/python/kubeflow/training/api_client.py +++ b/sdk/python/kubeflow/training/api_client.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/configuration.py b/sdk/python/kubeflow/training/configuration.py index 62846b36ac..b3e5393259 100644 --- a/sdk/python/kubeflow/training/configuration.py +++ b/sdk/python/kubeflow/training/configuration.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ @@ -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.5.0\n"\ + "Version of the API: v1.6.0rc0\n"\ "SDK Package Version: 1.5.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/sdk/python/kubeflow/training/exceptions.py b/sdk/python/kubeflow/training/exceptions.py index 27411e7f5d..4315343874 100644 --- a/sdk/python/kubeflow/training/exceptions.py +++ b/sdk/python/kubeflow/training/exceptions.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/__init__.py b/sdk/python/kubeflow/training/models/__init__.py index 3ee2ac3152..3b7a620964 100644 --- a/sdk/python/kubeflow/training/models/__init__.py +++ b/sdk/python/kubeflow/training/models/__init__.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py index c6e3d9f6bd..48336f5c86 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py index 84847988f4..acfec6cfc9 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py index 3e1520ff54..bd4f756350 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py index 0f03b641d1..63411624e4 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py index 857b4bc455..0e25521cc9 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py index 94aee23d67..f970af455a 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py index ff65dbf678..226f67a5c5 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py index 0cf44a4039..d36718deda 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py index a2fc136d83..100017ada2 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py index 2ff528532b..bd07553f3b 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py index 55cef164a1..ee7c8da56d 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py index 667aeb2509..f00026e3ae 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py index 6e107ea432..76e62b8568 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py index 5be8220337..f1cff34e10 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py index 343516f2bd..78a38e4a97 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py index 038238c4f5..acd2bab5b1 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py index bde3f5d339..486c01439e 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py index 144a77d27a..071aedacff 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py index b258929021..2230174828 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py index 4ed85b0a10..634e876dce 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py index 6a5e2d5061..9102768454 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_job_condition.py b/sdk/python/kubeflow/training/models/v1_job_condition.py index 0ef6078f4e..2465e01b9d 100644 --- a/sdk/python/kubeflow/training/models/v1_job_condition.py +++ b/sdk/python/kubeflow/training/models/v1_job_condition.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_job_status.py b/sdk/python/kubeflow/training/models/v1_job_status.py index 37460d3140..96ad627273 100644 --- a/sdk/python/kubeflow/training/models/v1_job_status.py +++ b/sdk/python/kubeflow/training/models/v1_job_status.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_replica_spec.py b/sdk/python/kubeflow/training/models/v1_replica_spec.py index ef05c54caf..c2c1803be4 100644 --- a/sdk/python/kubeflow/training/models/v1_replica_spec.py +++ b/sdk/python/kubeflow/training/models/v1_replica_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_replica_status.py b/sdk/python/kubeflow/training/models/v1_replica_status.py index 3e2e7d9585..659ab423bc 100644 --- a/sdk/python/kubeflow/training/models/v1_replica_status.py +++ b/sdk/python/kubeflow/training/models/v1_replica_status.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_run_policy.py b/sdk/python/kubeflow/training/models/v1_run_policy.py index f064879671..cd5ec97284 100644 --- a/sdk/python/kubeflow/training/models/v1_run_policy.py +++ b/sdk/python/kubeflow/training/models/v1_run_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_scheduling_policy.py b/sdk/python/kubeflow/training/models/v1_scheduling_policy.py index 775b341204..c7d753a0e7 100644 --- a/sdk/python/kubeflow/training/models/v1_scheduling_policy.py +++ b/sdk/python/kubeflow/training/models/v1_scheduling_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/rest.py b/sdk/python/kubeflow/training/rest.py index 02a10306e1..07329eb384 100644 --- a/sdk/python/kubeflow/training/rest.py +++ b/sdk/python/kubeflow/training/rest.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/setup.py b/sdk/python/setup.py index c837d447db..96cdf74b86 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -27,7 +27,7 @@ setuptools.setup( name="kubeflow-training", - version="1.5.0", + version="1.6.0rc0", author="Kubeflow Authors", author_email="hejinchi@cn.ibm.com", license="Apache License Version 2.0", diff --git a/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py b/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py index 11eaab937f..02efc3226e 100644 --- a/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py +++ b/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job.py index 5bb33e150c..08a59c9cf7 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py index bcc1bad6b9..e335dc72b5 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py index fca79722e5..976088f91f 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job.py b/sdk/python/test/test_kubeflow_org_v1_mx_job.py index 2f54224baa..7ff0f01d39 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py b/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py index 831f2c1c35..2f9a2b9420 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py index 83cafecc76..3ecbfcedd8 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py b/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py index 2cf2c3c27a..ed34809bd7 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job.py index 1cd71a4372..d6268eb042 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py index 2de315603a..6adb14d11e 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py index 1e9ebc2e3e..3ea30d4b63 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py index e6fe89f4b1..3c9915d497 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py index c860de7ecb..7c2e8c5fe3 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py index 65de87eb14..96f060a6c9 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py b/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py index f7e2b4df2d..0063b76e27 100644 --- a/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py +++ b/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job.py b/sdk/python/test/test_kubeflow_org_v1_tf_job.py index ce1193272d..ff3035e013 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py b/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py index e513a728e3..68677b264f 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py index fc34a75a2f..d945247bc0 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py index f4a8234eb2..ba5a142b6e 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py index d2801fd4f2..3f8f415440 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py index dab6abe9ef..ca44655410 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_job_condition.py b/sdk/python/test/test_v1_job_condition.py index fc7a19b69e..7aa8067c5f 100644 --- a/sdk/python/test/test_v1_job_condition.py +++ b/sdk/python/test/test_v1_job_condition.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_job_status.py b/sdk/python/test/test_v1_job_status.py index 1306a33fa3..ee5a681ac1 100644 --- a/sdk/python/test/test_v1_job_status.py +++ b/sdk/python/test/test_v1_job_status.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_replica_spec.py b/sdk/python/test/test_v1_replica_spec.py index 28e85643aa..6b15df0435 100644 --- a/sdk/python/test/test_v1_replica_spec.py +++ b/sdk/python/test/test_v1_replica_spec.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_replica_status.py b/sdk/python/test/test_v1_replica_status.py index e1af62a909..ff302e0703 100644 --- a/sdk/python/test/test_v1_replica_status.py +++ b/sdk/python/test/test_v1_replica_status.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_run_policy.py b/sdk/python/test/test_v1_run_policy.py index ca99ac2334..5d3352d404 100644 --- a/sdk/python/test/test_v1_run_policy.py +++ b/sdk/python/test/test_v1_run_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_scheduling_policy.py b/sdk/python/test/test_v1_scheduling_policy.py index 5f5c515eba..b45d8edc76 100644 --- a/sdk/python/test/test_v1_scheduling_policy.py +++ b/sdk/python/test/test_v1_scheduling_policy.py @@ -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.6.0rc0 Generated by: https://openapi-generator.tech """ From 138e018c88f934565eec3f89c2a665e186d1e097 Mon Sep 17 00:00:00 2001 From: Johnu George Date: Thu, 26 Jan 2023 17:51:30 +0530 Subject: [PATCH 2/6] Update sdk to v1.6.0rc0 --- hack/python-sdk/swagger_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/python-sdk/swagger_config.json b/hack/python-sdk/swagger_config.json index 971dc88c97..2bc4fd741b 100644 --- a/hack/python-sdk/swagger_config.json +++ b/hack/python-sdk/swagger_config.json @@ -1,7 +1,7 @@ { "packageName": "kubeflow.training", "projectName": "training", - "packageVersion": "1.5.0", + "packageVersion": "1.6.0rc0", "typeMappings": { "V1Time": "datetime" } From af10d664cb086c8264df909c84c7c760abc1da68 Mon Sep 17 00:00:00 2001 From: Johnu George Date: Thu, 26 Jan 2023 17:59:25 +0530 Subject: [PATCH 3/6] Update sdk to v1.6.0rc0 --- sdk/python/kubeflow/training/__init__.py | 2 +- sdk/python/kubeflow/training/api_client.py | 2 +- sdk/python/kubeflow/training/configuration.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/python/kubeflow/training/__init__.py b/sdk/python/kubeflow/training/__init__.py index 095a0c669e..b87c6166f5 100644 --- a/sdk/python/kubeflow/training/__init__.py +++ b/sdk/python/kubeflow/training/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "1.5.0" +__version__ = "1.6.0rc0" # import apis into sdk package diff --git a/sdk/python/kubeflow/training/api_client.py b/sdk/python/kubeflow/training/api_client.py index 6de662042b..878d7f2c4f 100644 --- a/sdk/python/kubeflow/training/api_client.py +++ b/sdk/python/kubeflow/training/api_client.py @@ -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.6.0rc0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/sdk/python/kubeflow/training/configuration.py b/sdk/python/kubeflow/training/configuration.py index b3e5393259..b739365ed6 100644 --- a/sdk/python/kubeflow/training/configuration.py +++ b/sdk/python/kubeflow/training/configuration.py @@ -325,7 +325,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1.6.0rc0\n"\ - "SDK Package Version: 1.5.0".\ + "SDK Package Version: 1.6.0rc0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): From d328b9aa89c7b85b142843cbcbc69d29a9cfb754 Mon Sep 17 00:00:00 2001 From: Johnu George Date: Tue, 14 Feb 2023 00:43:44 +0530 Subject: [PATCH 4/6] Update to latest Image --- manifests/overlays/kubeflow/kustomization.yaml | 2 +- manifests/overlays/standalone/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/overlays/kubeflow/kustomization.yaml b/manifests/overlays/kubeflow/kustomization.yaml index 50bfeb4e81..0d1d1249e3 100644 --- a/manifests/overlays/kubeflow/kustomization.yaml +++ b/manifests/overlays/kubeflow/kustomization.yaml @@ -6,4 +6,4 @@ resources: - kubeflow-training-roles.yaml images: - name: kubeflow/training-operator - newTag: "v1-d0fb5c0" + newTag: "v1-5a5f92d" diff --git a/manifests/overlays/standalone/kustomization.yaml b/manifests/overlays/standalone/kustomization.yaml index a7a8bd5c80..c028e578b7 100644 --- a/manifests/overlays/standalone/kustomization.yaml +++ b/manifests/overlays/standalone/kustomization.yaml @@ -6,4 +6,4 @@ resources: - namespace.yaml images: - name: kubeflow/training-operator - newTag: "v1-d0fb5c0" + newTag: "v1-5a5f92d" From d36cd857211bece40cc1bb6718ec7c0f1c98efb8 Mon Sep 17 00:00:00 2001 From: Hongzhi Chen Date: Fri, 17 Feb 2023 02:40:07 +0800 Subject: [PATCH 5/6] =?UTF-8?q?[Bugfix][SDK]=20pod=20has=20no=20metadata?= =?UTF-8?q?=20attr=20anymore=20in=20the=20get=5Fjob=5Flogs()=20=E2=80=A6?= =?UTF-8?q?=20(#1760)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/python/kubeflow/training/api/training_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/kubeflow/training/api/training_client.py b/sdk/python/kubeflow/training/api/training_client.py index c51c0ef5ad..1b78f28749 100644 --- a/sdk/python/kubeflow/training/api/training_client.py +++ b/sdk/python/kubeflow/training/api/training_client.py @@ -577,7 +577,7 @@ def get_job_logs( logging.info("The logs of pod %s:\n %s", pod, pod_logs) except Exception: raise RuntimeError( - f"Failed to read logs for pod {namespace}/{pod.metadata.name}" + f"Failed to read logs for pod {namespace}/{pod}" ) # ------------------------------------------------------------------------ # From bd353b1c44863138958771e781ec02dee3b40309 Mon Sep 17 00:00:00 2001 From: Johnu George Date: Tue, 21 Mar 2023 21:25:29 +0530 Subject: [PATCH 6/6] Update sdk version in files to 1.6.0 --- hack/python-sdk/gen-sdk.sh | 2 +- hack/python-sdk/swagger.json | 2 +- hack/python-sdk/swagger_config.json | 2 +- sdk/python/kubeflow/training/__init__.py | 4 ++-- sdk/python/kubeflow/training/api_client.py | 4 ++-- sdk/python/kubeflow/training/configuration.py | 6 +++--- sdk/python/kubeflow/training/exceptions.py | 2 +- sdk/python/kubeflow/training/models/__init__.py | 2 +- .../training/models/kubeflow_org_v1_elastic_policy.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mpi_job.py | 2 +- .../training/models/kubeflow_org_v1_mpi_job_list.py | 2 +- .../training/models/kubeflow_org_v1_mpi_job_spec.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mx_job.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mx_job_list.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py | 2 +- .../models/kubeflow_org_v1_paddle_elastic_policy.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_paddle_job.py | 2 +- .../training/models/kubeflow_org_v1_paddle_job_list.py | 2 +- .../training/models/kubeflow_org_v1_paddle_job_spec.py | 2 +- .../training/models/kubeflow_org_v1_py_torch_job.py | 2 +- .../training/models/kubeflow_org_v1_py_torch_job_list.py | 2 +- .../training/models/kubeflow_org_v1_py_torch_job_spec.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_tf_job.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_tf_job_list.py | 2 +- .../kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py | 2 +- .../training/models/kubeflow_org_v1_xg_boost_job.py | 2 +- .../training/models/kubeflow_org_v1_xg_boost_job_list.py | 2 +- .../training/models/kubeflow_org_v1_xg_boost_job_spec.py | 2 +- sdk/python/kubeflow/training/models/v1_job_condition.py | 2 +- sdk/python/kubeflow/training/models/v1_job_status.py | 2 +- sdk/python/kubeflow/training/models/v1_replica_spec.py | 2 +- sdk/python/kubeflow/training/models/v1_replica_status.py | 2 +- sdk/python/kubeflow/training/models/v1_run_policy.py | 2 +- sdk/python/kubeflow/training/models/v1_scheduling_policy.py | 2 +- sdk/python/kubeflow/training/rest.py | 2 +- sdk/python/setup.py | 2 +- sdk/python/test/test_kubeflow_org_v1_elastic_policy.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py | 2 +- .../test/test_kubeflow_org_v1_paddle_elastic_policy.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py | 2 +- sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py | 2 +- sdk/python/test/test_v1_job_condition.py | 2 +- sdk/python/test/test_v1_job_status.py | 2 +- sdk/python/test/test_v1_replica_spec.py | 2 +- sdk/python/test/test_v1_replica_status.py | 2 +- sdk/python/test/test_v1_run_policy.py | 2 +- sdk/python/test/test_v1_scheduling_policy.py | 2 +- 64 files changed, 68 insertions(+), 68 deletions(-) diff --git a/hack/python-sdk/gen-sdk.sh b/hack/python-sdk/gen-sdk.sh index 137fe344dc..042d4d4a7b 100755 --- a/hack/python-sdk/gen-sdk.sh +++ b/hack/python-sdk/gen-sdk.sh @@ -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.6.0rc0 +VERSION=1.6.0 SWAGGER_CODEGEN_FILE="${repo_root}/hack/python-sdk/swagger.json" if [ -z "${GOPATH:-}" ]; then diff --git a/hack/python-sdk/swagger.json b/hack/python-sdk/swagger.json index f18173a765..a6737bc7d0 100644 --- a/hack/python-sdk/swagger.json +++ b/hack/python-sdk/swagger.json @@ -3,7 +3,7 @@ "info": { "description": "Python SDK for Kubeflow Training", "title": "Kubeflow Training SDK", - "version": "v1.6.0rc0" + "version": "v1.6.0" }, "paths": {}, "definitions": { diff --git a/hack/python-sdk/swagger_config.json b/hack/python-sdk/swagger_config.json index 2bc4fd741b..08688765d7 100644 --- a/hack/python-sdk/swagger_config.json +++ b/hack/python-sdk/swagger_config.json @@ -1,7 +1,7 @@ { "packageName": "kubeflow.training", "projectName": "training", - "packageVersion": "1.6.0rc0", + "packageVersion": "1.6.0", "typeMappings": { "V1Time": "datetime" } diff --git a/sdk/python/kubeflow/training/__init__.py b/sdk/python/kubeflow/training/__init__.py index b87c6166f5..ee16748808 100644 --- a/sdk/python/kubeflow/training/__init__.py +++ b/sdk/python/kubeflow/training/__init__.py @@ -7,14 +7,14 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "1.6.0rc0" +__version__ = "1.6.0" # import apis into sdk package diff --git a/sdk/python/kubeflow/training/api_client.py b/sdk/python/kubeflow/training/api_client.py index 878d7f2c4f..97f9885334 100644 --- a/sdk/python/kubeflow/training/api_client.py +++ b/sdk/python/kubeflow/training/api_client.py @@ -4,7 +4,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ @@ -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.6.0rc0/python' + self.user_agent = 'OpenAPI-Generator/1.6.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/sdk/python/kubeflow/training/configuration.py b/sdk/python/kubeflow/training/configuration.py index b739365ed6..924eea2448 100644 --- a/sdk/python/kubeflow/training/configuration.py +++ b/sdk/python/kubeflow/training/configuration.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ @@ -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.6.0rc0\n"\ - "SDK Package Version: 1.6.0rc0".\ + "Version of the API: v1.6.0\n"\ + "SDK Package Version: 1.6.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/sdk/python/kubeflow/training/exceptions.py b/sdk/python/kubeflow/training/exceptions.py index 4315343874..85e48d7b86 100644 --- a/sdk/python/kubeflow/training/exceptions.py +++ b/sdk/python/kubeflow/training/exceptions.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/__init__.py b/sdk/python/kubeflow/training/models/__init__.py index 3b7a620964..cf4849e880 100644 --- a/sdk/python/kubeflow/training/models/__init__.py +++ b/sdk/python/kubeflow/training/models/__init__.py @@ -6,7 +6,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py index 48336f5c86..cac8da7156 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_elastic_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py index acfec6cfc9..2fe4ec5d24 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py index bd4f756350..609beea080 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py index 63411624e4..e7dca41802 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mpi_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py index 0e25521cc9..a5cf7a1f9a 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py index f970af455a..ef95fcd264 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py index 226f67a5c5..8ce964dbc8 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_mx_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py index d36718deda..eacc5c3d79 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_elastic_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py index 100017ada2..4cf8bb6178 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py index bd07553f3b..88e5d3ba20 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py index ee7c8da56d..077b744b4e 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_paddle_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py index f00026e3ae..beb809038c 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py index 76e62b8568..8071331d8f 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py index f1cff34e10..7fb099d5b6 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_py_torch_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py index 78a38e4a97..97d209f2bd 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_rdzv_conf.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py index acd2bab5b1..93633735ed 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py index 486c01439e..06995d96c4 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py index 071aedacff..98bb1d8415 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_tf_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py index 2230174828..645b429e07 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py index 634e876dce..b55c92383f 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py index 9102768454..a37999130f 100644 --- a/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py +++ b/sdk/python/kubeflow/training/models/kubeflow_org_v1_xg_boost_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_job_condition.py b/sdk/python/kubeflow/training/models/v1_job_condition.py index 2465e01b9d..3a27c9df03 100644 --- a/sdk/python/kubeflow/training/models/v1_job_condition.py +++ b/sdk/python/kubeflow/training/models/v1_job_condition.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_job_status.py b/sdk/python/kubeflow/training/models/v1_job_status.py index 96ad627273..50576d2667 100644 --- a/sdk/python/kubeflow/training/models/v1_job_status.py +++ b/sdk/python/kubeflow/training/models/v1_job_status.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_replica_spec.py b/sdk/python/kubeflow/training/models/v1_replica_spec.py index c2c1803be4..eb81138130 100644 --- a/sdk/python/kubeflow/training/models/v1_replica_spec.py +++ b/sdk/python/kubeflow/training/models/v1_replica_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_replica_status.py b/sdk/python/kubeflow/training/models/v1_replica_status.py index 659ab423bc..b51cbf807e 100644 --- a/sdk/python/kubeflow/training/models/v1_replica_status.py +++ b/sdk/python/kubeflow/training/models/v1_replica_status.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_run_policy.py b/sdk/python/kubeflow/training/models/v1_run_policy.py index cd5ec97284..0392c989d9 100644 --- a/sdk/python/kubeflow/training/models/v1_run_policy.py +++ b/sdk/python/kubeflow/training/models/v1_run_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/models/v1_scheduling_policy.py b/sdk/python/kubeflow/training/models/v1_scheduling_policy.py index c7d753a0e7..f98f0f676a 100644 --- a/sdk/python/kubeflow/training/models/v1_scheduling_policy.py +++ b/sdk/python/kubeflow/training/models/v1_scheduling_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/kubeflow/training/rest.py b/sdk/python/kubeflow/training/rest.py index 07329eb384..87749a1140 100644 --- a/sdk/python/kubeflow/training/rest.py +++ b/sdk/python/kubeflow/training/rest.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 96cdf74b86..f2dc1aa324 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -27,7 +27,7 @@ setuptools.setup( name="kubeflow-training", - version="1.6.0rc0", + version="1.6.0", author="Kubeflow Authors", author_email="hejinchi@cn.ibm.com", license="Apache License Version 2.0", diff --git a/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py b/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py index 02efc3226e..59aeee3ad5 100644 --- a/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py +++ b/sdk/python/test/test_kubeflow_org_v1_elastic_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job.py index 08a59c9cf7..9de72ff030 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py index e335dc72b5..8de92d0e62 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py index 976088f91f..b21480c154 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_mpi_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job.py b/sdk/python/test/test_kubeflow_org_v1_mx_job.py index 7ff0f01d39..cddc52e2c1 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py b/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py index 2f9a2b9420..9660e52d28 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py index 3ecbfcedd8..e818cee004 100644 --- a/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_mx_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py b/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py index ed34809bd7..3d7351cb1a 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_elastic_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job.py index d6268eb042..9cfd449209 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py index 6adb14d11e..deea3f266c 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py index 3ea30d4b63..c9e4991a82 100644 --- a/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_paddle_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py index 3c9915d497..00ae3c8c2b 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py index 7c2e8c5fe3..38a66b0879 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py index 96f060a6c9..244060c787 100644 --- a/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_py_torch_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py b/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py index 0063b76e27..19cf62ef72 100644 --- a/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py +++ b/sdk/python/test/test_kubeflow_org_v1_rdzv_conf.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job.py b/sdk/python/test/test_kubeflow_org_v1_tf_job.py index ff3035e013..60c4234d5d 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py b/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py index 68677b264f..3ea761ecd5 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py index d945247bc0..dd26db9756 100644 --- a/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_tf_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py index ba5a142b6e..3bf3ae34f8 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py index 3f8f415440..826f01bca5 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_list.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py index ca44655410..6076fd9382 100644 --- a/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py +++ b/sdk/python/test/test_kubeflow_org_v1_xg_boost_job_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_job_condition.py b/sdk/python/test/test_v1_job_condition.py index 7aa8067c5f..99a77488b4 100644 --- a/sdk/python/test/test_v1_job_condition.py +++ b/sdk/python/test/test_v1_job_condition.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_job_status.py b/sdk/python/test/test_v1_job_status.py index ee5a681ac1..71d5bed2ae 100644 --- a/sdk/python/test/test_v1_job_status.py +++ b/sdk/python/test/test_v1_job_status.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_replica_spec.py b/sdk/python/test/test_v1_replica_spec.py index 6b15df0435..c7343af471 100644 --- a/sdk/python/test/test_v1_replica_spec.py +++ b/sdk/python/test/test_v1_replica_spec.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_replica_status.py b/sdk/python/test/test_v1_replica_status.py index ff302e0703..0e53335209 100644 --- a/sdk/python/test/test_v1_replica_status.py +++ b/sdk/python/test/test_v1_replica_status.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_run_policy.py b/sdk/python/test/test_v1_run_policy.py index 5d3352d404..5803e8c95b 100644 --- a/sdk/python/test/test_v1_run_policy.py +++ b/sdk/python/test/test_v1_run_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """ diff --git a/sdk/python/test/test_v1_scheduling_policy.py b/sdk/python/test/test_v1_scheduling_policy.py index b45d8edc76..22ca4a26ea 100644 --- a/sdk/python/test/test_v1_scheduling_policy.py +++ b/sdk/python/test/test_v1_scheduling_policy.py @@ -5,7 +5,7 @@ Python SDK for Kubeflow Training # noqa: E501 - The version of the OpenAPI document: v1.6.0rc0 + The version of the OpenAPI document: v1.6.0 Generated by: https://openapi-generator.tech """