anyscale 0.26.12__py3-none-any.whl → 0.26.13__py3-none-any.whl
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.
- anyscale/_private/docgen/__main__.py +0 -3
- anyscale/_private/docgen/api.md +0 -14
- anyscale/_private/docgen/models.md +2 -47
- anyscale/client/README.md +5 -7
- anyscale/client/openapi_client/__init__.py +4 -5
- anyscale/client/openapi_client/api/default_api.py +122 -233
- anyscale/client/openapi_client/models/__init__.py +4 -5
- anyscale/client/openapi_client/models/baseimagesenum.py +22 -1
- anyscale/client/openapi_client/models/dataset_dag.py +229 -0
- anyscale/client/openapi_client/models/{decoratedruntimeenv_response.py → dataset_dag_response.py} +22 -22
- anyscale/client/openapi_client/models/{operator_metric_id.py → operator_branch.py} +26 -26
- anyscale/client/openapi_client/models/{cluster_size.py → operator_id.py} +34 -16
- anyscale/client/openapi_client/models/operator_metrics.py +3 -30
- anyscale/client/openapi_client/models/organization_marketing_questions.py +15 -41
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +13 -13
- anyscale/sdk/anyscale_client/__init__.py +0 -3
- anyscale/sdk/anyscale_client/api/default_api.py +0 -232
- anyscale/sdk/anyscale_client/models/__init__.py +0 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +22 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +13 -13
- anyscale/version.py +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/METADATA +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/RECORD +28 -32
- anyscale/client/openapi_client/models/decorated_runtime_env.py +0 -488
- anyscale/client/openapi_client/models/decoratedruntimeenv_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/create_session.py +0 -432
- anyscale/sdk/anyscale_client/models/runtime_environment.py +0 -406
- anyscale/sdk/anyscale_client/models/runtimeenvironment_response.py +0 -121
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/LICENSE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/NOTICE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/WHEEL +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.13.dist-info}/top_level.txt +0 -0
anyscale/client/README.md
CHANGED
@@ -194,6 +194,7 @@ Class | Method | HTTP request | Description
|
|
194
194
|
*DefaultApi* | [**get_cluster_product_autoscaler_flag_api_v2_logs_cluster_product_autoscaler_flag_session_id_get**](docs/DefaultApi.md#get_cluster_product_autoscaler_flag_api_v2_logs_cluster_product_autoscaler_flag_session_id_get) | **GET** /api/v2/logs/cluster_product_autoscaler_flag/{session_id} | Get Cluster Product Autoscaler Flag
|
195
195
|
*DefaultApi* | [**get_compute_template_api_v2_compute_templates_template_id_get**](docs/DefaultApi.md#get_compute_template_api_v2_compute_templates_template_id_get) | **GET** /api/v2/compute_templates/{template_id} | Get Compute Template
|
196
196
|
*DefaultApi* | [**get_cron_job_api_v2_experimental_cron_jobs_cron_job_id_get**](docs/DefaultApi.md#get_cron_job_api_v2_experimental_cron_jobs_cron_job_id_get) | **GET** /api/v2/experimental_cron_jobs/{cron_job_id} | Get Cron Job
|
197
|
+
*DefaultApi* | [**get_dags_api_v2_dataset_runs_dags_get**](docs/DefaultApi.md#get_dags_api_v2_dataset_runs_dags_get) | **GET** /api/v2/dataset_runs/dags | Get Dags
|
197
198
|
*DefaultApi* | [**get_dashboard_api_v2_dataset_runs_get**](docs/DefaultApi.md#get_dashboard_api_v2_dataset_runs_get) | **GET** /api/v2/dataset_runs/ | Get Dashboard
|
198
199
|
*DefaultApi* | [**get_dataset_api_v2_datasets_dataset_id_get**](docs/DefaultApi.md#get_dataset_api_v2_datasets_dataset_id_get) | **GET** /api/v2/datasets/{dataset_id} | Get Dataset
|
199
200
|
*DefaultApi* | [**get_dataset_download_info_api_v2_datasets_download_info_get**](docs/DefaultApi.md#get_dataset_download_info_api_v2_datasets_download_info_get) | **GET** /api/v2/datasets/download_info | Get Dataset Download Info
|
@@ -201,7 +202,6 @@ Class | Method | HTTP request | Description
|
|
201
202
|
*DefaultApi* | [**get_decorated_cluster_api_v2_decorated_sessions_cluster_id_get**](docs/DefaultApi.md#get_decorated_cluster_api_v2_decorated_sessions_cluster_id_get) | **GET** /api/v2/decorated_sessions/{cluster_id} | Get Decorated Cluster
|
202
203
|
*DefaultApi* | [**get_decorated_interactive_session_api_v2_decorated_interactive_sessions_interactive_session_id_get**](docs/DefaultApi.md#get_decorated_interactive_session_api_v2_decorated_interactive_sessions_interactive_session_id_get) | **GET** /api/v2/decorated_interactive_sessions/{interactive_session_id} | Get Decorated Interactive Session
|
203
204
|
*DefaultApi* | [**get_decorated_job_api_v2_decorated_jobs_job_id_get**](docs/DefaultApi.md#get_decorated_job_api_v2_decorated_jobs_job_id_get) | **GET** /api/v2/decorated_jobs/{job_id} | Get Decorated Job
|
204
|
-
*DefaultApi* | [**get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get**](docs/DefaultApi.md#get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get) | **GET** /api/v2/decorated_runtime_envs/{runtime_env_id} | Get Decorated Runtime Env
|
205
205
|
*DefaultApi* | [**get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get**](docs/DefaultApi.md#get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get) | **GET** /api/v2/decorated_serve_deployments/{serve_deloyment_id} | Get Decorated Serve Deployment
|
206
206
|
*DefaultApi* | [**get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get**](docs/DefaultApi.md#get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get) | **GET** /api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status | Get Decorated Serve Deployment Fast Api Docs Status
|
207
207
|
*DefaultApi* | [**get_decorated_support_request_for_user_organization_api_v2_support_requests_get**](docs/DefaultApi.md#get_decorated_support_request_for_user_organization_api_v2_support_requests_get) | **GET** /api/v2/support_requests/ | Get Decorated Support Request For User Organization
|
@@ -291,7 +291,6 @@ Class | Method | HTTP request | Description
|
|
291
291
|
*DefaultApi* | [**list_decorated_clusters_api_v2_decorated_sessions_get**](docs/DefaultApi.md#list_decorated_clusters_api_v2_decorated_sessions_get) | **GET** /api/v2/decorated_sessions/ | List Decorated Clusters
|
292
292
|
*DefaultApi* | [**list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get**](docs/DefaultApi.md#list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get) | **GET** /api/v2/decorated_interactive_sessions/ | List Decorated Interactive Sessions
|
293
293
|
*DefaultApi* | [**list_decorated_jobs_api_v2_decorated_ha_jobs_get**](docs/DefaultApi.md#list_decorated_jobs_api_v2_decorated_ha_jobs_get) | **GET** /api/v2/decorated_ha_jobs/ | List Decorated Jobs
|
294
|
-
*DefaultApi* | [**list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get**](docs/DefaultApi.md#list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get) | **GET** /api/v2/decorated_runtime_envs/ | List Decorated Runtime Envs
|
295
294
|
*DefaultApi* | [**list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get**](docs/DefaultApi.md#list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get) | **GET** /api/v2/decorated_serve_deployments/ | List Decorated Serve Deployments
|
296
295
|
*DefaultApi* | [**list_instance_usage_budgets_api_v2_instance_usage_budgets_get**](docs/DefaultApi.md#list_instance_usage_budgets_api_v2_instance_usage_budgets_get) | **GET** /api/v2/instance_usage_budgets/ | List Instance Usage Budgets
|
297
296
|
*DefaultApi* | [**list_invitations_api_v2_organization_invitations_get**](docs/DefaultApi.md#list_invitations_api_v2_organization_invitations_get) | **GET** /api/v2/organization_invitations/ | List Invitations
|
@@ -509,7 +508,6 @@ Class | Method | HTTP request | Description
|
|
509
508
|
- [ClusterEventSource](docs/ClusterEventSource.md)
|
510
509
|
- [ClusterEventsOutput](docs/ClusterEventsOutput.md)
|
511
510
|
- [ClusterManagementStackVersions](docs/ClusterManagementStackVersions.md)
|
512
|
-
- [ClusterSize](docs/ClusterSize.md)
|
513
511
|
- [ClusterState](docs/ClusterState.md)
|
514
512
|
- [ClusterStatus](docs/ClusterStatus.md)
|
515
513
|
- [ClusterStatusDetails](docs/ClusterStatusDetails.md)
|
@@ -576,6 +574,8 @@ Class | Method | HTTP request | Description
|
|
576
574
|
- [CustomerAlertStatus](docs/CustomerAlertStatus.md)
|
577
575
|
- [DataplaneServices](docs/DataplaneServices.md)
|
578
576
|
- [Dataset](docs/Dataset.md)
|
577
|
+
- [DatasetDag](docs/DatasetDag.md)
|
578
|
+
- [DatasetDagResponse](docs/DatasetDagResponse.md)
|
579
579
|
- [DatasetJobs](docs/DatasetJobs.md)
|
580
580
|
- [DatasetListResponse](docs/DatasetListResponse.md)
|
581
581
|
- [DatasetMetrics](docs/DatasetMetrics.md)
|
@@ -594,7 +594,6 @@ Class | Method | HTTP request | Description
|
|
594
594
|
- [DecoratedProductionJobStateTransition](docs/DecoratedProductionJobStateTransition.md)
|
595
595
|
- [DecoratedProductionServiceV2APIModel](docs/DecoratedProductionServiceV2APIModel.md)
|
596
596
|
- [DecoratedProductionServiceV2VersionAPIModel](docs/DecoratedProductionServiceV2VersionAPIModel.md)
|
597
|
-
- [DecoratedRuntimeEnv](docs/DecoratedRuntimeEnv.md)
|
598
597
|
- [DecoratedSchedule](docs/DecoratedSchedule.md)
|
599
598
|
- [DecoratedServeDeployment](docs/DecoratedServeDeployment.md)
|
600
599
|
- [DecoratedServiceEventAPIModel](docs/DecoratedServiceEventAPIModel.md)
|
@@ -618,8 +617,6 @@ Class | Method | HTTP request | Description
|
|
618
617
|
- [DecoratedproductionjobstatetransitionListResponse](docs/DecoratedproductionjobstatetransitionListResponse.md)
|
619
618
|
- [Decoratedproductionservicev2ApimodelResponse](docs/Decoratedproductionservicev2ApimodelResponse.md)
|
620
619
|
- [Decoratedproductionservicev2VersionapimodelListResponse](docs/Decoratedproductionservicev2VersionapimodelListResponse.md)
|
621
|
-
- [DecoratedruntimeenvListResponse](docs/DecoratedruntimeenvListResponse.md)
|
622
|
-
- [DecoratedruntimeenvResponse](docs/DecoratedruntimeenvResponse.md)
|
623
620
|
- [DecoratedscheduleListResponse](docs/DecoratedscheduleListResponse.md)
|
624
621
|
- [DecoratedscheduleResponse](docs/DecoratedscheduleResponse.md)
|
625
622
|
- [DecoratedservedeploymentListResponse](docs/DecoratedservedeploymentListResponse.md)
|
@@ -771,7 +768,8 @@ Class | Method | HTTP request | Description
|
|
771
768
|
- [NotificationChannelEmailConfig](docs/NotificationChannelEmailConfig.md)
|
772
769
|
- [NotificationChannelSlackConfig](docs/NotificationChannelSlackConfig.md)
|
773
770
|
- [NotificationChannelWebhookConfig](docs/NotificationChannelWebhookConfig.md)
|
774
|
-
- [
|
771
|
+
- [OperatorBranch](docs/OperatorBranch.md)
|
772
|
+
- [OperatorId](docs/OperatorId.md)
|
775
773
|
- [OperatorMetrics](docs/OperatorMetrics.md)
|
776
774
|
- [Organization](docs/Organization.md)
|
777
775
|
- [OrganizationCollaborator](docs/OrganizationCollaborator.md)
|
@@ -144,7 +144,6 @@ from openapi_client.models.cluster_event import ClusterEvent
|
|
144
144
|
from openapi_client.models.cluster_event_source import ClusterEventSource
|
145
145
|
from openapi_client.models.cluster_events_output import ClusterEventsOutput
|
146
146
|
from openapi_client.models.cluster_management_stack_versions import ClusterManagementStackVersions
|
147
|
-
from openapi_client.models.cluster_size import ClusterSize
|
148
147
|
from openapi_client.models.cluster_state import ClusterState
|
149
148
|
from openapi_client.models.cluster_status import ClusterStatus
|
150
149
|
from openapi_client.models.cluster_status_details import ClusterStatusDetails
|
@@ -211,6 +210,8 @@ from openapi_client.models.credit_card_information import CreditCardInformation
|
|
211
210
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
212
211
|
from openapi_client.models.dataplane_services import DataplaneServices
|
213
212
|
from openapi_client.models.dataset import Dataset
|
213
|
+
from openapi_client.models.dataset_dag import DatasetDag
|
214
|
+
from openapi_client.models.dataset_dag_response import DatasetDagResponse
|
214
215
|
from openapi_client.models.dataset_jobs import DatasetJobs
|
215
216
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
216
217
|
from openapi_client.models.dataset_metrics import DatasetMetrics
|
@@ -229,7 +230,6 @@ from openapi_client.models.decorated_production_job import DecoratedProductionJo
|
|
229
230
|
from openapi_client.models.decorated_production_job_state_transition import DecoratedProductionJobStateTransition
|
230
231
|
from openapi_client.models.decorated_production_service_v2_api_model import DecoratedProductionServiceV2APIModel
|
231
232
|
from openapi_client.models.decorated_production_service_v2_version_api_model import DecoratedProductionServiceV2VersionAPIModel
|
232
|
-
from openapi_client.models.decorated_runtime_env import DecoratedRuntimeEnv
|
233
233
|
from openapi_client.models.decorated_schedule import DecoratedSchedule
|
234
234
|
from openapi_client.models.decorated_serve_deployment import DecoratedServeDeployment
|
235
235
|
from openapi_client.models.decorated_service_event_api_model import DecoratedServiceEventAPIModel
|
@@ -253,8 +253,6 @@ from openapi_client.models.decoratedproductionjob_response import Decoratedprodu
|
|
253
253
|
from openapi_client.models.decoratedproductionjobstatetransition_list_response import DecoratedproductionjobstatetransitionListResponse
|
254
254
|
from openapi_client.models.decoratedproductionservicev2_apimodel_response import Decoratedproductionservicev2ApimodelResponse
|
255
255
|
from openapi_client.models.decoratedproductionservicev2_versionapimodel_list_response import Decoratedproductionservicev2VersionapimodelListResponse
|
256
|
-
from openapi_client.models.decoratedruntimeenv_list_response import DecoratedruntimeenvListResponse
|
257
|
-
from openapi_client.models.decoratedruntimeenv_response import DecoratedruntimeenvResponse
|
258
256
|
from openapi_client.models.decoratedschedule_list_response import DecoratedscheduleListResponse
|
259
257
|
from openapi_client.models.decoratedschedule_response import DecoratedscheduleResponse
|
260
258
|
from openapi_client.models.decoratedservedeployment_list_response import DecoratedservedeploymentListResponse
|
@@ -406,7 +404,8 @@ from openapi_client.models.node_type import NodeType
|
|
406
404
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
407
405
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
408
406
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
409
|
-
from openapi_client.models.
|
407
|
+
from openapi_client.models.operator_branch import OperatorBranch
|
408
|
+
from openapi_client.models.operator_id import OperatorId
|
410
409
|
from openapi_client.models.operator_metrics import OperatorMetrics
|
411
410
|
from openapi_client.models.organization import Organization
|
412
411
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
@@ -14108,6 +14108,118 @@ class DefaultApi(object):
|
|
14108
14108
|
_request_timeout=local_var_params.get('_request_timeout'),
|
14109
14109
|
collection_formats=collection_formats)
|
14110
14110
|
|
14111
|
+
def get_dags_api_v2_dataset_runs_dags_get(self, cluster_id, **kwargs): # noqa: E501
|
14112
|
+
"""Get Dags # noqa: E501
|
14113
|
+
|
14114
|
+
This method makes a synchronous HTTP request by default. To make an
|
14115
|
+
asynchronous HTTP request, please pass async_req=True
|
14116
|
+
>>> thread = api.get_dags_api_v2_dataset_runs_dags_get(cluster_id, async_req=True)
|
14117
|
+
>>> result = thread.get()
|
14118
|
+
|
14119
|
+
:param async_req bool: execute request asynchronously
|
14120
|
+
:param str cluster_id: (required)
|
14121
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14122
|
+
be returned without reading/decoding response
|
14123
|
+
data. Default is True.
|
14124
|
+
:param _request_timeout: timeout setting for this request. If one
|
14125
|
+
number provided, it will be total request
|
14126
|
+
timeout. It can also be a pair (tuple) of
|
14127
|
+
(connection, read) timeouts.
|
14128
|
+
:return: DatasetDagResponse
|
14129
|
+
If the method is called asynchronously,
|
14130
|
+
returns the request thread.
|
14131
|
+
"""
|
14132
|
+
kwargs['_return_http_data_only'] = True
|
14133
|
+
return self.get_dags_api_v2_dataset_runs_dags_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
14134
|
+
|
14135
|
+
def get_dags_api_v2_dataset_runs_dags_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
14136
|
+
"""Get Dags # noqa: E501
|
14137
|
+
|
14138
|
+
This method makes a synchronous HTTP request by default. To make an
|
14139
|
+
asynchronous HTTP request, please pass async_req=True
|
14140
|
+
>>> thread = api.get_dags_api_v2_dataset_runs_dags_get_with_http_info(cluster_id, async_req=True)
|
14141
|
+
>>> result = thread.get()
|
14142
|
+
|
14143
|
+
:param async_req bool: execute request asynchronously
|
14144
|
+
:param str cluster_id: (required)
|
14145
|
+
:param _return_http_data_only: response data without head status code
|
14146
|
+
and headers
|
14147
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14148
|
+
be returned without reading/decoding response
|
14149
|
+
data. Default is True.
|
14150
|
+
:param _request_timeout: timeout setting for this request. If one
|
14151
|
+
number provided, it will be total request
|
14152
|
+
timeout. It can also be a pair (tuple) of
|
14153
|
+
(connection, read) timeouts.
|
14154
|
+
:return: tuple(DatasetDagResponse, status_code(int), headers(HTTPHeaderDict))
|
14155
|
+
If the method is called asynchronously,
|
14156
|
+
returns the request thread.
|
14157
|
+
"""
|
14158
|
+
|
14159
|
+
local_var_params = locals()
|
14160
|
+
|
14161
|
+
all_params = [
|
14162
|
+
'cluster_id'
|
14163
|
+
]
|
14164
|
+
all_params.extend(
|
14165
|
+
[
|
14166
|
+
'async_req',
|
14167
|
+
'_return_http_data_only',
|
14168
|
+
'_preload_content',
|
14169
|
+
'_request_timeout'
|
14170
|
+
]
|
14171
|
+
)
|
14172
|
+
|
14173
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
14174
|
+
if key not in all_params:
|
14175
|
+
raise ApiTypeError(
|
14176
|
+
"Got an unexpected keyword argument '%s'"
|
14177
|
+
" to method get_dags_api_v2_dataset_runs_dags_get" % key
|
14178
|
+
)
|
14179
|
+
local_var_params[key] = val
|
14180
|
+
del local_var_params['kwargs']
|
14181
|
+
# verify the required parameter 'cluster_id' is set
|
14182
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
14183
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
14184
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_dags_api_v2_dataset_runs_dags_get`") # noqa: E501
|
14185
|
+
|
14186
|
+
collection_formats = {}
|
14187
|
+
|
14188
|
+
path_params = {}
|
14189
|
+
|
14190
|
+
query_params = []
|
14191
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
14192
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
14193
|
+
|
14194
|
+
header_params = {}
|
14195
|
+
|
14196
|
+
form_params = []
|
14197
|
+
local_var_files = {}
|
14198
|
+
|
14199
|
+
body_params = None
|
14200
|
+
# HTTP header `Accept`
|
14201
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
14202
|
+
['application/json']) # noqa: E501
|
14203
|
+
|
14204
|
+
# Authentication setting
|
14205
|
+
auth_settings = [] # noqa: E501
|
14206
|
+
|
14207
|
+
return self.api_client.call_api(
|
14208
|
+
'/api/v2/dataset_runs/dags', 'GET',
|
14209
|
+
path_params,
|
14210
|
+
query_params,
|
14211
|
+
header_params,
|
14212
|
+
body=body_params,
|
14213
|
+
post_params=form_params,
|
14214
|
+
files=local_var_files,
|
14215
|
+
response_type='DatasetDagResponse', # noqa: E501
|
14216
|
+
auth_settings=auth_settings,
|
14217
|
+
async_req=local_var_params.get('async_req'),
|
14218
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
14219
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
14220
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
14221
|
+
collection_formats=collection_formats)
|
14222
|
+
|
14111
14223
|
def get_dashboard_api_v2_dataset_runs_get(self, cluster_id, **kwargs): # noqa: E501
|
14112
14224
|
"""Get Dashboard # noqa: E501
|
14113
14225
|
|
@@ -14924,120 +15036,6 @@ class DefaultApi(object):
|
|
14924
15036
|
_request_timeout=local_var_params.get('_request_timeout'),
|
14925
15037
|
collection_formats=collection_formats)
|
14926
15038
|
|
14927
|
-
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(self, runtime_env_id, **kwargs): # noqa: E501
|
14928
|
-
"""Get Decorated Runtime Env # noqa: E501
|
14929
|
-
|
14930
|
-
Get a single Runtime Environment by id # noqa: E501
|
14931
|
-
This method makes a synchronous HTTP request by default. To make an
|
14932
|
-
asynchronous HTTP request, please pass async_req=True
|
14933
|
-
>>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(runtime_env_id, async_req=True)
|
14934
|
-
>>> result = thread.get()
|
14935
|
-
|
14936
|
-
:param async_req bool: execute request asynchronously
|
14937
|
-
:param str runtime_env_id: (required)
|
14938
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14939
|
-
be returned without reading/decoding response
|
14940
|
-
data. Default is True.
|
14941
|
-
:param _request_timeout: timeout setting for this request. If one
|
14942
|
-
number provided, it will be total request
|
14943
|
-
timeout. It can also be a pair (tuple) of
|
14944
|
-
(connection, read) timeouts.
|
14945
|
-
:return: DecoratedruntimeenvResponse
|
14946
|
-
If the method is called asynchronously,
|
14947
|
-
returns the request thread.
|
14948
|
-
"""
|
14949
|
-
kwargs['_return_http_data_only'] = True
|
14950
|
-
return self.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, **kwargs) # noqa: E501
|
14951
|
-
|
14952
|
-
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(self, runtime_env_id, **kwargs): # noqa: E501
|
14953
|
-
"""Get Decorated Runtime Env # noqa: E501
|
14954
|
-
|
14955
|
-
Get a single Runtime Environment by id # noqa: E501
|
14956
|
-
This method makes a synchronous HTTP request by default. To make an
|
14957
|
-
asynchronous HTTP request, please pass async_req=True
|
14958
|
-
>>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, async_req=True)
|
14959
|
-
>>> result = thread.get()
|
14960
|
-
|
14961
|
-
:param async_req bool: execute request asynchronously
|
14962
|
-
:param str runtime_env_id: (required)
|
14963
|
-
:param _return_http_data_only: response data without head status code
|
14964
|
-
and headers
|
14965
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14966
|
-
be returned without reading/decoding response
|
14967
|
-
data. Default is True.
|
14968
|
-
:param _request_timeout: timeout setting for this request. If one
|
14969
|
-
number provided, it will be total request
|
14970
|
-
timeout. It can also be a pair (tuple) of
|
14971
|
-
(connection, read) timeouts.
|
14972
|
-
:return: tuple(DecoratedruntimeenvResponse, status_code(int), headers(HTTPHeaderDict))
|
14973
|
-
If the method is called asynchronously,
|
14974
|
-
returns the request thread.
|
14975
|
-
"""
|
14976
|
-
|
14977
|
-
local_var_params = locals()
|
14978
|
-
|
14979
|
-
all_params = [
|
14980
|
-
'runtime_env_id'
|
14981
|
-
]
|
14982
|
-
all_params.extend(
|
14983
|
-
[
|
14984
|
-
'async_req',
|
14985
|
-
'_return_http_data_only',
|
14986
|
-
'_preload_content',
|
14987
|
-
'_request_timeout'
|
14988
|
-
]
|
14989
|
-
)
|
14990
|
-
|
14991
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
14992
|
-
if key not in all_params:
|
14993
|
-
raise ApiTypeError(
|
14994
|
-
"Got an unexpected keyword argument '%s'"
|
14995
|
-
" to method get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get" % key
|
14996
|
-
)
|
14997
|
-
local_var_params[key] = val
|
14998
|
-
del local_var_params['kwargs']
|
14999
|
-
# verify the required parameter 'runtime_env_id' is set
|
15000
|
-
if self.api_client.client_side_validation and ('runtime_env_id' not in local_var_params or # noqa: E501
|
15001
|
-
local_var_params['runtime_env_id'] is None): # noqa: E501
|
15002
|
-
raise ApiValueError("Missing the required parameter `runtime_env_id` when calling `get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get`") # noqa: E501
|
15003
|
-
|
15004
|
-
collection_formats = {}
|
15005
|
-
|
15006
|
-
path_params = {}
|
15007
|
-
if 'runtime_env_id' in local_var_params:
|
15008
|
-
path_params['runtime_env_id'] = local_var_params['runtime_env_id'] # noqa: E501
|
15009
|
-
|
15010
|
-
query_params = []
|
15011
|
-
|
15012
|
-
header_params = {}
|
15013
|
-
|
15014
|
-
form_params = []
|
15015
|
-
local_var_files = {}
|
15016
|
-
|
15017
|
-
body_params = None
|
15018
|
-
# HTTP header `Accept`
|
15019
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15020
|
-
['application/json']) # noqa: E501
|
15021
|
-
|
15022
|
-
# Authentication setting
|
15023
|
-
auth_settings = [] # noqa: E501
|
15024
|
-
|
15025
|
-
return self.api_client.call_api(
|
15026
|
-
'/api/v2/decorated_runtime_envs/{runtime_env_id}', 'GET',
|
15027
|
-
path_params,
|
15028
|
-
query_params,
|
15029
|
-
header_params,
|
15030
|
-
body=body_params,
|
15031
|
-
post_params=form_params,
|
15032
|
-
files=local_var_files,
|
15033
|
-
response_type='DecoratedruntimeenvResponse', # noqa: E501
|
15034
|
-
auth_settings=auth_settings,
|
15035
|
-
async_req=local_var_params.get('async_req'),
|
15036
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15037
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
15038
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
15039
|
-
collection_formats=collection_formats)
|
15040
|
-
|
15041
15039
|
def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(self, serve_deloyment_id, **kwargs): # noqa: E501
|
15042
15040
|
"""Get Decorated Serve Deployment # noqa: E501
|
15043
15041
|
|
@@ -25745,125 +25743,6 @@ class DefaultApi(object):
|
|
25745
25743
|
_request_timeout=local_var_params.get('_request_timeout'),
|
25746
25744
|
collection_formats=collection_formats)
|
25747
25745
|
|
25748
|
-
def list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get(self, **kwargs): # noqa: E501
|
25749
|
-
"""List Decorated Runtime Envs # noqa: E501
|
25750
|
-
|
25751
|
-
List all decorated runtime envs # noqa: E501
|
25752
|
-
This method makes a synchronous HTTP request by default. To make an
|
25753
|
-
asynchronous HTTP request, please pass async_req=True
|
25754
|
-
>>> thread = api.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get(async_req=True)
|
25755
|
-
>>> result = thread.get()
|
25756
|
-
|
25757
|
-
:param async_req bool: execute request asynchronously
|
25758
|
-
:param str paging_token:
|
25759
|
-
:param int count:
|
25760
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
25761
|
-
be returned without reading/decoding response
|
25762
|
-
data. Default is True.
|
25763
|
-
:param _request_timeout: timeout setting for this request. If one
|
25764
|
-
number provided, it will be total request
|
25765
|
-
timeout. It can also be a pair (tuple) of
|
25766
|
-
(connection, read) timeouts.
|
25767
|
-
:return: DecoratedruntimeenvListResponse
|
25768
|
-
If the method is called asynchronously,
|
25769
|
-
returns the request thread.
|
25770
|
-
"""
|
25771
|
-
kwargs['_return_http_data_only'] = True
|
25772
|
-
return self.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(**kwargs) # noqa: E501
|
25773
|
-
|
25774
|
-
def list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(self, **kwargs): # noqa: E501
|
25775
|
-
"""List Decorated Runtime Envs # noqa: E501
|
25776
|
-
|
25777
|
-
List all decorated runtime envs # noqa: E501
|
25778
|
-
This method makes a synchronous HTTP request by default. To make an
|
25779
|
-
asynchronous HTTP request, please pass async_req=True
|
25780
|
-
>>> thread = api.list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get_with_http_info(async_req=True)
|
25781
|
-
>>> result = thread.get()
|
25782
|
-
|
25783
|
-
:param async_req bool: execute request asynchronously
|
25784
|
-
:param str paging_token:
|
25785
|
-
:param int count:
|
25786
|
-
:param _return_http_data_only: response data without head status code
|
25787
|
-
and headers
|
25788
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
25789
|
-
be returned without reading/decoding response
|
25790
|
-
data. Default is True.
|
25791
|
-
:param _request_timeout: timeout setting for this request. If one
|
25792
|
-
number provided, it will be total request
|
25793
|
-
timeout. It can also be a pair (tuple) of
|
25794
|
-
(connection, read) timeouts.
|
25795
|
-
:return: tuple(DecoratedruntimeenvListResponse, status_code(int), headers(HTTPHeaderDict))
|
25796
|
-
If the method is called asynchronously,
|
25797
|
-
returns the request thread.
|
25798
|
-
"""
|
25799
|
-
|
25800
|
-
local_var_params = locals()
|
25801
|
-
|
25802
|
-
all_params = [
|
25803
|
-
'paging_token',
|
25804
|
-
'count'
|
25805
|
-
]
|
25806
|
-
all_params.extend(
|
25807
|
-
[
|
25808
|
-
'async_req',
|
25809
|
-
'_return_http_data_only',
|
25810
|
-
'_preload_content',
|
25811
|
-
'_request_timeout'
|
25812
|
-
]
|
25813
|
-
)
|
25814
|
-
|
25815
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
25816
|
-
if key not in all_params:
|
25817
|
-
raise ApiTypeError(
|
25818
|
-
"Got an unexpected keyword argument '%s'"
|
25819
|
-
" to method list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get" % key
|
25820
|
-
)
|
25821
|
-
local_var_params[key] = val
|
25822
|
-
del local_var_params['kwargs']
|
25823
|
-
|
25824
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
25825
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get`, must be a value less than or equal to `50`") # noqa: E501
|
25826
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
25827
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_runtime_envs_api_v2_decorated_runtime_envs_get`, must be a value greater than or equal to `0`") # noqa: E501
|
25828
|
-
collection_formats = {}
|
25829
|
-
|
25830
|
-
path_params = {}
|
25831
|
-
|
25832
|
-
query_params = []
|
25833
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
25834
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
25835
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
25836
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
25837
|
-
|
25838
|
-
header_params = {}
|
25839
|
-
|
25840
|
-
form_params = []
|
25841
|
-
local_var_files = {}
|
25842
|
-
|
25843
|
-
body_params = None
|
25844
|
-
# HTTP header `Accept`
|
25845
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
25846
|
-
['application/json']) # noqa: E501
|
25847
|
-
|
25848
|
-
# Authentication setting
|
25849
|
-
auth_settings = [] # noqa: E501
|
25850
|
-
|
25851
|
-
return self.api_client.call_api(
|
25852
|
-
'/api/v2/decorated_runtime_envs/', 'GET',
|
25853
|
-
path_params,
|
25854
|
-
query_params,
|
25855
|
-
header_params,
|
25856
|
-
body=body_params,
|
25857
|
-
post_params=form_params,
|
25858
|
-
files=local_var_files,
|
25859
|
-
response_type='DecoratedruntimeenvListResponse', # noqa: E501
|
25860
|
-
auth_settings=auth_settings,
|
25861
|
-
async_req=local_var_params.get('async_req'),
|
25862
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
25863
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
25864
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
25865
|
-
collection_formats=collection_formats)
|
25866
|
-
|
25867
25746
|
def list_decorated_serve_deployments_api_v2_decorated_serve_deployments_get(self, **kwargs): # noqa: E501
|
25868
25747
|
"""List Decorated Serve Deployments # noqa: E501
|
25869
25748
|
|
@@ -26671,6 +26550,8 @@ class DefaultApi(object):
|
|
26671
26550
|
:param async_req bool: execute request asynchronously
|
26672
26551
|
:param str cloud_id: The cloud ID to filter by.
|
26673
26552
|
:param str project_id: The project ID to filter by.
|
26553
|
+
:param bool jobs_only: Whether to only include jobs.
|
26554
|
+
:param bool workspaces_only: Whether to only include workspaces.
|
26674
26555
|
:param int duration_s: The duration in seconds to filter by. Defaults to 24 hours.
|
26675
26556
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
26676
26557
|
be returned without reading/decoding response
|
@@ -26698,6 +26579,8 @@ class DefaultApi(object):
|
|
26698
26579
|
:param async_req bool: execute request asynchronously
|
26699
26580
|
:param str cloud_id: The cloud ID to filter by.
|
26700
26581
|
:param str project_id: The project ID to filter by.
|
26582
|
+
:param bool jobs_only: Whether to only include jobs.
|
26583
|
+
:param bool workspaces_only: Whether to only include workspaces.
|
26701
26584
|
:param int duration_s: The duration in seconds to filter by. Defaults to 24 hours.
|
26702
26585
|
:param _return_http_data_only: response data without head status code
|
26703
26586
|
and headers
|
@@ -26718,6 +26601,8 @@ class DefaultApi(object):
|
|
26718
26601
|
all_params = [
|
26719
26602
|
'cloud_id',
|
26720
26603
|
'project_id',
|
26604
|
+
'jobs_only',
|
26605
|
+
'workspaces_only',
|
26721
26606
|
'duration_s'
|
26722
26607
|
]
|
26723
26608
|
all_params.extend(
|
@@ -26747,6 +26632,10 @@ class DefaultApi(object):
|
|
26747
26632
|
query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
|
26748
26633
|
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
26749
26634
|
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
26635
|
+
if 'jobs_only' in local_var_params and local_var_params['jobs_only'] is not None: # noqa: E501
|
26636
|
+
query_params.append(('jobs_only', local_var_params['jobs_only'])) # noqa: E501
|
26637
|
+
if 'workspaces_only' in local_var_params and local_var_params['workspaces_only'] is not None: # noqa: E501
|
26638
|
+
query_params.append(('workspaces_only', local_var_params['workspaces_only'])) # noqa: E501
|
26750
26639
|
if 'duration_s' in local_var_params and local_var_params['duration_s'] is not None: # noqa: E501
|
26751
26640
|
query_params.append(('duration_s', local_var_params['duration_s'])) # noqa: E501
|
26752
26641
|
|
@@ -130,7 +130,6 @@ from openapi_client.models.cluster_event import ClusterEvent
|
|
130
130
|
from openapi_client.models.cluster_event_source import ClusterEventSource
|
131
131
|
from openapi_client.models.cluster_events_output import ClusterEventsOutput
|
132
132
|
from openapi_client.models.cluster_management_stack_versions import ClusterManagementStackVersions
|
133
|
-
from openapi_client.models.cluster_size import ClusterSize
|
134
133
|
from openapi_client.models.cluster_state import ClusterState
|
135
134
|
from openapi_client.models.cluster_status import ClusterStatus
|
136
135
|
from openapi_client.models.cluster_status_details import ClusterStatusDetails
|
@@ -197,6 +196,8 @@ from openapi_client.models.credit_card_information import CreditCardInformation
|
|
197
196
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
198
197
|
from openapi_client.models.dataplane_services import DataplaneServices
|
199
198
|
from openapi_client.models.dataset import Dataset
|
199
|
+
from openapi_client.models.dataset_dag import DatasetDag
|
200
|
+
from openapi_client.models.dataset_dag_response import DatasetDagResponse
|
200
201
|
from openapi_client.models.dataset_jobs import DatasetJobs
|
201
202
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
202
203
|
from openapi_client.models.dataset_metrics import DatasetMetrics
|
@@ -215,7 +216,6 @@ from openapi_client.models.decorated_production_job import DecoratedProductionJo
|
|
215
216
|
from openapi_client.models.decorated_production_job_state_transition import DecoratedProductionJobStateTransition
|
216
217
|
from openapi_client.models.decorated_production_service_v2_api_model import DecoratedProductionServiceV2APIModel
|
217
218
|
from openapi_client.models.decorated_production_service_v2_version_api_model import DecoratedProductionServiceV2VersionAPIModel
|
218
|
-
from openapi_client.models.decorated_runtime_env import DecoratedRuntimeEnv
|
219
219
|
from openapi_client.models.decorated_schedule import DecoratedSchedule
|
220
220
|
from openapi_client.models.decorated_serve_deployment import DecoratedServeDeployment
|
221
221
|
from openapi_client.models.decorated_service_event_api_model import DecoratedServiceEventAPIModel
|
@@ -239,8 +239,6 @@ from openapi_client.models.decoratedproductionjob_response import Decoratedprodu
|
|
239
239
|
from openapi_client.models.decoratedproductionjobstatetransition_list_response import DecoratedproductionjobstatetransitionListResponse
|
240
240
|
from openapi_client.models.decoratedproductionservicev2_apimodel_response import Decoratedproductionservicev2ApimodelResponse
|
241
241
|
from openapi_client.models.decoratedproductionservicev2_versionapimodel_list_response import Decoratedproductionservicev2VersionapimodelListResponse
|
242
|
-
from openapi_client.models.decoratedruntimeenv_list_response import DecoratedruntimeenvListResponse
|
243
|
-
from openapi_client.models.decoratedruntimeenv_response import DecoratedruntimeenvResponse
|
244
242
|
from openapi_client.models.decoratedschedule_list_response import DecoratedscheduleListResponse
|
245
243
|
from openapi_client.models.decoratedschedule_response import DecoratedscheduleResponse
|
246
244
|
from openapi_client.models.decoratedservedeployment_list_response import DecoratedservedeploymentListResponse
|
@@ -392,7 +390,8 @@ from openapi_client.models.node_type import NodeType
|
|
392
390
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
393
391
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
394
392
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
395
|
-
from openapi_client.models.
|
393
|
+
from openapi_client.models.operator_branch import OperatorBranch
|
394
|
+
from openapi_client.models.operator_id import OperatorId
|
396
395
|
from openapi_client.models.operator_metrics import OperatorMetrics
|
397
396
|
from openapi_client.models.organization import Organization
|
398
397
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|