kfp-server-api 2.4.0__tar.gz → 2.14.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.4.0/kfp_server_api.egg-info → kfp_server_api-2.14.0}/PKG-INFO +3 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/README.md +8 -9
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/__init__.py +1 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/auth_service_api.py +6 -6
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/experiment_service_api.py +16 -16
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/pipeline_service_api.py +42 -35
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/pipeline_upload_service_api.py +14 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/recurring_run_service_api.py +16 -16
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/report_service_api.py +32 -32
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/run_service_api.py +52 -24
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/visualization_service_api.py +16 -16
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api_client.py +1 -1
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/configuration.py +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/__init__.py +0 -1
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/protobuf_any.py +31 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_get_healthz_response.py +29 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_pipeline.py +31 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_pipeline_task_detail.py +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_pipeline_version.py +31 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_pipeline_version_reference.py +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_run.py +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0/kfp_server_api.egg-info}/PKG-INFO +3 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api.egg-info/SOURCES.txt +0 -63
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/setup.py +1 -1
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_googlerpc_status.py +3 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_pipeline_service_api.py +1 -1
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_protobuf_any.py +1 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_run_service_api.py +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_create_pipeline_and_version_request.py +8 -6
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_get_healthz_response.py +2 -1
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_list_pipeline_versions_response.py +4 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_list_pipelines_response.py +4 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_list_recurring_runs_response.py +3 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_list_runs_response.py +3 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_pipeline.py +4 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_pipeline_task_detail.py +6 -6
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_pipeline_version.py +4 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_recurring_run.py +3 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_run.py +9 -9
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_run_details.py +3 -3
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_runtime_status.py +3 -3
- kfp_server_api-2.4.0/.gitignore +0 -66
- kfp_server_api-2.4.0/.openapi-generator/VERSION +0 -1
- kfp_server_api-2.4.0/.openapi-generator-ignore +0 -23
- kfp_server_api-2.4.0/docs/AuthServiceApi.md +0 -88
- kfp_server_api-2.4.0/docs/AuthorizeRequestResources.md +0 -10
- kfp_server_api-2.4.0/docs/AuthorizeRequestVerb.md +0 -10
- kfp_server_api-2.4.0/docs/ExperimentServiceApi.md +0 -478
- kfp_server_api-2.4.0/docs/GooglerpcStatus.md +0 -13
- kfp_server_api-2.4.0/docs/HealthzServiceApi.md +0 -81
- kfp_server_api-2.4.0/docs/PipelineServiceApi.md +0 -802
- kfp_server_api-2.4.0/docs/PipelineTaskDetailChildTask.md +0 -12
- kfp_server_api-2.4.0/docs/PipelineUploadServiceApi.md +0 -172
- kfp_server_api-2.4.0/docs/PredicateIntValues.md +0 -11
- kfp_server_api-2.4.0/docs/PredicateLongValues.md +0 -11
- kfp_server_api-2.4.0/docs/PredicateStringValues.md +0 -11
- kfp_server_api-2.4.0/docs/ProtobufAny.md +0 -12
- kfp_server_api-2.4.0/docs/ProtobufNullValue.md +0 -10
- kfp_server_api-2.4.0/docs/RecurringRunMode.md +0 -10
- kfp_server_api-2.4.0/docs/RecurringRunServiceApi.md +0 -480
- kfp_server_api-2.4.0/docs/ReportServiceApi.md +0 -160
- kfp_server_api-2.4.0/docs/RunServiceApi.md +0 -723
- kfp_server_api-2.4.0/docs/RuntimeError.md +0 -13
- kfp_server_api-2.4.0/docs/V2beta1ArtifactList.md +0 -11
- kfp_server_api-2.4.0/docs/V2beta1CreatePipelineAndVersionRequest.md +0 -11
- kfp_server_api-2.4.0/docs/V2beta1CronSchedule.md +0 -13
- kfp_server_api-2.4.0/docs/V2beta1Experiment.md +0 -16
- kfp_server_api-2.4.0/docs/V2beta1ExperimentStorageState.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1Filter.md +0 -11
- kfp_server_api-2.4.0/docs/V2beta1GetHealthzResponse.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1ListExperimentsResponse.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1ListPipelineVersionsResponse.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1ListPipelinesResponse.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1ListRecurringRunsResponse.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1ListRunsResponse.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1PeriodicSchedule.md +0 -13
- kfp_server_api-2.4.0/docs/V2beta1Pipeline.md +0 -15
- kfp_server_api-2.4.0/docs/V2beta1PipelineTaskDetail.md +0 -26
- kfp_server_api-2.4.0/docs/V2beta1PipelineTaskExecutorDetail.md +0 -14
- kfp_server_api-2.4.0/docs/V2beta1PipelineVersion.md +0 -18
- kfp_server_api-2.4.0/docs/V2beta1PipelineVersionReference.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1Predicate.md +0 -19
- kfp_server_api-2.4.0/docs/V2beta1PredicateOperation.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1ReadArtifactResponse.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1RecurringRun.md +0 -27
- kfp_server_api-2.4.0/docs/V2beta1RecurringRunStatus.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1Run.md +0 -27
- kfp_server_api-2.4.0/docs/V2beta1RunDetails.md +0 -13
- kfp_server_api-2.4.0/docs/V2beta1RunStorageState.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1RuntimeConfig.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1RuntimeState.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1RuntimeStatus.md +0 -13
- kfp_server_api-2.4.0/docs/V2beta1Trigger.md +0 -12
- kfp_server_api-2.4.0/docs/V2beta1Url.md +0 -10
- kfp_server_api-2.4.0/docs/V2beta1Visualization.md +0 -14
- kfp_server_api-2.4.0/docs/V2beta1VisualizationType.md +0 -10
- kfp_server_api-2.4.0/docs/VisualizationServiceApi.md +0 -86
- kfp_server_api-2.4.0/git_push.sh +0 -58
- kfp_server_api-2.4.0/kfp_server_api/models/runtime_error.py +0 -198
- kfp_server_api-2.4.0/requirements.txt +0 -6
- kfp_server_api-2.4.0/test/__init__.py +0 -0
- kfp_server_api-2.4.0/test/test_runtime_error.py +0 -59
- kfp_server_api-2.4.0/test-requirements.txt +0 -3
- kfp_server_api-2.4.0/tox.ini +0 -9
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/LICENSE +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/__init__.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/healthz_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/exceptions.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/authorize_request_resources.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/authorize_request_verb.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/googlerpc_status.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/pipeline_task_detail_child_task.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/predicate_int_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/predicate_long_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/predicate_string_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/protobuf_null_value.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/recurring_run_mode.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_artifact_list.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_create_pipeline_and_version_request.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_cron_schedule.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_experiment.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_experiment_storage_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_filter.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_list_experiments_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_list_pipeline_versions_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_list_pipelines_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_list_recurring_runs_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_list_runs_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_periodic_schedule.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_predicate.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_predicate_operation.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_read_artifact_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_recurring_run.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_recurring_run_status.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_run_details.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_run_storage_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_runtime_config.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_runtime_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_runtime_status.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_trigger.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_url.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_visualization.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/models/v2beta1_visualization_type.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/rest.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api.egg-info/dependency_links.txt +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api.egg-info/requires.txt +2 -2
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api.egg-info/top_level.txt +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/setup.cfg +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_auth_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_authorize_request_resources.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_authorize_request_verb.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_experiment_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_healthz_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_pipeline_task_detail_child_task.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_pipeline_upload_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_predicate_int_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_predicate_long_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_predicate_string_values.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_protobuf_null_value.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_recurring_run_mode.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_recurring_run_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_report_service_api.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_artifact_list.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_cron_schedule.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_experiment.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_experiment_storage_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_filter.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_list_experiments_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_periodic_schedule.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_pipeline_version_reference.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_predicate.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_predicate_operation.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_read_artifact_response.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_recurring_run_status.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_run_storage_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_runtime_config.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_runtime_state.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_trigger.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_url.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_visualization.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_v2beta1_visualization_type.py +0 -0
- {kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/test/test_visualization_service_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: kfp-server-api
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.14.0
|
|
4
4
|
Summary: Kubeflow Pipelines API
|
|
5
5
|
Home-page: https://github.com/kubeflow/pipelines
|
|
6
6
|
Author: google
|
|
@@ -18,6 +18,7 @@ Dynamic: description
|
|
|
18
18
|
Dynamic: home-page
|
|
19
19
|
Dynamic: keywords
|
|
20
20
|
Dynamic: license
|
|
21
|
+
Dynamic: license-file
|
|
21
22
|
Dynamic: requires-dist
|
|
22
23
|
Dynamic: summary
|
|
23
24
|
|
|
@@ -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.14.0
|
|
7
|
+
- Package version: 2.14.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
|
|
|
@@ -79,9 +79,9 @@ configuration = kfp_server_api.Configuration(
|
|
|
79
79
|
with kfp_server_api.ApiClient(configuration) as api_client:
|
|
80
80
|
# Create an instance of the API class
|
|
81
81
|
api_instance = kfp_server_api.AuthServiceApi(api_client)
|
|
82
|
-
namespace = 'namespace_example' # str |
|
|
83
|
-
resources = 'UNASSIGNED_RESOURCES' # str |
|
|
84
|
-
verb = 'UNASSIGNED_VERB' # str |
|
|
82
|
+
namespace = 'namespace_example' # str | Namespace the resource belongs to. (optional)
|
|
83
|
+
resources = 'UNASSIGNED_RESOURCES' # str | Resource type asking for authorization. (optional) (default to 'UNASSIGNED_RESOURCES')
|
|
84
|
+
verb = 'UNASSIGNED_VERB' # str | Verb on the resource asking for authorization. (optional) (default to 'UNASSIGNED_VERB')
|
|
85
85
|
|
|
86
86
|
try:
|
|
87
87
|
api_response = api_instance.auth_service_authorize(namespace=namespace, resources=resources, verb=verb)
|
|
@@ -108,7 +108,7 @@ Class | Method | HTTP request | Description
|
|
|
108
108
|
*PipelineServiceApi* | [**pipeline_service_create_pipeline**](docs/PipelineServiceApi.md#pipeline_service_create_pipeline) | **POST** /apis/v2beta1/pipelines | Creates a pipeline.
|
|
109
109
|
*PipelineServiceApi* | [**pipeline_service_create_pipeline_and_version**](docs/PipelineServiceApi.md#pipeline_service_create_pipeline_and_version) | **POST** /apis/v2beta1/pipelines/create | Creates a new pipeline and a new pipeline version in a single transaction.
|
|
110
110
|
*PipelineServiceApi* | [**pipeline_service_create_pipeline_version**](docs/PipelineServiceApi.md#pipeline_service_create_pipeline_version) | **POST** /apis/v2beta1/pipelines/{pipeline_id}/versions | Adds a pipeline version to the specified pipeline ID.
|
|
111
|
-
*PipelineServiceApi* | [**pipeline_service_delete_pipeline**](docs/PipelineServiceApi.md#pipeline_service_delete_pipeline) | **DELETE** /apis/v2beta1/pipelines/{pipeline_id} | Deletes
|
|
111
|
+
*PipelineServiceApi* | [**pipeline_service_delete_pipeline**](docs/PipelineServiceApi.md#pipeline_service_delete_pipeline) | **DELETE** /apis/v2beta1/pipelines/{pipeline_id} | Deletes a pipeline by ID. If cascade is false (default), it returns an error if the pipeline has any versions. If cascade is true, it will also delete all pipeline versions.
|
|
112
112
|
*PipelineServiceApi* | [**pipeline_service_delete_pipeline_version**](docs/PipelineServiceApi.md#pipeline_service_delete_pipeline_version) | **DELETE** /apis/v2beta1/pipelines/{pipeline_id}/versions/{pipeline_version_id} | Deletes a specific pipeline version by pipeline version ID and pipeline ID.
|
|
113
113
|
*PipelineServiceApi* | [**pipeline_service_get_pipeline**](docs/PipelineServiceApi.md#pipeline_service_get_pipeline) | **GET** /apis/v2beta1/pipelines/{pipeline_id} | Finds a specific pipeline by ID.
|
|
114
114
|
*PipelineServiceApi* | [**pipeline_service_get_pipeline_by_name**](docs/PipelineServiceApi.md#pipeline_service_get_pipeline_by_name) | **GET** /apis/v2beta1/pipelines/names/{name} | Finds a specific pipeline by name and namespace.
|
|
@@ -126,10 +126,10 @@ Class | Method | HTTP request | Description
|
|
|
126
126
|
*ReportServiceApi* | [**report_service_report_scheduled_workflow**](docs/ReportServiceApi.md#report_service_report_scheduled_workflow) | **POST** /apis/v2beta1/scheduledworkflows |
|
|
127
127
|
*ReportServiceApi* | [**report_service_report_workflow**](docs/ReportServiceApi.md#report_service_report_workflow) | **POST** /apis/v2beta1/workflows |
|
|
128
128
|
*RunServiceApi* | [**run_service_archive_run**](docs/RunServiceApi.md#run_service_archive_run) | **POST** /apis/v2beta1/runs/{run_id}:archive | Archives a run in an experiment given by run ID and experiment ID.
|
|
129
|
-
*RunServiceApi* | [**run_service_create_run**](docs/RunServiceApi.md#run_service_create_run) | **POST** /apis/v2beta1/runs | Creates a new run in an experiment specified by experiment ID.
|
|
129
|
+
*RunServiceApi* | [**run_service_create_run**](docs/RunServiceApi.md#run_service_create_run) | **POST** /apis/v2beta1/runs | Creates a new run in an experiment specified by experiment ID. If experiment ID is not specified, the run is created in the default experiment.
|
|
130
130
|
*RunServiceApi* | [**run_service_delete_run**](docs/RunServiceApi.md#run_service_delete_run) | **DELETE** /apis/v2beta1/runs/{run_id} | Deletes a run in an experiment given by run ID and experiment ID.
|
|
131
131
|
*RunServiceApi* | [**run_service_get_run**](docs/RunServiceApi.md#run_service_get_run) | **GET** /apis/v2beta1/runs/{run_id} | Finds a specific run by ID.
|
|
132
|
-
*RunServiceApi* | [**run_service_list_runs**](docs/RunServiceApi.md#run_service_list_runs) | **GET** /apis/v2beta1/runs | Finds all runs in an experiment given by experiment ID.
|
|
132
|
+
*RunServiceApi* | [**run_service_list_runs**](docs/RunServiceApi.md#run_service_list_runs) | **GET** /apis/v2beta1/runs | Finds all runs in an experiment given by experiment ID. If experiment id is not specified, finds all runs across all experiments.
|
|
133
133
|
*RunServiceApi* | [**run_service_read_artifact**](docs/RunServiceApi.md#run_service_read_artifact) | **GET** /apis/v2beta1/runs/{run_id}/nodes/{node_id}/artifacts/{artifact_name}:read | Finds artifact data in a run.
|
|
134
134
|
*RunServiceApi* | [**run_service_retry_run**](docs/RunServiceApi.md#run_service_retry_run) | **POST** /apis/v2beta1/runs/{run_id}:retry | Re-initiates a failed or terminated run.
|
|
135
135
|
*RunServiceApi* | [**run_service_terminate_run**](docs/RunServiceApi.md#run_service_terminate_run) | **POST** /apis/v2beta1/runs/{run_id}:terminate | Terminates an active run.
|
|
@@ -149,7 +149,6 @@ Class | Method | HTTP request | Description
|
|
|
149
149
|
- [ProtobufAny](docs/ProtobufAny.md)
|
|
150
150
|
- [ProtobufNullValue](docs/ProtobufNullValue.md)
|
|
151
151
|
- [RecurringRunMode](docs/RecurringRunMode.md)
|
|
152
|
-
- [RuntimeError](docs/RuntimeError.md)
|
|
153
152
|
- [V2beta1ArtifactList](docs/V2beta1ArtifactList.md)
|
|
154
153
|
- [V2beta1CreatePipelineAndVersionRequest](docs/V2beta1CreatePipelineAndVersionRequest.md)
|
|
155
154
|
- [V2beta1CronSchedule](docs/V2beta1CronSchedule.md)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
|
-
__version__ = "2.
|
|
17
|
+
__version__ = "2.14.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from kfp_server_api.api.auth_service_api import AuthServiceApi
|
|
@@ -46,7 +46,6 @@ from kfp_server_api.models.predicate_string_values import PredicateStringValues
|
|
|
46
46
|
from kfp_server_api.models.protobuf_any import ProtobufAny
|
|
47
47
|
from kfp_server_api.models.protobuf_null_value import ProtobufNullValue
|
|
48
48
|
from kfp_server_api.models.recurring_run_mode import RecurringRunMode
|
|
49
|
-
from kfp_server_api.models.runtime_error import RuntimeError
|
|
50
49
|
from kfp_server_api.models.v2beta1_artifact_list import V2beta1ArtifactList
|
|
51
50
|
from kfp_server_api.models.v2beta1_create_pipeline_and_version_request import V2beta1CreatePipelineAndVersionRequest
|
|
52
51
|
from kfp_server_api.models.v2beta1_cron_schedule import V2beta1CronSchedule
|
|
@@ -45,11 +45,11 @@ class AuthServiceApi(object):
|
|
|
45
45
|
>>> thread = api.auth_service_authorize(async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
|
-
:param namespace:
|
|
48
|
+
:param namespace: Namespace the resource belongs to.
|
|
49
49
|
:type namespace: str
|
|
50
|
-
:param resources:
|
|
50
|
+
:param resources: Resource type asking for authorization.
|
|
51
51
|
:type resources: str
|
|
52
|
-
:param verb:
|
|
52
|
+
:param verb: Verb on the resource asking for authorization.
|
|
53
53
|
:type verb: str
|
|
54
54
|
:param async_req: Whether to execute the request asynchronously.
|
|
55
55
|
:type async_req: bool, optional
|
|
@@ -77,11 +77,11 @@ class AuthServiceApi(object):
|
|
|
77
77
|
>>> thread = api.auth_service_authorize_with_http_info(async_req=True)
|
|
78
78
|
>>> result = thread.get()
|
|
79
79
|
|
|
80
|
-
:param namespace:
|
|
80
|
+
:param namespace: Namespace the resource belongs to.
|
|
81
81
|
:type namespace: str
|
|
82
|
-
:param resources:
|
|
82
|
+
:param resources: Resource type asking for authorization.
|
|
83
83
|
:type resources: str
|
|
84
|
-
:param verb:
|
|
84
|
+
:param verb: Verb on the resource asking for authorization.
|
|
85
85
|
:type verb: str
|
|
86
86
|
:param async_req: Whether to execute the request asynchronously.
|
|
87
87
|
:type async_req: bool, optional
|
|
@@ -158,17 +158,17 @@ class ExperimentServiceApi(object):
|
|
|
158
158
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
159
159
|
collection_formats=collection_formats)
|
|
160
160
|
|
|
161
|
-
def experiment_service_create_experiment(self,
|
|
161
|
+
def experiment_service_create_experiment(self, experiment, **kwargs): # noqa: E501
|
|
162
162
|
"""Creates a new experiment. # noqa: E501
|
|
163
163
|
|
|
164
164
|
This method makes a synchronous HTTP request by default. To make an
|
|
165
165
|
asynchronous HTTP request, please pass async_req=True
|
|
166
166
|
|
|
167
|
-
>>> thread = api.experiment_service_create_experiment(
|
|
167
|
+
>>> thread = api.experiment_service_create_experiment(experiment, async_req=True)
|
|
168
168
|
>>> result = thread.get()
|
|
169
169
|
|
|
170
|
-
:param
|
|
171
|
-
:type
|
|
170
|
+
:param experiment: The experiment to be created. (required)
|
|
171
|
+
:type experiment: V2beta1Experiment
|
|
172
172
|
:param async_req: Whether to execute the request asynchronously.
|
|
173
173
|
:type async_req: bool, optional
|
|
174
174
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -184,19 +184,19 @@ class ExperimentServiceApi(object):
|
|
|
184
184
|
:rtype: V2beta1Experiment
|
|
185
185
|
"""
|
|
186
186
|
kwargs['_return_http_data_only'] = True
|
|
187
|
-
return self.experiment_service_create_experiment_with_http_info(
|
|
187
|
+
return self.experiment_service_create_experiment_with_http_info(experiment, **kwargs) # noqa: E501
|
|
188
188
|
|
|
189
|
-
def experiment_service_create_experiment_with_http_info(self,
|
|
189
|
+
def experiment_service_create_experiment_with_http_info(self, experiment, **kwargs): # noqa: E501
|
|
190
190
|
"""Creates a new experiment. # noqa: E501
|
|
191
191
|
|
|
192
192
|
This method makes a synchronous HTTP request by default. To make an
|
|
193
193
|
asynchronous HTTP request, please pass async_req=True
|
|
194
194
|
|
|
195
|
-
>>> thread = api.experiment_service_create_experiment_with_http_info(
|
|
195
|
+
>>> thread = api.experiment_service_create_experiment_with_http_info(experiment, async_req=True)
|
|
196
196
|
>>> result = thread.get()
|
|
197
197
|
|
|
198
|
-
:param
|
|
199
|
-
:type
|
|
198
|
+
:param experiment: The experiment to be created. (required)
|
|
199
|
+
:type experiment: V2beta1Experiment
|
|
200
200
|
:param async_req: Whether to execute the request asynchronously.
|
|
201
201
|
:type async_req: bool, optional
|
|
202
202
|
:param _return_http_data_only: response data without head status code
|
|
@@ -219,7 +219,7 @@ class ExperimentServiceApi(object):
|
|
|
219
219
|
local_var_params = locals()
|
|
220
220
|
|
|
221
221
|
all_params = [
|
|
222
|
-
'
|
|
222
|
+
'experiment'
|
|
223
223
|
]
|
|
224
224
|
all_params.extend(
|
|
225
225
|
[
|
|
@@ -238,10 +238,10 @@ class ExperimentServiceApi(object):
|
|
|
238
238
|
)
|
|
239
239
|
local_var_params[key] = val
|
|
240
240
|
del local_var_params['kwargs']
|
|
241
|
-
# verify the required parameter '
|
|
242
|
-
if self.api_client.client_side_validation and ('
|
|
243
|
-
local_var_params['
|
|
244
|
-
raise ApiValueError("Missing the required parameter `
|
|
241
|
+
# verify the required parameter 'experiment' is set
|
|
242
|
+
if self.api_client.client_side_validation and ('experiment' not in local_var_params or # noqa: E501
|
|
243
|
+
local_var_params['experiment'] is None): # noqa: E501
|
|
244
|
+
raise ApiValueError("Missing the required parameter `experiment` when calling `experiment_service_create_experiment`") # noqa: E501
|
|
245
245
|
|
|
246
246
|
collection_formats = {}
|
|
247
247
|
|
|
@@ -255,8 +255,8 @@ class ExperimentServiceApi(object):
|
|
|
255
255
|
local_var_files = {}
|
|
256
256
|
|
|
257
257
|
body_params = None
|
|
258
|
-
if '
|
|
259
|
-
body_params = local_var_params['
|
|
258
|
+
if 'experiment' in local_var_params:
|
|
259
|
+
body_params = local_var_params['experiment']
|
|
260
260
|
# HTTP header `Accept`
|
|
261
261
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
262
262
|
['application/json']) # noqa: E501
|
|
@@ -36,17 +36,17 @@ class PipelineServiceApi(object):
|
|
|
36
36
|
api_client = ApiClient()
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
|
-
def pipeline_service_create_pipeline(self,
|
|
39
|
+
def pipeline_service_create_pipeline(self, pipeline, **kwargs): # noqa: E501
|
|
40
40
|
"""Creates a pipeline. # noqa: E501
|
|
41
41
|
|
|
42
42
|
This method makes a synchronous HTTP request by default. To make an
|
|
43
43
|
asynchronous HTTP request, please pass async_req=True
|
|
44
44
|
|
|
45
|
-
>>> thread = api.pipeline_service_create_pipeline(
|
|
45
|
+
>>> thread = api.pipeline_service_create_pipeline(pipeline, async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
|
-
:param
|
|
49
|
-
:type
|
|
48
|
+
:param pipeline: Required input. Pipeline that needs to be created. (required)
|
|
49
|
+
:type pipeline: V2beta1Pipeline
|
|
50
50
|
:param async_req: Whether to execute the request asynchronously.
|
|
51
51
|
:type async_req: bool, optional
|
|
52
52
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -62,19 +62,19 @@ class PipelineServiceApi(object):
|
|
|
62
62
|
:rtype: V2beta1Pipeline
|
|
63
63
|
"""
|
|
64
64
|
kwargs['_return_http_data_only'] = True
|
|
65
|
-
return self.pipeline_service_create_pipeline_with_http_info(
|
|
65
|
+
return self.pipeline_service_create_pipeline_with_http_info(pipeline, **kwargs) # noqa: E501
|
|
66
66
|
|
|
67
|
-
def pipeline_service_create_pipeline_with_http_info(self,
|
|
67
|
+
def pipeline_service_create_pipeline_with_http_info(self, pipeline, **kwargs): # noqa: E501
|
|
68
68
|
"""Creates a pipeline. # noqa: E501
|
|
69
69
|
|
|
70
70
|
This method makes a synchronous HTTP request by default. To make an
|
|
71
71
|
asynchronous HTTP request, please pass async_req=True
|
|
72
72
|
|
|
73
|
-
>>> thread = api.pipeline_service_create_pipeline_with_http_info(
|
|
73
|
+
>>> thread = api.pipeline_service_create_pipeline_with_http_info(pipeline, async_req=True)
|
|
74
74
|
>>> result = thread.get()
|
|
75
75
|
|
|
76
|
-
:param
|
|
77
|
-
:type
|
|
76
|
+
:param pipeline: Required input. Pipeline that needs to be created. (required)
|
|
77
|
+
:type pipeline: V2beta1Pipeline
|
|
78
78
|
:param async_req: Whether to execute the request asynchronously.
|
|
79
79
|
:type async_req: bool, optional
|
|
80
80
|
:param _return_http_data_only: response data without head status code
|
|
@@ -97,7 +97,7 @@ class PipelineServiceApi(object):
|
|
|
97
97
|
local_var_params = locals()
|
|
98
98
|
|
|
99
99
|
all_params = [
|
|
100
|
-
'
|
|
100
|
+
'pipeline'
|
|
101
101
|
]
|
|
102
102
|
all_params.extend(
|
|
103
103
|
[
|
|
@@ -116,10 +116,10 @@ class PipelineServiceApi(object):
|
|
|
116
116
|
)
|
|
117
117
|
local_var_params[key] = val
|
|
118
118
|
del local_var_params['kwargs']
|
|
119
|
-
# verify the required parameter '
|
|
120
|
-
if self.api_client.client_side_validation and ('
|
|
121
|
-
local_var_params['
|
|
122
|
-
raise ApiValueError("Missing the required parameter `
|
|
119
|
+
# verify the required parameter 'pipeline' is set
|
|
120
|
+
if self.api_client.client_side_validation and ('pipeline' not in local_var_params or # noqa: E501
|
|
121
|
+
local_var_params['pipeline'] is None): # noqa: E501
|
|
122
|
+
raise ApiValueError("Missing the required parameter `pipeline` when calling `pipeline_service_create_pipeline`") # noqa: E501
|
|
123
123
|
|
|
124
124
|
collection_formats = {}
|
|
125
125
|
|
|
@@ -133,8 +133,8 @@ class PipelineServiceApi(object):
|
|
|
133
133
|
local_var_files = {}
|
|
134
134
|
|
|
135
135
|
body_params = None
|
|
136
|
-
if '
|
|
137
|
-
body_params = local_var_params['
|
|
136
|
+
if 'pipeline' in local_var_params:
|
|
137
|
+
body_params = local_var_params['pipeline']
|
|
138
138
|
# HTTP header `Accept`
|
|
139
139
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
140
140
|
['application/json']) # noqa: E501
|
|
@@ -288,19 +288,19 @@ class PipelineServiceApi(object):
|
|
|
288
288
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
289
289
|
collection_formats=collection_formats)
|
|
290
290
|
|
|
291
|
-
def pipeline_service_create_pipeline_version(self, pipeline_id,
|
|
291
|
+
def pipeline_service_create_pipeline_version(self, pipeline_id, pipeline_version, **kwargs): # noqa: E501
|
|
292
292
|
"""Adds a pipeline version to the specified pipeline ID. # noqa: E501
|
|
293
293
|
|
|
294
294
|
This method makes a synchronous HTTP request by default. To make an
|
|
295
295
|
asynchronous HTTP request, please pass async_req=True
|
|
296
296
|
|
|
297
|
-
>>> thread = api.pipeline_service_create_pipeline_version(pipeline_id,
|
|
297
|
+
>>> thread = api.pipeline_service_create_pipeline_version(pipeline_id, pipeline_version, async_req=True)
|
|
298
298
|
>>> result = thread.get()
|
|
299
299
|
|
|
300
300
|
:param pipeline_id: Required input. ID of the parent pipeline. (required)
|
|
301
301
|
:type pipeline_id: str
|
|
302
|
-
:param
|
|
303
|
-
:type
|
|
302
|
+
:param pipeline_version: Required input. Pipeline version ID to be created. (required)
|
|
303
|
+
:type pipeline_version: V2beta1PipelineVersion
|
|
304
304
|
:param async_req: Whether to execute the request asynchronously.
|
|
305
305
|
:type async_req: bool, optional
|
|
306
306
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -316,21 +316,21 @@ class PipelineServiceApi(object):
|
|
|
316
316
|
:rtype: V2beta1PipelineVersion
|
|
317
317
|
"""
|
|
318
318
|
kwargs['_return_http_data_only'] = True
|
|
319
|
-
return self.pipeline_service_create_pipeline_version_with_http_info(pipeline_id,
|
|
319
|
+
return self.pipeline_service_create_pipeline_version_with_http_info(pipeline_id, pipeline_version, **kwargs) # noqa: E501
|
|
320
320
|
|
|
321
|
-
def pipeline_service_create_pipeline_version_with_http_info(self, pipeline_id,
|
|
321
|
+
def pipeline_service_create_pipeline_version_with_http_info(self, pipeline_id, pipeline_version, **kwargs): # noqa: E501
|
|
322
322
|
"""Adds a pipeline version to the specified pipeline ID. # noqa: E501
|
|
323
323
|
|
|
324
324
|
This method makes a synchronous HTTP request by default. To make an
|
|
325
325
|
asynchronous HTTP request, please pass async_req=True
|
|
326
326
|
|
|
327
|
-
>>> thread = api.pipeline_service_create_pipeline_version_with_http_info(pipeline_id,
|
|
327
|
+
>>> thread = api.pipeline_service_create_pipeline_version_with_http_info(pipeline_id, pipeline_version, async_req=True)
|
|
328
328
|
>>> result = thread.get()
|
|
329
329
|
|
|
330
330
|
:param pipeline_id: Required input. ID of the parent pipeline. (required)
|
|
331
331
|
:type pipeline_id: str
|
|
332
|
-
:param
|
|
333
|
-
:type
|
|
332
|
+
:param pipeline_version: Required input. Pipeline version ID to be created. (required)
|
|
333
|
+
:type pipeline_version: V2beta1PipelineVersion
|
|
334
334
|
:param async_req: Whether to execute the request asynchronously.
|
|
335
335
|
:type async_req: bool, optional
|
|
336
336
|
:param _return_http_data_only: response data without head status code
|
|
@@ -354,7 +354,7 @@ class PipelineServiceApi(object):
|
|
|
354
354
|
|
|
355
355
|
all_params = [
|
|
356
356
|
'pipeline_id',
|
|
357
|
-
'
|
|
357
|
+
'pipeline_version'
|
|
358
358
|
]
|
|
359
359
|
all_params.extend(
|
|
360
360
|
[
|
|
@@ -377,10 +377,10 @@ class PipelineServiceApi(object):
|
|
|
377
377
|
if self.api_client.client_side_validation and ('pipeline_id' not in local_var_params or # noqa: E501
|
|
378
378
|
local_var_params['pipeline_id'] is None): # noqa: E501
|
|
379
379
|
raise ApiValueError("Missing the required parameter `pipeline_id` when calling `pipeline_service_create_pipeline_version`") # noqa: E501
|
|
380
|
-
# verify the required parameter '
|
|
381
|
-
if self.api_client.client_side_validation and ('
|
|
382
|
-
local_var_params['
|
|
383
|
-
raise ApiValueError("Missing the required parameter `
|
|
380
|
+
# verify the required parameter 'pipeline_version' is set
|
|
381
|
+
if self.api_client.client_side_validation and ('pipeline_version' not in local_var_params or # noqa: E501
|
|
382
|
+
local_var_params['pipeline_version'] is None): # noqa: E501
|
|
383
|
+
raise ApiValueError("Missing the required parameter `pipeline_version` when calling `pipeline_service_create_pipeline_version`") # noqa: E501
|
|
384
384
|
|
|
385
385
|
collection_formats = {}
|
|
386
386
|
|
|
@@ -396,8 +396,8 @@ class PipelineServiceApi(object):
|
|
|
396
396
|
local_var_files = {}
|
|
397
397
|
|
|
398
398
|
body_params = None
|
|
399
|
-
if '
|
|
400
|
-
body_params = local_var_params['
|
|
399
|
+
if 'pipeline_version' in local_var_params:
|
|
400
|
+
body_params = local_var_params['pipeline_version']
|
|
401
401
|
# HTTP header `Accept`
|
|
402
402
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
403
403
|
['application/json']) # noqa: E501
|
|
@@ -426,7 +426,7 @@ class PipelineServiceApi(object):
|
|
|
426
426
|
collection_formats=collection_formats)
|
|
427
427
|
|
|
428
428
|
def pipeline_service_delete_pipeline(self, pipeline_id, **kwargs): # noqa: E501
|
|
429
|
-
"""Deletes
|
|
429
|
+
"""Deletes a pipeline by ID. If cascade is false (default), it returns an error if the pipeline has any versions. If cascade is true, it will also delete all pipeline versions. # noqa: E501
|
|
430
430
|
|
|
431
431
|
This method makes a synchronous HTTP request by default. To make an
|
|
432
432
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -436,6 +436,8 @@ class PipelineServiceApi(object):
|
|
|
436
436
|
|
|
437
437
|
:param pipeline_id: Required input. ID of the pipeline to be deleted. (required)
|
|
438
438
|
:type pipeline_id: str
|
|
439
|
+
:param cascade: Optional. If true, the pipeline and all its versions will be deleted. If false (default), only the pipeline will be deleted if it has no versions.
|
|
440
|
+
:type cascade: bool
|
|
439
441
|
:param async_req: Whether to execute the request asynchronously.
|
|
440
442
|
:type async_req: bool, optional
|
|
441
443
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -454,7 +456,7 @@ class PipelineServiceApi(object):
|
|
|
454
456
|
return self.pipeline_service_delete_pipeline_with_http_info(pipeline_id, **kwargs) # noqa: E501
|
|
455
457
|
|
|
456
458
|
def pipeline_service_delete_pipeline_with_http_info(self, pipeline_id, **kwargs): # noqa: E501
|
|
457
|
-
"""Deletes
|
|
459
|
+
"""Deletes a pipeline by ID. If cascade is false (default), it returns an error if the pipeline has any versions. If cascade is true, it will also delete all pipeline versions. # noqa: E501
|
|
458
460
|
|
|
459
461
|
This method makes a synchronous HTTP request by default. To make an
|
|
460
462
|
asynchronous HTTP request, please pass async_req=True
|
|
@@ -464,6 +466,8 @@ class PipelineServiceApi(object):
|
|
|
464
466
|
|
|
465
467
|
:param pipeline_id: Required input. ID of the pipeline to be deleted. (required)
|
|
466
468
|
:type pipeline_id: str
|
|
469
|
+
:param cascade: Optional. If true, the pipeline and all its versions will be deleted. If false (default), only the pipeline will be deleted if it has no versions.
|
|
470
|
+
:type cascade: bool
|
|
467
471
|
:param async_req: Whether to execute the request asynchronously.
|
|
468
472
|
:type async_req: bool, optional
|
|
469
473
|
:param _return_http_data_only: response data without head status code
|
|
@@ -486,7 +490,8 @@ class PipelineServiceApi(object):
|
|
|
486
490
|
local_var_params = locals()
|
|
487
491
|
|
|
488
492
|
all_params = [
|
|
489
|
-
'pipeline_id'
|
|
493
|
+
'pipeline_id',
|
|
494
|
+
'cascade'
|
|
490
495
|
]
|
|
491
496
|
all_params.extend(
|
|
492
497
|
[
|
|
@@ -517,6 +522,8 @@ class PipelineServiceApi(object):
|
|
|
517
522
|
path_params['pipeline_id'] = local_var_params['pipeline_id'] # noqa: E501
|
|
518
523
|
|
|
519
524
|
query_params = []
|
|
525
|
+
if 'cascade' in local_var_params and local_var_params['cascade'] is not None: # noqa: E501
|
|
526
|
+
query_params.append(('cascade', local_var_params['cascade'])) # noqa: E501
|
|
520
527
|
|
|
521
528
|
header_params = {}
|
|
522
529
|
|
{kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/pipeline_upload_service_api.py
RENAMED
|
@@ -49,6 +49,8 @@ class PipelineUploadServiceApi(object):
|
|
|
49
49
|
:type uploadfile: file
|
|
50
50
|
:param name:
|
|
51
51
|
:type name: str
|
|
52
|
+
:param display_name:
|
|
53
|
+
:type display_name: str
|
|
52
54
|
:param description:
|
|
53
55
|
:type description: str
|
|
54
56
|
:param namespace:
|
|
@@ -83,6 +85,8 @@ class PipelineUploadServiceApi(object):
|
|
|
83
85
|
:type uploadfile: file
|
|
84
86
|
:param name:
|
|
85
87
|
:type name: str
|
|
88
|
+
:param display_name:
|
|
89
|
+
:type display_name: str
|
|
86
90
|
:param description:
|
|
87
91
|
:type description: str
|
|
88
92
|
:param namespace:
|
|
@@ -111,6 +115,7 @@ class PipelineUploadServiceApi(object):
|
|
|
111
115
|
all_params = [
|
|
112
116
|
'uploadfile',
|
|
113
117
|
'name',
|
|
118
|
+
'display_name',
|
|
114
119
|
'description',
|
|
115
120
|
'namespace'
|
|
116
121
|
]
|
|
@@ -143,6 +148,8 @@ class PipelineUploadServiceApi(object):
|
|
|
143
148
|
query_params = []
|
|
144
149
|
if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
|
|
145
150
|
query_params.append(('name', local_var_params['name'])) # noqa: E501
|
|
151
|
+
if 'display_name' in local_var_params and local_var_params['display_name'] is not None: # noqa: E501
|
|
152
|
+
query_params.append(('display_name', local_var_params['display_name'])) # noqa: E501
|
|
146
153
|
if 'description' in local_var_params and local_var_params['description'] is not None: # noqa: E501
|
|
147
154
|
query_params.append(('description', local_var_params['description'])) # noqa: E501
|
|
148
155
|
if 'namespace' in local_var_params and local_var_params['namespace'] is not None: # noqa: E501
|
|
@@ -196,6 +203,8 @@ class PipelineUploadServiceApi(object):
|
|
|
196
203
|
:type uploadfile: file
|
|
197
204
|
:param name:
|
|
198
205
|
:type name: str
|
|
206
|
+
:param display_name:
|
|
207
|
+
:type display_name: str
|
|
199
208
|
:param pipelineid:
|
|
200
209
|
:type pipelineid: str
|
|
201
210
|
:param description:
|
|
@@ -230,6 +239,8 @@ class PipelineUploadServiceApi(object):
|
|
|
230
239
|
:type uploadfile: file
|
|
231
240
|
:param name:
|
|
232
241
|
:type name: str
|
|
242
|
+
:param display_name:
|
|
243
|
+
:type display_name: str
|
|
233
244
|
:param pipelineid:
|
|
234
245
|
:type pipelineid: str
|
|
235
246
|
:param description:
|
|
@@ -258,6 +269,7 @@ class PipelineUploadServiceApi(object):
|
|
|
258
269
|
all_params = [
|
|
259
270
|
'uploadfile',
|
|
260
271
|
'name',
|
|
272
|
+
'display_name',
|
|
261
273
|
'pipelineid',
|
|
262
274
|
'description'
|
|
263
275
|
]
|
|
@@ -290,6 +302,8 @@ class PipelineUploadServiceApi(object):
|
|
|
290
302
|
query_params = []
|
|
291
303
|
if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
|
|
292
304
|
query_params.append(('name', local_var_params['name'])) # noqa: E501
|
|
305
|
+
if 'display_name' in local_var_params and local_var_params['display_name'] is not None: # noqa: E501
|
|
306
|
+
query_params.append(('display_name', local_var_params['display_name'])) # noqa: E501
|
|
293
307
|
if 'pipelineid' in local_var_params and local_var_params['pipelineid'] is not None: # noqa: E501
|
|
294
308
|
query_params.append(('pipelineid', local_var_params['pipelineid'])) # noqa: E501
|
|
295
309
|
if 'description' in local_var_params and local_var_params['description'] is not None: # noqa: E501
|
{kfp_server_api-2.4.0 → kfp_server_api-2.14.0}/kfp_server_api/api/recurring_run_service_api.py
RENAMED
|
@@ -36,17 +36,17 @@ class RecurringRunServiceApi(object):
|
|
|
36
36
|
api_client = ApiClient()
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
|
-
def recurring_run_service_create_recurring_run(self,
|
|
39
|
+
def recurring_run_service_create_recurring_run(self, recurring_run, **kwargs): # noqa: E501
|
|
40
40
|
"""Creates a new recurring run in an experiment, given the experiment ID. # noqa: E501
|
|
41
41
|
|
|
42
42
|
This method makes a synchronous HTTP request by default. To make an
|
|
43
43
|
asynchronous HTTP request, please pass async_req=True
|
|
44
44
|
|
|
45
|
-
>>> thread = api.recurring_run_service_create_recurring_run(
|
|
45
|
+
>>> thread = api.recurring_run_service_create_recurring_run(recurring_run, async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
|
-
:param
|
|
49
|
-
:type
|
|
48
|
+
:param recurring_run: The recurring run to be created. (required)
|
|
49
|
+
:type recurring_run: V2beta1RecurringRun
|
|
50
50
|
:param async_req: Whether to execute the request asynchronously.
|
|
51
51
|
:type async_req: bool, optional
|
|
52
52
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
@@ -62,19 +62,19 @@ class RecurringRunServiceApi(object):
|
|
|
62
62
|
:rtype: V2beta1RecurringRun
|
|
63
63
|
"""
|
|
64
64
|
kwargs['_return_http_data_only'] = True
|
|
65
|
-
return self.recurring_run_service_create_recurring_run_with_http_info(
|
|
65
|
+
return self.recurring_run_service_create_recurring_run_with_http_info(recurring_run, **kwargs) # noqa: E501
|
|
66
66
|
|
|
67
|
-
def recurring_run_service_create_recurring_run_with_http_info(self,
|
|
67
|
+
def recurring_run_service_create_recurring_run_with_http_info(self, recurring_run, **kwargs): # noqa: E501
|
|
68
68
|
"""Creates a new recurring run in an experiment, given the experiment ID. # noqa: E501
|
|
69
69
|
|
|
70
70
|
This method makes a synchronous HTTP request by default. To make an
|
|
71
71
|
asynchronous HTTP request, please pass async_req=True
|
|
72
72
|
|
|
73
|
-
>>> thread = api.recurring_run_service_create_recurring_run_with_http_info(
|
|
73
|
+
>>> thread = api.recurring_run_service_create_recurring_run_with_http_info(recurring_run, async_req=True)
|
|
74
74
|
>>> result = thread.get()
|
|
75
75
|
|
|
76
|
-
:param
|
|
77
|
-
:type
|
|
76
|
+
:param recurring_run: The recurring run to be created. (required)
|
|
77
|
+
:type recurring_run: V2beta1RecurringRun
|
|
78
78
|
:param async_req: Whether to execute the request asynchronously.
|
|
79
79
|
:type async_req: bool, optional
|
|
80
80
|
:param _return_http_data_only: response data without head status code
|
|
@@ -97,7 +97,7 @@ class RecurringRunServiceApi(object):
|
|
|
97
97
|
local_var_params = locals()
|
|
98
98
|
|
|
99
99
|
all_params = [
|
|
100
|
-
'
|
|
100
|
+
'recurring_run'
|
|
101
101
|
]
|
|
102
102
|
all_params.extend(
|
|
103
103
|
[
|
|
@@ -116,10 +116,10 @@ class RecurringRunServiceApi(object):
|
|
|
116
116
|
)
|
|
117
117
|
local_var_params[key] = val
|
|
118
118
|
del local_var_params['kwargs']
|
|
119
|
-
# verify the required parameter '
|
|
120
|
-
if self.api_client.client_side_validation and ('
|
|
121
|
-
local_var_params['
|
|
122
|
-
raise ApiValueError("Missing the required parameter `
|
|
119
|
+
# verify the required parameter 'recurring_run' is set
|
|
120
|
+
if self.api_client.client_side_validation and ('recurring_run' not in local_var_params or # noqa: E501
|
|
121
|
+
local_var_params['recurring_run'] is None): # noqa: E501
|
|
122
|
+
raise ApiValueError("Missing the required parameter `recurring_run` when calling `recurring_run_service_create_recurring_run`") # noqa: E501
|
|
123
123
|
|
|
124
124
|
collection_formats = {}
|
|
125
125
|
|
|
@@ -133,8 +133,8 @@ class RecurringRunServiceApi(object):
|
|
|
133
133
|
local_var_files = {}
|
|
134
134
|
|
|
135
135
|
body_params = None
|
|
136
|
-
if '
|
|
137
|
-
body_params = local_var_params['
|
|
136
|
+
if 'recurring_run' in local_var_params:
|
|
137
|
+
body_params = local_var_params['recurring_run']
|
|
138
138
|
# HTTP header `Accept`
|
|
139
139
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
140
140
|
['application/json']) # noqa: E501
|