kfp-server-api 2.0.5__tar.gz → 2.2.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.0.5 → kfp-server-api-2.2.0}/PKG-INFO +1 -1
- kfp-server-api-2.2.0/README.md +202 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/__init__.py +2 -1
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/auth_service_api.py +8 -8
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/experiment_service_api.py +41 -41
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/healthz_service_api.py +6 -6
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/pipeline_service_api.py +72 -72
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/recurring_run_service_api.py +41 -41
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/report_service_api.py +18 -18
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/run_service_api.py +72 -65
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/visualization_service_api.py +10 -10
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api_client.py +1 -1
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/configuration.py +2 -2
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/__init__.py +1 -0
- kfp-server-api-2.2.0/kfp_server_api/models/runtime_error.py +198 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_recurring_run.py +2 -2
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_run.py +2 -2
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api.egg-info/PKG-INFO +1 -1
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api.egg-info/SOURCES.txt +2 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/setup.py +1 -1
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_auth_service_api.py +2 -2
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_experiment_service_api.py +12 -12
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_healthz_service_api.py +2 -2
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_pipeline_service_api.py +20 -20
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_recurring_run_service_api.py +12 -12
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_report_service_api.py +4 -4
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_run_service_api.py +18 -18
- kfp-server-api-2.2.0/test/test_runtime_error.py +59 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_visualization_service_api.py +2 -2
- kfp-server-api-2.0.5/README.md +0 -201
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/LICENSE +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/__init__.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/api/pipeline_upload_service_api.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/exceptions.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/authorize_request_resources.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/authorize_request_verb.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/googlerpc_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/pipeline_task_detail_child_task.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/predicate_int_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/predicate_long_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/predicate_string_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/protobuf_any.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/protobuf_null_value.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/recurring_run_mode.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_artifact_list.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_create_pipeline_and_version_request.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_cron_schedule.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_experiment.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_experiment_storage_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_filter.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_get_healthz_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_list_experiments_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_list_pipeline_versions_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_list_pipelines_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_list_recurring_runs_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_list_runs_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_periodic_schedule.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_pipeline.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_pipeline_task_detail.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_pipeline_version.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_pipeline_version_reference.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_predicate.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_predicate_operation.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_read_artifact_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_recurring_run_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_run_details.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_run_storage_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_runtime_config.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_runtime_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_runtime_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_trigger.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_url.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_visualization.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/models/v2beta1_visualization_type.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api/rest.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api.egg-info/dependency_links.txt +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api.egg-info/requires.txt +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/kfp_server_api.egg-info/top_level.txt +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/setup.cfg +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_authorize_request_resources.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_authorize_request_verb.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_googlerpc_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_pipeline_task_detail_child_task.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_pipeline_upload_service_api.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_predicate_int_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_predicate_long_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_predicate_string_values.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_protobuf_any.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_protobuf_null_value.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_recurring_run_mode.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_artifact_list.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_create_pipeline_and_version_request.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_cron_schedule.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_experiment.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_experiment_storage_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_filter.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_get_healthz_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_list_experiments_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_list_pipeline_versions_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_list_pipelines_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_list_recurring_runs_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_list_runs_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_periodic_schedule.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_pipeline.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_pipeline_task_detail.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_pipeline_task_executor_detail.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_pipeline_version.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_pipeline_version_reference.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_predicate.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_predicate_operation.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_read_artifact_response.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_recurring_run.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_recurring_run_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_run.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_run_details.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_run_storage_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_runtime_config.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_runtime_state.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_runtime_status.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_trigger.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_url.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_visualization.py +0 -0
- {kfp-server-api-2.0.5 → kfp-server-api-2.2.0}/test/test_v2beta1_visualization_type.py +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# kfp-server-api
|
|
2
|
+
This file contains REST API specification for Kubeflow Pipelines. The file is autogenerated from the swagger definition.
|
|
3
|
+
|
|
4
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
|
+
|
|
6
|
+
- API version: 2.2.0
|
|
7
|
+
- Package version: 2.2.0
|
|
8
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
9
|
+
For more information, please visit [https://www.google.com](https://www.google.com)
|
|
10
|
+
|
|
11
|
+
## Requirements.
|
|
12
|
+
|
|
13
|
+
Python 2.7 and 3.4+
|
|
14
|
+
|
|
15
|
+
## Installation & Usage
|
|
16
|
+
### pip install
|
|
17
|
+
|
|
18
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
22
|
+
```
|
|
23
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
24
|
+
|
|
25
|
+
Then import the package:
|
|
26
|
+
```python
|
|
27
|
+
import kfp_server_api
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Setuptools
|
|
31
|
+
|
|
32
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
python setup.py install --user
|
|
36
|
+
```
|
|
37
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
38
|
+
|
|
39
|
+
Then import the package:
|
|
40
|
+
```python
|
|
41
|
+
import kfp_server_api
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Getting Started
|
|
45
|
+
|
|
46
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from __future__ import print_function
|
|
50
|
+
|
|
51
|
+
import time
|
|
52
|
+
import kfp_server_api
|
|
53
|
+
from kfp_server_api.rest import ApiException
|
|
54
|
+
from pprint import pprint
|
|
55
|
+
|
|
56
|
+
# Defining the host is optional and defaults to http://localhost
|
|
57
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
58
|
+
configuration = kfp_server_api.Configuration(
|
|
59
|
+
host = "http://localhost"
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
# The client must configure the authentication and authorization parameters
|
|
63
|
+
# in accordance with the API server security policy.
|
|
64
|
+
# Examples for each auth method are provided below, use the example that
|
|
65
|
+
# satisfies your auth use case.
|
|
66
|
+
|
|
67
|
+
# Configure API key authorization: Bearer
|
|
68
|
+
configuration = kfp_server_api.Configuration(
|
|
69
|
+
host = "http://localhost",
|
|
70
|
+
api_key = {
|
|
71
|
+
'authorization': 'YOUR_API_KEY'
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
75
|
+
# configuration.api_key_prefix['authorization'] = 'Bearer'
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
# Enter a context with an instance of the API client
|
|
79
|
+
with kfp_server_api.ApiClient(configuration) as api_client:
|
|
80
|
+
# Create an instance of the API class
|
|
81
|
+
api_instance = kfp_server_api.AuthServiceApi(api_client)
|
|
82
|
+
namespace = 'namespace_example' # str | (optional)
|
|
83
|
+
resources = 'UNASSIGNED_RESOURCES' # str | (optional) (default to 'UNASSIGNED_RESOURCES')
|
|
84
|
+
verb = 'UNASSIGNED_VERB' # str | (optional) (default to 'UNASSIGNED_VERB')
|
|
85
|
+
|
|
86
|
+
try:
|
|
87
|
+
api_response = api_instance.auth_service_authorize(namespace=namespace, resources=resources, verb=verb)
|
|
88
|
+
pprint(api_response)
|
|
89
|
+
except ApiException as e:
|
|
90
|
+
print("Exception when calling AuthServiceApi->auth_service_authorize: %s\n" % e)
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Documentation for API Endpoints
|
|
95
|
+
|
|
96
|
+
All URIs are relative to *http://localhost*
|
|
97
|
+
|
|
98
|
+
Class | Method | HTTP request | Description
|
|
99
|
+
------------ | ------------- | ------------- | -------------
|
|
100
|
+
*AuthServiceApi* | [**auth_service_authorize**](docs/AuthServiceApi.md#auth_service_authorize) | **GET** /apis/v2beta1/auth |
|
|
101
|
+
*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
|
+
*ExperimentServiceApi* | [**experiment_service_create_experiment**](docs/ExperimentServiceApi.md#experiment_service_create_experiment) | **POST** /apis/v2beta1/experiments | Creates a new experiment.
|
|
103
|
+
*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.
|
|
104
|
+
*ExperimentServiceApi* | [**experiment_service_get_experiment**](docs/ExperimentServiceApi.md#experiment_service_get_experiment) | **GET** /apis/v2beta1/experiments/{experiment_id} | Finds a specific experiment by ID.
|
|
105
|
+
*ExperimentServiceApi* | [**experiment_service_list_experiments**](docs/ExperimentServiceApi.md#experiment_service_list_experiments) | **GET** /apis/v2beta1/experiments | Finds all experiments. Supports pagination, and sorting on certain fields.
|
|
106
|
+
*ExperimentServiceApi* | [**experiment_service_unarchive_experiment**](docs/ExperimentServiceApi.md#experiment_service_unarchive_experiment) | **POST** /apis/v2beta1/experiments/{experiment_id}:unarchive | Restores an archived experiment. The experiment's archived runs and recurring runs will stay archived.
|
|
107
|
+
*HealthzServiceApi* | [**healthz_service_get_healthz**](docs/HealthzServiceApi.md#healthz_service_get_healthz) | **GET** /apis/v2beta1/healthz | Get healthz data.
|
|
108
|
+
*PipelineServiceApi* | [**pipeline_service_create_pipeline**](docs/PipelineServiceApi.md#pipeline_service_create_pipeline) | **POST** /apis/v2beta1/pipelines | Creates a pipeline.
|
|
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
|
+
*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 an empty pipeline by ID. Returns error if the pipeline has pipeline versions.
|
|
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
|
+
*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
|
+
*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.
|
|
115
|
+
*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
|
+
*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
|
+
*PipelineServiceApi* | [**pipeline_service_list_pipelines**](docs/PipelineServiceApi.md#pipeline_service_list_pipelines) | **GET** /apis/v2beta1/pipelines | Finds all pipelines within a namespace.
|
|
118
|
+
*PipelineUploadServiceApi* | [**upload_pipeline**](docs/PipelineUploadServiceApi.md#upload_pipeline) | **POST** /apis/v2beta1/pipelines/upload |
|
|
119
|
+
*PipelineUploadServiceApi* | [**upload_pipeline_version**](docs/PipelineUploadServiceApi.md#upload_pipeline_version) | **POST** /apis/v2beta1/pipelines/upload_version |
|
|
120
|
+
*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.
|
|
121
|
+
*RecurringRunServiceApi* | [**recurring_run_service_delete_recurring_run**](docs/RecurringRunServiceApi.md#recurring_run_service_delete_recurring_run) | **DELETE** /apis/v2beta1/recurringruns/{recurring_run_id} | Deletes a recurring run.
|
|
122
|
+
*RecurringRunServiceApi* | [**recurring_run_service_disable_recurring_run**](docs/RecurringRunServiceApi.md#recurring_run_service_disable_recurring_run) | **POST** /apis/v2beta1/recurringruns/{recurring_run_id}:disable | Stops a recurring run and all its associated runs. The recurring run is not deleted.
|
|
123
|
+
*RecurringRunServiceApi* | [**recurring_run_service_enable_recurring_run**](docs/RecurringRunServiceApi.md#recurring_run_service_enable_recurring_run) | **POST** /apis/v2beta1/recurringruns/{recurring_run_id}:enable | Restarts a recurring run that was previously stopped. All runs associated with the recurring run will continue.
|
|
124
|
+
*RecurringRunServiceApi* | [**recurring_run_service_get_recurring_run**](docs/RecurringRunServiceApi.md#recurring_run_service_get_recurring_run) | **GET** /apis/v2beta1/recurringruns/{recurring_run_id} | Finds a specific recurring run by ID.
|
|
125
|
+
*RecurringRunServiceApi* | [**recurring_run_service_list_recurring_runs**](docs/RecurringRunServiceApi.md#recurring_run_service_list_recurring_runs) | **GET** /apis/v2beta1/recurringruns | Finds all recurring runs given experiment and namespace. If experiment ID is not specified, find all recurring runs across all experiments.
|
|
126
|
+
*ReportServiceApi* | [**report_service_report_scheduled_workflow**](docs/ReportServiceApi.md#report_service_report_scheduled_workflow) | **POST** /apis/v2beta1/scheduledworkflows |
|
|
127
|
+
*ReportServiceApi* | [**report_service_report_workflow**](docs/ReportServiceApi.md#report_service_report_workflow) | **POST** /apis/v2beta1/workflows |
|
|
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. If experiment ID is not specified, the run is created in the default experiment.
|
|
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
|
+
*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. If experiment id is not specified, finds all runs across all experiments.
|
|
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
|
+
*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
|
+
*RunServiceApi* | [**run_service_terminate_run**](docs/RunServiceApi.md#run_service_terminate_run) | **POST** /apis/v2beta1/runs/{run_id}:terminate | Terminates an active run.
|
|
136
|
+
*RunServiceApi* | [**run_service_unarchive_run**](docs/RunServiceApi.md#run_service_unarchive_run) | **POST** /apis/v2beta1/runs/{run_id}:unarchive | Restores an archived run in an experiment given by run ID and experiment ID.
|
|
137
|
+
*VisualizationServiceApi* | [**visualization_service_create_visualization_v1**](docs/VisualizationServiceApi.md#visualization_service_create_visualization_v1) | **POST** /apis/v2beta1/visualizations/{namespace} |
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## Documentation For Models
|
|
141
|
+
|
|
142
|
+
- [AuthorizeRequestResources](docs/AuthorizeRequestResources.md)
|
|
143
|
+
- [AuthorizeRequestVerb](docs/AuthorizeRequestVerb.md)
|
|
144
|
+
- [GooglerpcStatus](docs/GooglerpcStatus.md)
|
|
145
|
+
- [PipelineTaskDetailChildTask](docs/PipelineTaskDetailChildTask.md)
|
|
146
|
+
- [PredicateIntValues](docs/PredicateIntValues.md)
|
|
147
|
+
- [PredicateLongValues](docs/PredicateLongValues.md)
|
|
148
|
+
- [PredicateStringValues](docs/PredicateStringValues.md)
|
|
149
|
+
- [ProtobufAny](docs/ProtobufAny.md)
|
|
150
|
+
- [ProtobufNullValue](docs/ProtobufNullValue.md)
|
|
151
|
+
- [RecurringRunMode](docs/RecurringRunMode.md)
|
|
152
|
+
- [RuntimeError](docs/RuntimeError.md)
|
|
153
|
+
- [V2beta1ArtifactList](docs/V2beta1ArtifactList.md)
|
|
154
|
+
- [V2beta1CreatePipelineAndVersionRequest](docs/V2beta1CreatePipelineAndVersionRequest.md)
|
|
155
|
+
- [V2beta1CronSchedule](docs/V2beta1CronSchedule.md)
|
|
156
|
+
- [V2beta1Experiment](docs/V2beta1Experiment.md)
|
|
157
|
+
- [V2beta1ExperimentStorageState](docs/V2beta1ExperimentStorageState.md)
|
|
158
|
+
- [V2beta1Filter](docs/V2beta1Filter.md)
|
|
159
|
+
- [V2beta1GetHealthzResponse](docs/V2beta1GetHealthzResponse.md)
|
|
160
|
+
- [V2beta1ListExperimentsResponse](docs/V2beta1ListExperimentsResponse.md)
|
|
161
|
+
- [V2beta1ListPipelineVersionsResponse](docs/V2beta1ListPipelineVersionsResponse.md)
|
|
162
|
+
- [V2beta1ListPipelinesResponse](docs/V2beta1ListPipelinesResponse.md)
|
|
163
|
+
- [V2beta1ListRecurringRunsResponse](docs/V2beta1ListRecurringRunsResponse.md)
|
|
164
|
+
- [V2beta1ListRunsResponse](docs/V2beta1ListRunsResponse.md)
|
|
165
|
+
- [V2beta1PeriodicSchedule](docs/V2beta1PeriodicSchedule.md)
|
|
166
|
+
- [V2beta1Pipeline](docs/V2beta1Pipeline.md)
|
|
167
|
+
- [V2beta1PipelineTaskDetail](docs/V2beta1PipelineTaskDetail.md)
|
|
168
|
+
- [V2beta1PipelineTaskExecutorDetail](docs/V2beta1PipelineTaskExecutorDetail.md)
|
|
169
|
+
- [V2beta1PipelineVersion](docs/V2beta1PipelineVersion.md)
|
|
170
|
+
- [V2beta1PipelineVersionReference](docs/V2beta1PipelineVersionReference.md)
|
|
171
|
+
- [V2beta1Predicate](docs/V2beta1Predicate.md)
|
|
172
|
+
- [V2beta1PredicateOperation](docs/V2beta1PredicateOperation.md)
|
|
173
|
+
- [V2beta1ReadArtifactResponse](docs/V2beta1ReadArtifactResponse.md)
|
|
174
|
+
- [V2beta1RecurringRun](docs/V2beta1RecurringRun.md)
|
|
175
|
+
- [V2beta1RecurringRunStatus](docs/V2beta1RecurringRunStatus.md)
|
|
176
|
+
- [V2beta1Run](docs/V2beta1Run.md)
|
|
177
|
+
- [V2beta1RunDetails](docs/V2beta1RunDetails.md)
|
|
178
|
+
- [V2beta1RunStorageState](docs/V2beta1RunStorageState.md)
|
|
179
|
+
- [V2beta1RuntimeConfig](docs/V2beta1RuntimeConfig.md)
|
|
180
|
+
- [V2beta1RuntimeState](docs/V2beta1RuntimeState.md)
|
|
181
|
+
- [V2beta1RuntimeStatus](docs/V2beta1RuntimeStatus.md)
|
|
182
|
+
- [V2beta1Trigger](docs/V2beta1Trigger.md)
|
|
183
|
+
- [V2beta1Url](docs/V2beta1Url.md)
|
|
184
|
+
- [V2beta1Visualization](docs/V2beta1Visualization.md)
|
|
185
|
+
- [V2beta1VisualizationType](docs/V2beta1VisualizationType.md)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
## Documentation For Authorization
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## Bearer
|
|
192
|
+
|
|
193
|
+
- **Type**: API key
|
|
194
|
+
- **API key parameter name**: authorization
|
|
195
|
+
- **Location**: HTTP header
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
## Author
|
|
199
|
+
|
|
200
|
+
kubeflow-pipelines@google.com
|
|
201
|
+
|
|
202
|
+
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
|
-
__version__ = "2.0
|
|
17
|
+
__version__ = "2.2.0"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from kfp_server_api.api.auth_service_api import AuthServiceApi
|
|
@@ -46,6 +46,7 @@ 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
|
|
49
50
|
from kfp_server_api.models.v2beta1_artifact_list import V2beta1ArtifactList
|
|
50
51
|
from kfp_server_api.models.v2beta1_create_pipeline_and_version_request import V2beta1CreatePipelineAndVersionRequest
|
|
51
52
|
from kfp_server_api.models.v2beta1_cron_schedule import V2beta1CronSchedule
|
|
@@ -36,13 +36,13 @@ class AuthServiceApi(object):
|
|
|
36
36
|
api_client = ApiClient()
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
|
-
def
|
|
40
|
-
"""
|
|
39
|
+
def auth_service_authorize(self, **kwargs): # noqa: E501
|
|
40
|
+
"""auth_service_authorize # 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.
|
|
45
|
+
>>> thread = api.auth_service_authorize(async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
48
|
:param namespace:
|
|
@@ -66,15 +66,15 @@ class AuthServiceApi(object):
|
|
|
66
66
|
:rtype: object
|
|
67
67
|
"""
|
|
68
68
|
kwargs['_return_http_data_only'] = True
|
|
69
|
-
return self.
|
|
69
|
+
return self.auth_service_authorize_with_http_info(**kwargs) # noqa: E501
|
|
70
70
|
|
|
71
|
-
def
|
|
72
|
-
"""
|
|
71
|
+
def auth_service_authorize_with_http_info(self, **kwargs): # noqa: E501
|
|
72
|
+
"""auth_service_authorize # noqa: E501
|
|
73
73
|
|
|
74
74
|
This method makes a synchronous HTTP request by default. To make an
|
|
75
75
|
asynchronous HTTP request, please pass async_req=True
|
|
76
76
|
|
|
77
|
-
>>> thread = api.
|
|
77
|
+
>>> thread = api.auth_service_authorize_with_http_info(async_req=True)
|
|
78
78
|
>>> result = thread.get()
|
|
79
79
|
|
|
80
80
|
:param namespace:
|
|
@@ -122,7 +122,7 @@ class AuthServiceApi(object):
|
|
|
122
122
|
if key not in all_params:
|
|
123
123
|
raise ApiTypeError(
|
|
124
124
|
"Got an unexpected keyword argument '%s'"
|
|
125
|
-
" to method
|
|
125
|
+
" to method auth_service_authorize" % key
|
|
126
126
|
)
|
|
127
127
|
local_var_params[key] = val
|
|
128
128
|
del local_var_params['kwargs']
|
|
@@ -36,13 +36,13 @@ class ExperimentServiceApi(object):
|
|
|
36
36
|
api_client = ApiClient()
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
|
-
def
|
|
39
|
+
def experiment_service_archive_experiment(self, experiment_id, **kwargs): # noqa: E501
|
|
40
40
|
"""Archives an experiment and the experiment's runs and recurring runs. # 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.
|
|
45
|
+
>>> thread = api.experiment_service_archive_experiment(experiment_id, async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
48
|
:param experiment_id: The ID of the experiment to be archived. (required)
|
|
@@ -62,15 +62,15 @@ class ExperimentServiceApi(object):
|
|
|
62
62
|
:rtype: object
|
|
63
63
|
"""
|
|
64
64
|
kwargs['_return_http_data_only'] = True
|
|
65
|
-
return self.
|
|
65
|
+
return self.experiment_service_archive_experiment_with_http_info(experiment_id, **kwargs) # noqa: E501
|
|
66
66
|
|
|
67
|
-
def
|
|
67
|
+
def experiment_service_archive_experiment_with_http_info(self, experiment_id, **kwargs): # noqa: E501
|
|
68
68
|
"""Archives an experiment and the experiment's runs and recurring runs. # 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.
|
|
73
|
+
>>> thread = api.experiment_service_archive_experiment_with_http_info(experiment_id, async_req=True)
|
|
74
74
|
>>> result = thread.get()
|
|
75
75
|
|
|
76
76
|
:param experiment_id: The ID of the experiment to be archived. (required)
|
|
@@ -112,14 +112,14 @@ class ExperimentServiceApi(object):
|
|
|
112
112
|
if key not in all_params:
|
|
113
113
|
raise ApiTypeError(
|
|
114
114
|
"Got an unexpected keyword argument '%s'"
|
|
115
|
-
" to method
|
|
115
|
+
" to method experiment_service_archive_experiment" % key
|
|
116
116
|
)
|
|
117
117
|
local_var_params[key] = val
|
|
118
118
|
del local_var_params['kwargs']
|
|
119
119
|
# verify the required parameter 'experiment_id' is set
|
|
120
120
|
if self.api_client.client_side_validation and ('experiment_id' not in local_var_params or # noqa: E501
|
|
121
121
|
local_var_params['experiment_id'] is None): # noqa: E501
|
|
122
|
-
raise ApiValueError("Missing the required parameter `experiment_id` when calling `
|
|
122
|
+
raise ApiValueError("Missing the required parameter `experiment_id` when calling `experiment_service_archive_experiment`") # noqa: E501
|
|
123
123
|
|
|
124
124
|
collection_formats = {}
|
|
125
125
|
|
|
@@ -158,13 +158,13 @@ class ExperimentServiceApi(object):
|
|
|
158
158
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
159
159
|
collection_formats=collection_formats)
|
|
160
160
|
|
|
161
|
-
def
|
|
161
|
+
def experiment_service_create_experiment(self, body, **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.
|
|
167
|
+
>>> thread = api.experiment_service_create_experiment(body, async_req=True)
|
|
168
168
|
>>> result = thread.get()
|
|
169
169
|
|
|
170
170
|
:param body: The experiment to be created. (required)
|
|
@@ -184,15 +184,15 @@ class ExperimentServiceApi(object):
|
|
|
184
184
|
:rtype: V2beta1Experiment
|
|
185
185
|
"""
|
|
186
186
|
kwargs['_return_http_data_only'] = True
|
|
187
|
-
return self.
|
|
187
|
+
return self.experiment_service_create_experiment_with_http_info(body, **kwargs) # noqa: E501
|
|
188
188
|
|
|
189
|
-
def
|
|
189
|
+
def experiment_service_create_experiment_with_http_info(self, body, **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.
|
|
195
|
+
>>> thread = api.experiment_service_create_experiment_with_http_info(body, async_req=True)
|
|
196
196
|
>>> result = thread.get()
|
|
197
197
|
|
|
198
198
|
:param body: The experiment to be created. (required)
|
|
@@ -234,14 +234,14 @@ class ExperimentServiceApi(object):
|
|
|
234
234
|
if key not in all_params:
|
|
235
235
|
raise ApiTypeError(
|
|
236
236
|
"Got an unexpected keyword argument '%s'"
|
|
237
|
-
" to method
|
|
237
|
+
" to method experiment_service_create_experiment" % key
|
|
238
238
|
)
|
|
239
239
|
local_var_params[key] = val
|
|
240
240
|
del local_var_params['kwargs']
|
|
241
241
|
# verify the required parameter 'body' is set
|
|
242
242
|
if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501
|
|
243
243
|
local_var_params['body'] is None): # noqa: E501
|
|
244
|
-
raise ApiValueError("Missing the required parameter `body` when calling `
|
|
244
|
+
raise ApiValueError("Missing the required parameter `body` when calling `experiment_service_create_experiment`") # noqa: E501
|
|
245
245
|
|
|
246
246
|
collection_formats = {}
|
|
247
247
|
|
|
@@ -284,13 +284,13 @@ class ExperimentServiceApi(object):
|
|
|
284
284
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
285
285
|
collection_formats=collection_formats)
|
|
286
286
|
|
|
287
|
-
def
|
|
287
|
+
def experiment_service_delete_experiment(self, experiment_id, **kwargs): # noqa: E501
|
|
288
288
|
"""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. # noqa: E501
|
|
289
289
|
|
|
290
290
|
This method makes a synchronous HTTP request by default. To make an
|
|
291
291
|
asynchronous HTTP request, please pass async_req=True
|
|
292
292
|
|
|
293
|
-
>>> thread = api.
|
|
293
|
+
>>> thread = api.experiment_service_delete_experiment(experiment_id, async_req=True)
|
|
294
294
|
>>> result = thread.get()
|
|
295
295
|
|
|
296
296
|
:param experiment_id: The ID of the experiment to be deleted. (required)
|
|
@@ -310,15 +310,15 @@ class ExperimentServiceApi(object):
|
|
|
310
310
|
:rtype: object
|
|
311
311
|
"""
|
|
312
312
|
kwargs['_return_http_data_only'] = True
|
|
313
|
-
return self.
|
|
313
|
+
return self.experiment_service_delete_experiment_with_http_info(experiment_id, **kwargs) # noqa: E501
|
|
314
314
|
|
|
315
|
-
def
|
|
315
|
+
def experiment_service_delete_experiment_with_http_info(self, experiment_id, **kwargs): # noqa: E501
|
|
316
316
|
"""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. # noqa: E501
|
|
317
317
|
|
|
318
318
|
This method makes a synchronous HTTP request by default. To make an
|
|
319
319
|
asynchronous HTTP request, please pass async_req=True
|
|
320
320
|
|
|
321
|
-
>>> thread = api.
|
|
321
|
+
>>> thread = api.experiment_service_delete_experiment_with_http_info(experiment_id, async_req=True)
|
|
322
322
|
>>> result = thread.get()
|
|
323
323
|
|
|
324
324
|
:param experiment_id: The ID of the experiment to be deleted. (required)
|
|
@@ -360,14 +360,14 @@ class ExperimentServiceApi(object):
|
|
|
360
360
|
if key not in all_params:
|
|
361
361
|
raise ApiTypeError(
|
|
362
362
|
"Got an unexpected keyword argument '%s'"
|
|
363
|
-
" to method
|
|
363
|
+
" to method experiment_service_delete_experiment" % key
|
|
364
364
|
)
|
|
365
365
|
local_var_params[key] = val
|
|
366
366
|
del local_var_params['kwargs']
|
|
367
367
|
# verify the required parameter 'experiment_id' is set
|
|
368
368
|
if self.api_client.client_side_validation and ('experiment_id' not in local_var_params or # noqa: E501
|
|
369
369
|
local_var_params['experiment_id'] is None): # noqa: E501
|
|
370
|
-
raise ApiValueError("Missing the required parameter `experiment_id` when calling `
|
|
370
|
+
raise ApiValueError("Missing the required parameter `experiment_id` when calling `experiment_service_delete_experiment`") # noqa: E501
|
|
371
371
|
|
|
372
372
|
collection_formats = {}
|
|
373
373
|
|
|
@@ -406,13 +406,13 @@ class ExperimentServiceApi(object):
|
|
|
406
406
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
407
407
|
collection_formats=collection_formats)
|
|
408
408
|
|
|
409
|
-
def
|
|
409
|
+
def experiment_service_get_experiment(self, experiment_id, **kwargs): # noqa: E501
|
|
410
410
|
"""Finds a specific experiment by ID. # noqa: E501
|
|
411
411
|
|
|
412
412
|
This method makes a synchronous HTTP request by default. To make an
|
|
413
413
|
asynchronous HTTP request, please pass async_req=True
|
|
414
414
|
|
|
415
|
-
>>> thread = api.
|
|
415
|
+
>>> thread = api.experiment_service_get_experiment(experiment_id, async_req=True)
|
|
416
416
|
>>> result = thread.get()
|
|
417
417
|
|
|
418
418
|
:param experiment_id: The ID of the experiment to be retrieved. (required)
|
|
@@ -432,15 +432,15 @@ class ExperimentServiceApi(object):
|
|
|
432
432
|
:rtype: V2beta1Experiment
|
|
433
433
|
"""
|
|
434
434
|
kwargs['_return_http_data_only'] = True
|
|
435
|
-
return self.
|
|
435
|
+
return self.experiment_service_get_experiment_with_http_info(experiment_id, **kwargs) # noqa: E501
|
|
436
436
|
|
|
437
|
-
def
|
|
437
|
+
def experiment_service_get_experiment_with_http_info(self, experiment_id, **kwargs): # noqa: E501
|
|
438
438
|
"""Finds a specific experiment by ID. # noqa: E501
|
|
439
439
|
|
|
440
440
|
This method makes a synchronous HTTP request by default. To make an
|
|
441
441
|
asynchronous HTTP request, please pass async_req=True
|
|
442
442
|
|
|
443
|
-
>>> thread = api.
|
|
443
|
+
>>> thread = api.experiment_service_get_experiment_with_http_info(experiment_id, async_req=True)
|
|
444
444
|
>>> result = thread.get()
|
|
445
445
|
|
|
446
446
|
:param experiment_id: The ID of the experiment to be retrieved. (required)
|
|
@@ -482,14 +482,14 @@ class ExperimentServiceApi(object):
|
|
|
482
482
|
if key not in all_params:
|
|
483
483
|
raise ApiTypeError(
|
|
484
484
|
"Got an unexpected keyword argument '%s'"
|
|
485
|
-
" to method
|
|
485
|
+
" to method experiment_service_get_experiment" % key
|
|
486
486
|
)
|
|
487
487
|
local_var_params[key] = val
|
|
488
488
|
del local_var_params['kwargs']
|
|
489
489
|
# verify the required parameter 'experiment_id' is set
|
|
490
490
|
if self.api_client.client_side_validation and ('experiment_id' not in local_var_params or # noqa: E501
|
|
491
491
|
local_var_params['experiment_id'] is None): # noqa: E501
|
|
492
|
-
raise ApiValueError("Missing the required parameter `experiment_id` when calling `
|
|
492
|
+
raise ApiValueError("Missing the required parameter `experiment_id` when calling `experiment_service_get_experiment`") # noqa: E501
|
|
493
493
|
|
|
494
494
|
collection_formats = {}
|
|
495
495
|
|
|
@@ -528,13 +528,13 @@ class ExperimentServiceApi(object):
|
|
|
528
528
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
529
529
|
collection_formats=collection_formats)
|
|
530
530
|
|
|
531
|
-
def
|
|
531
|
+
def experiment_service_list_experiments(self, **kwargs): # noqa: E501
|
|
532
532
|
"""Finds all experiments. Supports pagination, and sorting on certain fields. # noqa: E501
|
|
533
533
|
|
|
534
534
|
This method makes a synchronous HTTP request by default. To make an
|
|
535
535
|
asynchronous HTTP request, please pass async_req=True
|
|
536
536
|
|
|
537
|
-
>>> thread = api.
|
|
537
|
+
>>> thread = api.experiment_service_list_experiments(async_req=True)
|
|
538
538
|
>>> result = thread.get()
|
|
539
539
|
|
|
540
540
|
:param page_token: A page token to request the next page of results. The token is acquried from the nextPageToken field of the response from the previous ListExperiments call or can be omitted when fetching the first page.
|
|
@@ -562,15 +562,15 @@ class ExperimentServiceApi(object):
|
|
|
562
562
|
:rtype: V2beta1ListExperimentsResponse
|
|
563
563
|
"""
|
|
564
564
|
kwargs['_return_http_data_only'] = True
|
|
565
|
-
return self.
|
|
565
|
+
return self.experiment_service_list_experiments_with_http_info(**kwargs) # noqa: E501
|
|
566
566
|
|
|
567
|
-
def
|
|
567
|
+
def experiment_service_list_experiments_with_http_info(self, **kwargs): # noqa: E501
|
|
568
568
|
"""Finds all experiments. Supports pagination, and sorting on certain fields. # noqa: E501
|
|
569
569
|
|
|
570
570
|
This method makes a synchronous HTTP request by default. To make an
|
|
571
571
|
asynchronous HTTP request, please pass async_req=True
|
|
572
572
|
|
|
573
|
-
>>> thread = api.
|
|
573
|
+
>>> thread = api.experiment_service_list_experiments_with_http_info(async_req=True)
|
|
574
574
|
>>> result = thread.get()
|
|
575
575
|
|
|
576
576
|
:param page_token: A page token to request the next page of results. The token is acquried from the nextPageToken field of the response from the previous ListExperiments call or can be omitted when fetching the first page.
|
|
@@ -624,7 +624,7 @@ class ExperimentServiceApi(object):
|
|
|
624
624
|
if key not in all_params:
|
|
625
625
|
raise ApiTypeError(
|
|
626
626
|
"Got an unexpected keyword argument '%s'"
|
|
627
|
-
" to method
|
|
627
|
+
" to method experiment_service_list_experiments" % key
|
|
628
628
|
)
|
|
629
629
|
local_var_params[key] = val
|
|
630
630
|
del local_var_params['kwargs']
|
|
@@ -674,13 +674,13 @@ class ExperimentServiceApi(object):
|
|
|
674
674
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
675
675
|
collection_formats=collection_formats)
|
|
676
676
|
|
|
677
|
-
def
|
|
677
|
+
def experiment_service_unarchive_experiment(self, experiment_id, **kwargs): # noqa: E501
|
|
678
678
|
"""Restores an archived experiment. The experiment's archived runs and recurring runs will stay archived. # noqa: E501
|
|
679
679
|
|
|
680
680
|
This method makes a synchronous HTTP request by default. To make an
|
|
681
681
|
asynchronous HTTP request, please pass async_req=True
|
|
682
682
|
|
|
683
|
-
>>> thread = api.
|
|
683
|
+
>>> thread = api.experiment_service_unarchive_experiment(experiment_id, async_req=True)
|
|
684
684
|
>>> result = thread.get()
|
|
685
685
|
|
|
686
686
|
:param experiment_id: The ID of the experiment to be restored. (required)
|
|
@@ -700,15 +700,15 @@ class ExperimentServiceApi(object):
|
|
|
700
700
|
:rtype: object
|
|
701
701
|
"""
|
|
702
702
|
kwargs['_return_http_data_only'] = True
|
|
703
|
-
return self.
|
|
703
|
+
return self.experiment_service_unarchive_experiment_with_http_info(experiment_id, **kwargs) # noqa: E501
|
|
704
704
|
|
|
705
|
-
def
|
|
705
|
+
def experiment_service_unarchive_experiment_with_http_info(self, experiment_id, **kwargs): # noqa: E501
|
|
706
706
|
"""Restores an archived experiment. The experiment's archived runs and recurring runs will stay archived. # noqa: E501
|
|
707
707
|
|
|
708
708
|
This method makes a synchronous HTTP request by default. To make an
|
|
709
709
|
asynchronous HTTP request, please pass async_req=True
|
|
710
710
|
|
|
711
|
-
>>> thread = api.
|
|
711
|
+
>>> thread = api.experiment_service_unarchive_experiment_with_http_info(experiment_id, async_req=True)
|
|
712
712
|
>>> result = thread.get()
|
|
713
713
|
|
|
714
714
|
:param experiment_id: The ID of the experiment to be restored. (required)
|
|
@@ -750,14 +750,14 @@ class ExperimentServiceApi(object):
|
|
|
750
750
|
if key not in all_params:
|
|
751
751
|
raise ApiTypeError(
|
|
752
752
|
"Got an unexpected keyword argument '%s'"
|
|
753
|
-
" to method
|
|
753
|
+
" to method experiment_service_unarchive_experiment" % key
|
|
754
754
|
)
|
|
755
755
|
local_var_params[key] = val
|
|
756
756
|
del local_var_params['kwargs']
|
|
757
757
|
# verify the required parameter 'experiment_id' is set
|
|
758
758
|
if self.api_client.client_side_validation and ('experiment_id' not in local_var_params or # noqa: E501
|
|
759
759
|
local_var_params['experiment_id'] is None): # noqa: E501
|
|
760
|
-
raise ApiValueError("Missing the required parameter `experiment_id` when calling `
|
|
760
|
+
raise ApiValueError("Missing the required parameter `experiment_id` when calling `experiment_service_unarchive_experiment`") # noqa: E501
|
|
761
761
|
|
|
762
762
|
collection_formats = {}
|
|
763
763
|
|
|
@@ -36,13 +36,13 @@ class HealthzServiceApi(object):
|
|
|
36
36
|
api_client = ApiClient()
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
|
-
def
|
|
39
|
+
def healthz_service_get_healthz(self, **kwargs): # noqa: E501
|
|
40
40
|
"""Get healthz data. # 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.
|
|
45
|
+
>>> thread = api.healthz_service_get_healthz(async_req=True)
|
|
46
46
|
>>> result = thread.get()
|
|
47
47
|
|
|
48
48
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -60,15 +60,15 @@ class HealthzServiceApi(object):
|
|
|
60
60
|
:rtype: V2beta1GetHealthzResponse
|
|
61
61
|
"""
|
|
62
62
|
kwargs['_return_http_data_only'] = True
|
|
63
|
-
return self.
|
|
63
|
+
return self.healthz_service_get_healthz_with_http_info(**kwargs) # noqa: E501
|
|
64
64
|
|
|
65
|
-
def
|
|
65
|
+
def healthz_service_get_healthz_with_http_info(self, **kwargs): # noqa: E501
|
|
66
66
|
"""Get healthz data. # noqa: E501
|
|
67
67
|
|
|
68
68
|
This method makes a synchronous HTTP request by default. To make an
|
|
69
69
|
asynchronous HTTP request, please pass async_req=True
|
|
70
70
|
|
|
71
|
-
>>> thread = api.
|
|
71
|
+
>>> thread = api.healthz_service_get_healthz_with_http_info(async_req=True)
|
|
72
72
|
>>> result = thread.get()
|
|
73
73
|
|
|
74
74
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -107,7 +107,7 @@ class HealthzServiceApi(object):
|
|
|
107
107
|
if key not in all_params:
|
|
108
108
|
raise ApiTypeError(
|
|
109
109
|
"Got an unexpected keyword argument '%s'"
|
|
110
|
-
" to method
|
|
110
|
+
" to method healthz_service_get_healthz" % key
|
|
111
111
|
)
|
|
112
112
|
local_var_params[key] = val
|
|
113
113
|
del local_var_params['kwargs']
|