kfp-server-api 2.16.1__tar.gz → 2.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/PKG-INFO +1 -1
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/README.md +12 -3
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/__init__.py +9 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/__init__.py +1 -0
- kfp_server_api-2.17.0/kfp_server_api/api/dummy_filter_service_api.py +148 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/pipeline_service_api.py +285 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/pipeline_upload_service_api.py +16 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api_client.py +1 -1
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/configuration.py +2 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/__init__.py +7 -1
- kfp_server_api-2.16.1/kfp_server_api/models/googlerpc_status.py → kfp_server_api-2.17.0/kfp_server_api/models/google_rpc_status.py +16 -16
- kfp_server_api-2.17.0/kfp_server_api/models/inline_object.py +288 -0
- kfp_server_api-2.17.0/kfp_server_api/models/inline_object1.py +342 -0
- kfp_server_api-2.17.0/kfp_server_api/models/metadata_value_render_type.py +100 -0
- kfp_server_api-2.17.0/kfp_server_api/models/v2beta1_metadata_value.py +146 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_pipeline.py +33 -5
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_pipeline_task_detail.py +3 -3
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_pipeline_version.py +33 -5
- kfp_server_api-2.17.0/kfp_server_api/models/v2beta1_plugin_output.py +172 -0
- kfp_server_api-2.17.0/kfp_server_api/models/v2beta1_plugin_state.py +102 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_recurring_run.py +34 -6
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_run.py +62 -6
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_runtime_status.py +3 -3
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api.egg-info/PKG-INFO +1 -1
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api.egg-info/SOURCES.txt +15 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/setup.py +1 -1
- kfp_server_api-2.17.0/test/test_dummy_filter_service_api.py +39 -0
- kfp_server_api-2.16.1/test/test_googlerpc_status.py → kfp_server_api-2.17.0/test/test_google_rpc_status.py +9 -9
- kfp_server_api-2.17.0/test/test_inline_object.py +67 -0
- kfp_server_api-2.17.0/test/test_inline_object1.py +70 -0
- kfp_server_api-2.17.0/test/test_metadata_value_render_type.py +51 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_pipeline_service_api.py +14 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_create_pipeline_and_version_request.py +10 -4
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_list_pipeline_versions_response.py +5 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_list_pipelines_response.py +5 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_list_recurring_runs_response.py +5 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_list_runs_response.py +14 -2
- kfp_server_api-2.17.0/test/test_v2beta1_metadata_value.py +53 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_pipeline.py +5 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_pipeline_task_detail.py +2 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_pipeline_version.py +5 -2
- kfp_server_api-2.17.0/test/test_v2beta1_plugin_state.py +51 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_recurring_run.py +5 -2
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_run.py +17 -4
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_run_details.py +1 -1
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_runtime_status.py +1 -1
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/LICENSE +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/auth_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/experiment_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/healthz_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/recurring_run_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/report_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/run_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/visualization_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/exceptions.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/authorize_request_resources.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/authorize_request_verb.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/pipeline_task_detail_child_task.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/predicate_int_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/predicate_long_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/predicate_string_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/protobuf_any.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/protobuf_null_value.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/recurring_run_mode.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_artifact_list.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_create_pipeline_and_version_request.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_cron_schedule.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_delete_propagation_policy.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_experiment.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_experiment_storage_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_filter.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_get_healthz_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_list_experiments_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_list_pipeline_versions_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_list_pipelines_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_list_recurring_runs_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_list_runs_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_periodic_schedule.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_pipeline_version_reference.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_predicate.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_predicate_operation.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_recurring_run_status.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_run_details.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_run_storage_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_runtime_config.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_runtime_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_trigger.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_url.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_visualization.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/models/v2beta1_visualization_type.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/rest.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api.egg-info/dependency_links.txt +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api.egg-info/requires.txt +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api.egg-info/top_level.txt +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/setup.cfg +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_auth_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_authorize_request_resources.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_authorize_request_verb.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_experiment_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_healthz_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_pipeline_task_detail_child_task.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_pipeline_upload_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_predicate_int_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_predicate_long_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_predicate_string_values.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_protobuf_any.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_protobuf_null_value.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_recurring_run_mode.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_recurring_run_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_report_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_run_service_api.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_artifact_list.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_cron_schedule.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_delete_propagation_policy.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_experiment.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_experiment_storage_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_filter.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_get_healthz_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_list_experiments_response.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_periodic_schedule.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_pipeline_version_reference.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_predicate.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_predicate_operation.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_recurring_run_status.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_run_storage_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_runtime_config.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_runtime_state.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_trigger.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_url.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_visualization.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_v2beta1_visualization_type.py +0 -0
- {kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/test/test_visualization_service_api.py +0 -0
|
@@ -3,8 +3,8 @@ This file contains REST API specification for Kubeflow Pipelines. The file is au
|
|
|
3
3
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
|
-
- API version: 2.
|
|
7
|
-
- Package version: 2.
|
|
6
|
+
- API version: 2.17.0
|
|
7
|
+
- Package version: 2.17.0
|
|
8
8
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
9
9
|
For more information, please visit [https://www.google.com](https://www.google.com)
|
|
10
10
|
|
|
@@ -98,6 +98,7 @@ All URIs are relative to *http://localhost*
|
|
|
98
98
|
Class | Method | HTTP request | Description
|
|
99
99
|
------------ | ------------- | ------------- | -------------
|
|
100
100
|
*AuthServiceApi* | [**auth_service_authorize**](docs/AuthServiceApi.md#auth_service_authorize) | **GET** /apis/v2beta1/auth |
|
|
101
|
+
*DummyFilterServiceApi* | [**dummy_filter_service_get_filter**](docs/DummyFilterServiceApi.md#dummy_filter_service_get_filter) | **GET** /apis/v2beta1/filters |
|
|
101
102
|
*ExperimentServiceApi* | [**experiment_service_archive_experiment**](docs/ExperimentServiceApi.md#experiment_service_archive_experiment) | **POST** /apis/v2beta1/experiments/{experiment_id}:archive | Archives an experiment and the experiment's runs and recurring runs.
|
|
102
103
|
*ExperimentServiceApi* | [**experiment_service_create_experiment**](docs/ExperimentServiceApi.md#experiment_service_create_experiment) | **POST** /apis/v2beta1/experiments | Creates a new experiment.
|
|
103
104
|
*ExperimentServiceApi* | [**experiment_service_delete_experiment**](docs/ExperimentServiceApi.md#experiment_service_delete_experiment) | **DELETE** /apis/v2beta1/experiments/{experiment_id} | Deletes an experiment without deleting the experiment's runs and recurring runs. To avoid unexpected behaviors, delete an experiment's runs and recurring runs before deleting the experiment.
|
|
@@ -115,6 +116,8 @@ Class | Method | HTTP request | Description
|
|
|
115
116
|
*PipelineServiceApi* | [**pipeline_service_get_pipeline_version**](docs/PipelineServiceApi.md#pipeline_service_get_pipeline_version) | **GET** /apis/v2beta1/pipelines/{pipeline_id}/versions/{pipeline_version_id} | Gets a pipeline version by pipeline version ID and pipeline ID.
|
|
116
117
|
*PipelineServiceApi* | [**pipeline_service_list_pipeline_versions**](docs/PipelineServiceApi.md#pipeline_service_list_pipeline_versions) | **GET** /apis/v2beta1/pipelines/{pipeline_id}/versions | Lists all pipeline versions of a given pipeline ID.
|
|
117
118
|
*PipelineServiceApi* | [**pipeline_service_list_pipelines**](docs/PipelineServiceApi.md#pipeline_service_list_pipelines) | **GET** /apis/v2beta1/pipelines | Finds all pipelines within a namespace.
|
|
119
|
+
*PipelineServiceApi* | [**pipeline_service_update_pipeline**](docs/PipelineServiceApi.md#pipeline_service_update_pipeline) | **PATCH** /apis/v2beta1/pipelines/{pipeline.pipeline_id} | Updates a pipeline's mutable fields (display_name, tags).
|
|
120
|
+
*PipelineServiceApi* | [**pipeline_service_update_pipeline_version**](docs/PipelineServiceApi.md#pipeline_service_update_pipeline_version) | **PATCH** /apis/v2beta1/pipelines/{pipeline_version.pipeline_id}/versions/{pipeline_version.pipeline_version_id} | Updates a pipeline version's mutable fields (display_name, tags).
|
|
118
121
|
*PipelineUploadServiceApi* | [**upload_pipeline**](docs/PipelineUploadServiceApi.md#upload_pipeline) | **POST** /apis/v2beta1/pipelines/upload |
|
|
119
122
|
*PipelineUploadServiceApi* | [**upload_pipeline_version**](docs/PipelineUploadServiceApi.md#upload_pipeline_version) | **POST** /apis/v2beta1/pipelines/upload_version |
|
|
120
123
|
*RecurringRunServiceApi* | [**recurring_run_service_create_recurring_run**](docs/RecurringRunServiceApi.md#recurring_run_service_create_recurring_run) | **POST** /apis/v2beta1/recurringruns | Creates a new recurring run in an experiment, given the experiment ID.
|
|
@@ -140,7 +143,10 @@ Class | Method | HTTP request | Description
|
|
|
140
143
|
|
|
141
144
|
- [AuthorizeRequestResources](docs/AuthorizeRequestResources.md)
|
|
142
145
|
- [AuthorizeRequestVerb](docs/AuthorizeRequestVerb.md)
|
|
143
|
-
- [
|
|
146
|
+
- [GoogleRpcStatus](docs/GoogleRpcStatus.md)
|
|
147
|
+
- [InlineObject](docs/InlineObject.md)
|
|
148
|
+
- [InlineObject1](docs/InlineObject1.md)
|
|
149
|
+
- [MetadataValueRenderType](docs/MetadataValueRenderType.md)
|
|
144
150
|
- [PipelineTaskDetailChildTask](docs/PipelineTaskDetailChildTask.md)
|
|
145
151
|
- [PredicateIntValues](docs/PredicateIntValues.md)
|
|
146
152
|
- [PredicateLongValues](docs/PredicateLongValues.md)
|
|
@@ -161,12 +167,15 @@ Class | Method | HTTP request | Description
|
|
|
161
167
|
- [V2beta1ListPipelinesResponse](docs/V2beta1ListPipelinesResponse.md)
|
|
162
168
|
- [V2beta1ListRecurringRunsResponse](docs/V2beta1ListRecurringRunsResponse.md)
|
|
163
169
|
- [V2beta1ListRunsResponse](docs/V2beta1ListRunsResponse.md)
|
|
170
|
+
- [V2beta1MetadataValue](docs/V2beta1MetadataValue.md)
|
|
164
171
|
- [V2beta1PeriodicSchedule](docs/V2beta1PeriodicSchedule.md)
|
|
165
172
|
- [V2beta1Pipeline](docs/V2beta1Pipeline.md)
|
|
166
173
|
- [V2beta1PipelineTaskDetail](docs/V2beta1PipelineTaskDetail.md)
|
|
167
174
|
- [V2beta1PipelineTaskExecutorDetail](docs/V2beta1PipelineTaskExecutorDetail.md)
|
|
168
175
|
- [V2beta1PipelineVersion](docs/V2beta1PipelineVersion.md)
|
|
169
176
|
- [V2beta1PipelineVersionReference](docs/V2beta1PipelineVersionReference.md)
|
|
177
|
+
- [V2beta1PluginOutput](docs/V2beta1PluginOutput.md)
|
|
178
|
+
- [V2beta1PluginState](docs/V2beta1PluginState.md)
|
|
170
179
|
- [V2beta1Predicate](docs/V2beta1Predicate.md)
|
|
171
180
|
- [V2beta1PredicateOperation](docs/V2beta1PredicateOperation.md)
|
|
172
181
|
- [V2beta1RecurringRun](docs/V2beta1RecurringRun.md)
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
|
-
__version__ = "2.
|
|
17
|
+
__version__ = "2.17.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from kfp_server_api.api.auth_service_api import AuthServiceApi
|
|
21
|
+
from kfp_server_api.api.dummy_filter_service_api import DummyFilterServiceApi
|
|
21
22
|
from kfp_server_api.api.experiment_service_api import ExperimentServiceApi
|
|
22
23
|
from kfp_server_api.api.healthz_service_api import HealthzServiceApi
|
|
23
24
|
from kfp_server_api.api.pipeline_service_api import PipelineServiceApi
|
|
@@ -38,7 +39,10 @@ from kfp_server_api.exceptions import ApiException
|
|
|
38
39
|
# import models into sdk package
|
|
39
40
|
from kfp_server_api.models.authorize_request_resources import AuthorizeRequestResources
|
|
40
41
|
from kfp_server_api.models.authorize_request_verb import AuthorizeRequestVerb
|
|
41
|
-
from kfp_server_api.models.
|
|
42
|
+
from kfp_server_api.models.google_rpc_status import GoogleRpcStatus
|
|
43
|
+
from kfp_server_api.models.inline_object import InlineObject
|
|
44
|
+
from kfp_server_api.models.inline_object1 import InlineObject1
|
|
45
|
+
from kfp_server_api.models.metadata_value_render_type import MetadataValueRenderType
|
|
42
46
|
from kfp_server_api.models.pipeline_task_detail_child_task import PipelineTaskDetailChildTask
|
|
43
47
|
from kfp_server_api.models.predicate_int_values import PredicateIntValues
|
|
44
48
|
from kfp_server_api.models.predicate_long_values import PredicateLongValues
|
|
@@ -59,12 +63,15 @@ from kfp_server_api.models.v2beta1_list_pipeline_versions_response import V2beta
|
|
|
59
63
|
from kfp_server_api.models.v2beta1_list_pipelines_response import V2beta1ListPipelinesResponse
|
|
60
64
|
from kfp_server_api.models.v2beta1_list_recurring_runs_response import V2beta1ListRecurringRunsResponse
|
|
61
65
|
from kfp_server_api.models.v2beta1_list_runs_response import V2beta1ListRunsResponse
|
|
66
|
+
from kfp_server_api.models.v2beta1_metadata_value import V2beta1MetadataValue
|
|
62
67
|
from kfp_server_api.models.v2beta1_periodic_schedule import V2beta1PeriodicSchedule
|
|
63
68
|
from kfp_server_api.models.v2beta1_pipeline import V2beta1Pipeline
|
|
64
69
|
from kfp_server_api.models.v2beta1_pipeline_task_detail import V2beta1PipelineTaskDetail
|
|
65
70
|
from kfp_server_api.models.v2beta1_pipeline_task_executor_detail import V2beta1PipelineTaskExecutorDetail
|
|
66
71
|
from kfp_server_api.models.v2beta1_pipeline_version import V2beta1PipelineVersion
|
|
67
72
|
from kfp_server_api.models.v2beta1_pipeline_version_reference import V2beta1PipelineVersionReference
|
|
73
|
+
from kfp_server_api.models.v2beta1_plugin_output import V2beta1PluginOutput
|
|
74
|
+
from kfp_server_api.models.v2beta1_plugin_state import V2beta1PluginState
|
|
68
75
|
from kfp_server_api.models.v2beta1_predicate import V2beta1Predicate
|
|
69
76
|
from kfp_server_api.models.v2beta1_predicate_operation import V2beta1PredicateOperation
|
|
70
77
|
from kfp_server_api.models.v2beta1_recurring_run import V2beta1RecurringRun
|
|
@@ -4,6 +4,7 @@ from __future__ import absolute_import
|
|
|
4
4
|
|
|
5
5
|
# import apis into api package
|
|
6
6
|
from kfp_server_api.api.auth_service_api import AuthServiceApi
|
|
7
|
+
from kfp_server_api.api.dummy_filter_service_api import DummyFilterServiceApi
|
|
7
8
|
from kfp_server_api.api.experiment_service_api import ExperimentServiceApi
|
|
8
9
|
from kfp_server_api.api.healthz_service_api import HealthzServiceApi
|
|
9
10
|
from kfp_server_api.api.pipeline_service_api import PipelineServiceApi
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Kubeflow Pipelines API
|
|
5
|
+
|
|
6
|
+
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
|
|
7
|
+
|
|
8
|
+
Contact: kubeflow-pipelines@google.com
|
|
9
|
+
Generated by: https://openapi-generator.tech
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from kfp_server_api.api_client import ApiClient
|
|
21
|
+
from kfp_server_api.exceptions import ( # noqa: F401
|
|
22
|
+
ApiTypeError,
|
|
23
|
+
ApiValueError
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class DummyFilterServiceApi(object):
|
|
28
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
29
|
+
Ref: https://openapi-generator.tech
|
|
30
|
+
|
|
31
|
+
Do not edit the class manually.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def __init__(self, api_client=None):
|
|
35
|
+
if api_client is None:
|
|
36
|
+
api_client = ApiClient()
|
|
37
|
+
self.api_client = api_client
|
|
38
|
+
|
|
39
|
+
def dummy_filter_service_get_filter(self, **kwargs): # noqa: E501
|
|
40
|
+
"""dummy_filter_service_get_filter # noqa: E501
|
|
41
|
+
|
|
42
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
43
|
+
asynchronous HTTP request, please pass async_req=True
|
|
44
|
+
|
|
45
|
+
>>> thread = api.dummy_filter_service_get_filter(async_req=True)
|
|
46
|
+
>>> result = thread.get()
|
|
47
|
+
|
|
48
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
49
|
+
:type async_req: bool, optional
|
|
50
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
51
|
+
be returned without reading/decoding response
|
|
52
|
+
data. Default is True.
|
|
53
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
54
|
+
number provided, it will be total request
|
|
55
|
+
timeout. It can also be a pair (tuple) of
|
|
56
|
+
(connection, read) timeouts.
|
|
57
|
+
:return: Returns the result object.
|
|
58
|
+
If the method is called asynchronously,
|
|
59
|
+
returns the request thread.
|
|
60
|
+
:rtype: V2beta1Filter
|
|
61
|
+
"""
|
|
62
|
+
kwargs['_return_http_data_only'] = True
|
|
63
|
+
return self.dummy_filter_service_get_filter_with_http_info(**kwargs) # noqa: E501
|
|
64
|
+
|
|
65
|
+
def dummy_filter_service_get_filter_with_http_info(self, **kwargs): # noqa: E501
|
|
66
|
+
"""dummy_filter_service_get_filter # noqa: E501
|
|
67
|
+
|
|
68
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
69
|
+
asynchronous HTTP request, please pass async_req=True
|
|
70
|
+
|
|
71
|
+
>>> thread = api.dummy_filter_service_get_filter_with_http_info(async_req=True)
|
|
72
|
+
>>> result = thread.get()
|
|
73
|
+
|
|
74
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
75
|
+
:type async_req: bool, optional
|
|
76
|
+
:param _return_http_data_only: response data without head status code
|
|
77
|
+
and headers
|
|
78
|
+
:type _return_http_data_only: bool, optional
|
|
79
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
80
|
+
be returned without reading/decoding response
|
|
81
|
+
data. Default is True.
|
|
82
|
+
:type _preload_content: bool, optional
|
|
83
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
84
|
+
number provided, it will be total request
|
|
85
|
+
timeout. It can also be a pair (tuple) of
|
|
86
|
+
(connection, read) timeouts.
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
If the method is called asynchronously,
|
|
89
|
+
returns the request thread.
|
|
90
|
+
:rtype: tuple(V2beta1Filter, status_code(int), headers(HTTPHeaderDict))
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
local_var_params = locals()
|
|
94
|
+
|
|
95
|
+
all_params = [
|
|
96
|
+
]
|
|
97
|
+
all_params.extend(
|
|
98
|
+
[
|
|
99
|
+
'async_req',
|
|
100
|
+
'_return_http_data_only',
|
|
101
|
+
'_preload_content',
|
|
102
|
+
'_request_timeout'
|
|
103
|
+
]
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
107
|
+
if key not in all_params:
|
|
108
|
+
raise ApiTypeError(
|
|
109
|
+
"Got an unexpected keyword argument '%s'"
|
|
110
|
+
" to method dummy_filter_service_get_filter" % key
|
|
111
|
+
)
|
|
112
|
+
local_var_params[key] = val
|
|
113
|
+
del local_var_params['kwargs']
|
|
114
|
+
|
|
115
|
+
collection_formats = {}
|
|
116
|
+
|
|
117
|
+
path_params = {}
|
|
118
|
+
|
|
119
|
+
query_params = []
|
|
120
|
+
|
|
121
|
+
header_params = {}
|
|
122
|
+
|
|
123
|
+
form_params = []
|
|
124
|
+
local_var_files = {}
|
|
125
|
+
|
|
126
|
+
body_params = None
|
|
127
|
+
# HTTP header `Accept`
|
|
128
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
129
|
+
['application/json']) # noqa: E501
|
|
130
|
+
|
|
131
|
+
# Authentication setting
|
|
132
|
+
auth_settings = ['Bearer'] # noqa: E501
|
|
133
|
+
|
|
134
|
+
return self.api_client.call_api(
|
|
135
|
+
'/apis/v2beta1/filters', 'GET',
|
|
136
|
+
path_params,
|
|
137
|
+
query_params,
|
|
138
|
+
header_params,
|
|
139
|
+
body=body_params,
|
|
140
|
+
post_params=form_params,
|
|
141
|
+
files=local_var_files,
|
|
142
|
+
response_type='V2beta1Filter', # noqa: E501
|
|
143
|
+
auth_settings=auth_settings,
|
|
144
|
+
async_req=local_var_params.get('async_req'),
|
|
145
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
146
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
147
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
148
|
+
collection_formats=collection_formats)
|
|
@@ -1366,3 +1366,288 @@ class PipelineServiceApi(object):
|
|
|
1366
1366
|
_preload_content=local_var_params.get('_preload_content', True),
|
|
1367
1367
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1368
1368
|
collection_formats=collection_formats)
|
|
1369
|
+
|
|
1370
|
+
def pipeline_service_update_pipeline(self, pipeline_pipeline_id, pipeline, **kwargs): # noqa: E501
|
|
1371
|
+
"""Updates a pipeline's mutable fields (display_name, tags). # noqa: E501
|
|
1372
|
+
|
|
1373
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1374
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1375
|
+
|
|
1376
|
+
>>> thread = api.pipeline_service_update_pipeline(pipeline_pipeline_id, pipeline, async_req=True)
|
|
1377
|
+
>>> result = thread.get()
|
|
1378
|
+
|
|
1379
|
+
:param pipeline_pipeline_id: Output. Unique pipeline ID. Generated by API server. (required)
|
|
1380
|
+
:type pipeline_pipeline_id: str
|
|
1381
|
+
:param pipeline: (required)
|
|
1382
|
+
:type pipeline: InlineObject
|
|
1383
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1384
|
+
:type async_req: bool, optional
|
|
1385
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1386
|
+
be returned without reading/decoding response
|
|
1387
|
+
data. Default is True.
|
|
1388
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1389
|
+
number provided, it will be total request
|
|
1390
|
+
timeout. It can also be a pair (tuple) of
|
|
1391
|
+
(connection, read) timeouts.
|
|
1392
|
+
:return: Returns the result object.
|
|
1393
|
+
If the method is called asynchronously,
|
|
1394
|
+
returns the request thread.
|
|
1395
|
+
:rtype: V2beta1Pipeline
|
|
1396
|
+
"""
|
|
1397
|
+
kwargs['_return_http_data_only'] = True
|
|
1398
|
+
return self.pipeline_service_update_pipeline_with_http_info(pipeline_pipeline_id, pipeline, **kwargs) # noqa: E501
|
|
1399
|
+
|
|
1400
|
+
def pipeline_service_update_pipeline_with_http_info(self, pipeline_pipeline_id, pipeline, **kwargs): # noqa: E501
|
|
1401
|
+
"""Updates a pipeline's mutable fields (display_name, tags). # noqa: E501
|
|
1402
|
+
|
|
1403
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1404
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1405
|
+
|
|
1406
|
+
>>> thread = api.pipeline_service_update_pipeline_with_http_info(pipeline_pipeline_id, pipeline, async_req=True)
|
|
1407
|
+
>>> result = thread.get()
|
|
1408
|
+
|
|
1409
|
+
:param pipeline_pipeline_id: Output. Unique pipeline ID. Generated by API server. (required)
|
|
1410
|
+
:type pipeline_pipeline_id: str
|
|
1411
|
+
:param pipeline: (required)
|
|
1412
|
+
:type pipeline: InlineObject
|
|
1413
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1414
|
+
:type async_req: bool, optional
|
|
1415
|
+
:param _return_http_data_only: response data without head status code
|
|
1416
|
+
and headers
|
|
1417
|
+
:type _return_http_data_only: bool, optional
|
|
1418
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1419
|
+
be returned without reading/decoding response
|
|
1420
|
+
data. Default is True.
|
|
1421
|
+
:type _preload_content: bool, optional
|
|
1422
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1423
|
+
number provided, it will be total request
|
|
1424
|
+
timeout. It can also be a pair (tuple) of
|
|
1425
|
+
(connection, read) timeouts.
|
|
1426
|
+
:return: Returns the result object.
|
|
1427
|
+
If the method is called asynchronously,
|
|
1428
|
+
returns the request thread.
|
|
1429
|
+
:rtype: tuple(V2beta1Pipeline, status_code(int), headers(HTTPHeaderDict))
|
|
1430
|
+
"""
|
|
1431
|
+
|
|
1432
|
+
local_var_params = locals()
|
|
1433
|
+
|
|
1434
|
+
all_params = [
|
|
1435
|
+
'pipeline_pipeline_id',
|
|
1436
|
+
'pipeline'
|
|
1437
|
+
]
|
|
1438
|
+
all_params.extend(
|
|
1439
|
+
[
|
|
1440
|
+
'async_req',
|
|
1441
|
+
'_return_http_data_only',
|
|
1442
|
+
'_preload_content',
|
|
1443
|
+
'_request_timeout'
|
|
1444
|
+
]
|
|
1445
|
+
)
|
|
1446
|
+
|
|
1447
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
1448
|
+
if key not in all_params:
|
|
1449
|
+
raise ApiTypeError(
|
|
1450
|
+
"Got an unexpected keyword argument '%s'"
|
|
1451
|
+
" to method pipeline_service_update_pipeline" % key
|
|
1452
|
+
)
|
|
1453
|
+
local_var_params[key] = val
|
|
1454
|
+
del local_var_params['kwargs']
|
|
1455
|
+
# verify the required parameter 'pipeline_pipeline_id' is set
|
|
1456
|
+
if self.api_client.client_side_validation and ('pipeline_pipeline_id' not in local_var_params or # noqa: E501
|
|
1457
|
+
local_var_params['pipeline_pipeline_id'] is None): # noqa: E501
|
|
1458
|
+
raise ApiValueError("Missing the required parameter `pipeline_pipeline_id` when calling `pipeline_service_update_pipeline`") # noqa: E501
|
|
1459
|
+
# verify the required parameter 'pipeline' is set
|
|
1460
|
+
if self.api_client.client_side_validation and ('pipeline' not in local_var_params or # noqa: E501
|
|
1461
|
+
local_var_params['pipeline'] is None): # noqa: E501
|
|
1462
|
+
raise ApiValueError("Missing the required parameter `pipeline` when calling `pipeline_service_update_pipeline`") # noqa: E501
|
|
1463
|
+
|
|
1464
|
+
collection_formats = {}
|
|
1465
|
+
|
|
1466
|
+
path_params = {}
|
|
1467
|
+
if 'pipeline_pipeline_id' in local_var_params:
|
|
1468
|
+
path_params['pipeline.pipeline_id'] = local_var_params['pipeline_pipeline_id'] # noqa: E501
|
|
1469
|
+
|
|
1470
|
+
query_params = []
|
|
1471
|
+
|
|
1472
|
+
header_params = {}
|
|
1473
|
+
|
|
1474
|
+
form_params = []
|
|
1475
|
+
local_var_files = {}
|
|
1476
|
+
|
|
1477
|
+
body_params = None
|
|
1478
|
+
if 'pipeline' in local_var_params:
|
|
1479
|
+
body_params = local_var_params['pipeline']
|
|
1480
|
+
# HTTP header `Accept`
|
|
1481
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1482
|
+
['application/json']) # noqa: E501
|
|
1483
|
+
|
|
1484
|
+
# HTTP header `Content-Type`
|
|
1485
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1486
|
+
['application/json']) # noqa: E501
|
|
1487
|
+
|
|
1488
|
+
# Authentication setting
|
|
1489
|
+
auth_settings = ['Bearer'] # noqa: E501
|
|
1490
|
+
|
|
1491
|
+
return self.api_client.call_api(
|
|
1492
|
+
'/apis/v2beta1/pipelines/{pipeline.pipeline_id}', 'PATCH',
|
|
1493
|
+
path_params,
|
|
1494
|
+
query_params,
|
|
1495
|
+
header_params,
|
|
1496
|
+
body=body_params,
|
|
1497
|
+
post_params=form_params,
|
|
1498
|
+
files=local_var_files,
|
|
1499
|
+
response_type='V2beta1Pipeline', # noqa: E501
|
|
1500
|
+
auth_settings=auth_settings,
|
|
1501
|
+
async_req=local_var_params.get('async_req'),
|
|
1502
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
1503
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
1504
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1505
|
+
collection_formats=collection_formats)
|
|
1506
|
+
|
|
1507
|
+
def pipeline_service_update_pipeline_version(self, pipeline_version_pipeline_id, pipeline_version_pipeline_version_id, pipeline_version, **kwargs): # noqa: E501
|
|
1508
|
+
"""Updates a pipeline version's mutable fields (display_name, tags). # noqa: E501
|
|
1509
|
+
|
|
1510
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1511
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1512
|
+
|
|
1513
|
+
>>> thread = api.pipeline_service_update_pipeline_version(pipeline_version_pipeline_id, pipeline_version_pipeline_version_id, pipeline_version, async_req=True)
|
|
1514
|
+
>>> result = thread.get()
|
|
1515
|
+
|
|
1516
|
+
:param pipeline_version_pipeline_id: Required input field. Unique ID of the parent pipeline. This is ignored in CreatePipelineAndVersion API. (required)
|
|
1517
|
+
:type pipeline_version_pipeline_id: str
|
|
1518
|
+
:param pipeline_version_pipeline_version_id: Output. Unique pipeline version ID. Generated by API server. (required)
|
|
1519
|
+
:type pipeline_version_pipeline_version_id: str
|
|
1520
|
+
:param pipeline_version: (required)
|
|
1521
|
+
:type pipeline_version: InlineObject1
|
|
1522
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1523
|
+
:type async_req: bool, optional
|
|
1524
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1525
|
+
be returned without reading/decoding response
|
|
1526
|
+
data. Default is True.
|
|
1527
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1528
|
+
number provided, it will be total request
|
|
1529
|
+
timeout. It can also be a pair (tuple) of
|
|
1530
|
+
(connection, read) timeouts.
|
|
1531
|
+
:return: Returns the result object.
|
|
1532
|
+
If the method is called asynchronously,
|
|
1533
|
+
returns the request thread.
|
|
1534
|
+
:rtype: V2beta1PipelineVersion
|
|
1535
|
+
"""
|
|
1536
|
+
kwargs['_return_http_data_only'] = True
|
|
1537
|
+
return self.pipeline_service_update_pipeline_version_with_http_info(pipeline_version_pipeline_id, pipeline_version_pipeline_version_id, pipeline_version, **kwargs) # noqa: E501
|
|
1538
|
+
|
|
1539
|
+
def pipeline_service_update_pipeline_version_with_http_info(self, pipeline_version_pipeline_id, pipeline_version_pipeline_version_id, pipeline_version, **kwargs): # noqa: E501
|
|
1540
|
+
"""Updates a pipeline version's mutable fields (display_name, tags). # noqa: E501
|
|
1541
|
+
|
|
1542
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1543
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1544
|
+
|
|
1545
|
+
>>> thread = api.pipeline_service_update_pipeline_version_with_http_info(pipeline_version_pipeline_id, pipeline_version_pipeline_version_id, pipeline_version, async_req=True)
|
|
1546
|
+
>>> result = thread.get()
|
|
1547
|
+
|
|
1548
|
+
:param pipeline_version_pipeline_id: Required input field. Unique ID of the parent pipeline. This is ignored in CreatePipelineAndVersion API. (required)
|
|
1549
|
+
:type pipeline_version_pipeline_id: str
|
|
1550
|
+
:param pipeline_version_pipeline_version_id: Output. Unique pipeline version ID. Generated by API server. (required)
|
|
1551
|
+
:type pipeline_version_pipeline_version_id: str
|
|
1552
|
+
:param pipeline_version: (required)
|
|
1553
|
+
:type pipeline_version: InlineObject1
|
|
1554
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
1555
|
+
:type async_req: bool, optional
|
|
1556
|
+
:param _return_http_data_only: response data without head status code
|
|
1557
|
+
and headers
|
|
1558
|
+
:type _return_http_data_only: bool, optional
|
|
1559
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
1560
|
+
be returned without reading/decoding response
|
|
1561
|
+
data. Default is True.
|
|
1562
|
+
:type _preload_content: bool, optional
|
|
1563
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1564
|
+
number provided, it will be total request
|
|
1565
|
+
timeout. It can also be a pair (tuple) of
|
|
1566
|
+
(connection, read) timeouts.
|
|
1567
|
+
:return: Returns the result object.
|
|
1568
|
+
If the method is called asynchronously,
|
|
1569
|
+
returns the request thread.
|
|
1570
|
+
:rtype: tuple(V2beta1PipelineVersion, status_code(int), headers(HTTPHeaderDict))
|
|
1571
|
+
"""
|
|
1572
|
+
|
|
1573
|
+
local_var_params = locals()
|
|
1574
|
+
|
|
1575
|
+
all_params = [
|
|
1576
|
+
'pipeline_version_pipeline_id',
|
|
1577
|
+
'pipeline_version_pipeline_version_id',
|
|
1578
|
+
'pipeline_version'
|
|
1579
|
+
]
|
|
1580
|
+
all_params.extend(
|
|
1581
|
+
[
|
|
1582
|
+
'async_req',
|
|
1583
|
+
'_return_http_data_only',
|
|
1584
|
+
'_preload_content',
|
|
1585
|
+
'_request_timeout'
|
|
1586
|
+
]
|
|
1587
|
+
)
|
|
1588
|
+
|
|
1589
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
1590
|
+
if key not in all_params:
|
|
1591
|
+
raise ApiTypeError(
|
|
1592
|
+
"Got an unexpected keyword argument '%s'"
|
|
1593
|
+
" to method pipeline_service_update_pipeline_version" % key
|
|
1594
|
+
)
|
|
1595
|
+
local_var_params[key] = val
|
|
1596
|
+
del local_var_params['kwargs']
|
|
1597
|
+
# verify the required parameter 'pipeline_version_pipeline_id' is set
|
|
1598
|
+
if self.api_client.client_side_validation and ('pipeline_version_pipeline_id' not in local_var_params or # noqa: E501
|
|
1599
|
+
local_var_params['pipeline_version_pipeline_id'] is None): # noqa: E501
|
|
1600
|
+
raise ApiValueError("Missing the required parameter `pipeline_version_pipeline_id` when calling `pipeline_service_update_pipeline_version`") # noqa: E501
|
|
1601
|
+
# verify the required parameter 'pipeline_version_pipeline_version_id' is set
|
|
1602
|
+
if self.api_client.client_side_validation and ('pipeline_version_pipeline_version_id' not in local_var_params or # noqa: E501
|
|
1603
|
+
local_var_params['pipeline_version_pipeline_version_id'] is None): # noqa: E501
|
|
1604
|
+
raise ApiValueError("Missing the required parameter `pipeline_version_pipeline_version_id` when calling `pipeline_service_update_pipeline_version`") # noqa: E501
|
|
1605
|
+
# verify the required parameter 'pipeline_version' is set
|
|
1606
|
+
if self.api_client.client_side_validation and ('pipeline_version' not in local_var_params or # noqa: E501
|
|
1607
|
+
local_var_params['pipeline_version'] is None): # noqa: E501
|
|
1608
|
+
raise ApiValueError("Missing the required parameter `pipeline_version` when calling `pipeline_service_update_pipeline_version`") # noqa: E501
|
|
1609
|
+
|
|
1610
|
+
collection_formats = {}
|
|
1611
|
+
|
|
1612
|
+
path_params = {}
|
|
1613
|
+
if 'pipeline_version_pipeline_id' in local_var_params:
|
|
1614
|
+
path_params['pipeline_version.pipeline_id'] = local_var_params['pipeline_version_pipeline_id'] # noqa: E501
|
|
1615
|
+
if 'pipeline_version_pipeline_version_id' in local_var_params:
|
|
1616
|
+
path_params['pipeline_version.pipeline_version_id'] = local_var_params['pipeline_version_pipeline_version_id'] # noqa: E501
|
|
1617
|
+
|
|
1618
|
+
query_params = []
|
|
1619
|
+
|
|
1620
|
+
header_params = {}
|
|
1621
|
+
|
|
1622
|
+
form_params = []
|
|
1623
|
+
local_var_files = {}
|
|
1624
|
+
|
|
1625
|
+
body_params = None
|
|
1626
|
+
if 'pipeline_version' in local_var_params:
|
|
1627
|
+
body_params = local_var_params['pipeline_version']
|
|
1628
|
+
# HTTP header `Accept`
|
|
1629
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1630
|
+
['application/json']) # noqa: E501
|
|
1631
|
+
|
|
1632
|
+
# HTTP header `Content-Type`
|
|
1633
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1634
|
+
['application/json']) # noqa: E501
|
|
1635
|
+
|
|
1636
|
+
# Authentication setting
|
|
1637
|
+
auth_settings = ['Bearer'] # noqa: E501
|
|
1638
|
+
|
|
1639
|
+
return self.api_client.call_api(
|
|
1640
|
+
'/apis/v2beta1/pipelines/{pipeline_version.pipeline_id}/versions/{pipeline_version.pipeline_version_id}', 'PATCH',
|
|
1641
|
+
path_params,
|
|
1642
|
+
query_params,
|
|
1643
|
+
header_params,
|
|
1644
|
+
body=body_params,
|
|
1645
|
+
post_params=form_params,
|
|
1646
|
+
files=local_var_files,
|
|
1647
|
+
response_type='V2beta1PipelineVersion', # noqa: E501
|
|
1648
|
+
auth_settings=auth_settings,
|
|
1649
|
+
async_req=local_var_params.get('async_req'),
|
|
1650
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
1651
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
1652
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
1653
|
+
collection_formats=collection_formats)
|
{kfp_server_api-2.16.1 → kfp_server_api-2.17.0}/kfp_server_api/api/pipeline_upload_service_api.py
RENAMED
|
@@ -55,6 +55,8 @@ class PipelineUploadServiceApi(object):
|
|
|
55
55
|
:type description: str
|
|
56
56
|
:param namespace:
|
|
57
57
|
:type namespace: str
|
|
58
|
+
:param tags: JSON-encoded map of key-value pairs for pipeline tags.
|
|
59
|
+
:type tags: str
|
|
58
60
|
:param async_req: Whether to execute the request asynchronously.
|
|
59
61
|
:type async_req: bool, optional
|
|
60
62
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -91,6 +93,8 @@ class PipelineUploadServiceApi(object):
|
|
|
91
93
|
:type description: str
|
|
92
94
|
:param namespace:
|
|
93
95
|
:type namespace: str
|
|
96
|
+
:param tags: JSON-encoded map of key-value pairs for pipeline tags.
|
|
97
|
+
:type tags: str
|
|
94
98
|
:param async_req: Whether to execute the request asynchronously.
|
|
95
99
|
:type async_req: bool, optional
|
|
96
100
|
:param _return_http_data_only: response data without head status code
|
|
@@ -117,7 +121,8 @@ class PipelineUploadServiceApi(object):
|
|
|
117
121
|
'name',
|
|
118
122
|
'display_name',
|
|
119
123
|
'description',
|
|
120
|
-
'namespace'
|
|
124
|
+
'namespace',
|
|
125
|
+
'tags'
|
|
121
126
|
]
|
|
122
127
|
all_params.extend(
|
|
123
128
|
[
|
|
@@ -154,6 +159,8 @@ class PipelineUploadServiceApi(object):
|
|
|
154
159
|
query_params.append(('description', local_var_params['description'])) # noqa: E501
|
|
155
160
|
if 'namespace' in local_var_params and local_var_params['namespace'] is not None: # noqa: E501
|
|
156
161
|
query_params.append(('namespace', local_var_params['namespace'])) # noqa: E501
|
|
162
|
+
if 'tags' in local_var_params and local_var_params['tags'] is not None: # noqa: E501
|
|
163
|
+
query_params.append(('tags', local_var_params['tags'])) # noqa: E501
|
|
157
164
|
|
|
158
165
|
header_params = {}
|
|
159
166
|
|
|
@@ -209,6 +216,8 @@ class PipelineUploadServiceApi(object):
|
|
|
209
216
|
:type pipelineid: str
|
|
210
217
|
:param description:
|
|
211
218
|
:type description: str
|
|
219
|
+
:param tags: JSON-encoded map of key-value pairs for pipeline version tags.
|
|
220
|
+
:type tags: str
|
|
212
221
|
:param async_req: Whether to execute the request asynchronously.
|
|
213
222
|
:type async_req: bool, optional
|
|
214
223
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -245,6 +254,8 @@ class PipelineUploadServiceApi(object):
|
|
|
245
254
|
:type pipelineid: str
|
|
246
255
|
:param description:
|
|
247
256
|
:type description: str
|
|
257
|
+
:param tags: JSON-encoded map of key-value pairs for pipeline version tags.
|
|
258
|
+
:type tags: str
|
|
248
259
|
:param async_req: Whether to execute the request asynchronously.
|
|
249
260
|
:type async_req: bool, optional
|
|
250
261
|
:param _return_http_data_only: response data without head status code
|
|
@@ -271,7 +282,8 @@ class PipelineUploadServiceApi(object):
|
|
|
271
282
|
'name',
|
|
272
283
|
'display_name',
|
|
273
284
|
'pipelineid',
|
|
274
|
-
'description'
|
|
285
|
+
'description',
|
|
286
|
+
'tags'
|
|
275
287
|
]
|
|
276
288
|
all_params.extend(
|
|
277
289
|
[
|
|
@@ -308,6 +320,8 @@ class PipelineUploadServiceApi(object):
|
|
|
308
320
|
query_params.append(('pipelineid', local_var_params['pipelineid'])) # noqa: E501
|
|
309
321
|
if 'description' in local_var_params and local_var_params['description'] is not None: # noqa: E501
|
|
310
322
|
query_params.append(('description', local_var_params['description'])) # noqa: E501
|
|
323
|
+
if 'tags' in local_var_params and local_var_params['tags'] is not None: # noqa: E501
|
|
324
|
+
query_params.append(('tags', local_var_params['tags'])) # noqa: E501
|
|
311
325
|
|
|
312
326
|
header_params = {}
|
|
313
327
|
|
|
@@ -78,7 +78,7 @@ class ApiClient(object):
|
|
|
78
78
|
self.default_headers[header_name] = header_value
|
|
79
79
|
self.cookie = cookie
|
|
80
80
|
# Set default User-Agent.
|
|
81
|
-
self.user_agent = 'OpenAPI-Generator/2.
|
|
81
|
+
self.user_agent = 'OpenAPI-Generator/2.17.0/python'
|
|
82
82
|
self.client_side_validation = configuration.client_side_validation
|
|
83
83
|
|
|
84
84
|
def __enter__(self):
|
|
@@ -351,8 +351,8 @@ conf = kfp_server_api.Configuration(
|
|
|
351
351
|
return "Python SDK Debug Report:\n"\
|
|
352
352
|
"OS: {env}\n"\
|
|
353
353
|
"Python Version: {pyversion}\n"\
|
|
354
|
-
"Version of the API: 2.
|
|
355
|
-
"SDK Package Version: 2.
|
|
354
|
+
"Version of the API: 2.17.0\n"\
|
|
355
|
+
"SDK Package Version: 2.17.0".\
|
|
356
356
|
format(env=sys.platform, pyversion=sys.version)
|
|
357
357
|
|
|
358
358
|
def get_host_settings(self):
|