anyscale 0.26.14__py3-none-any.whl → 0.26.16__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/anyscale_client/anyscale_client.py +4 -2
- anyscale/_private/anyscale_client/common.py +6 -4
- anyscale/_private/anyscale_client/fake_anyscale_client.py +16 -7
- anyscale/_private/docgen/__main__.py +4 -4
- anyscale/_private/docgen/generator.py +2 -2
- anyscale/_private/models/model_base.py +5 -2
- anyscale/_private/sdk/__init__.py +2 -2
- anyscale/_private/utils/progress_util.py +2 -2
- anyscale/_private/workload/workload_sdk.py +10 -7
- anyscale/aggregated_instance_usage/commands.py +6 -2
- anyscale/anyscale-cloud-setup.yaml +4 -0
- anyscale/client/README.md +8 -11
- anyscale/client/openapi_client/__init__.py +6 -8
- anyscale/client/openapi_client/api/default_api.py +292 -377
- anyscale/client/openapi_client/models/__init__.py +6 -8
- anyscale/client/openapi_client/models/alert_type.py +11 -2
- anyscale/client/openapi_client/models/create_job_queue_requests.py +3 -32
- anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py} +22 -23
- anyscale/client/openapi_client/models/{productautoscalerflag_response.py → listraysessionsresponse_response.py} +11 -11
- anyscale/client/openapi_client/models/metric.py +133 -3
- anyscale/client/openapi_client/models/ray_session.py +121 -0
- anyscale/client/openapi_client/models/task_exception_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskexceptiongroupaggregate_list_response.py → task_exception_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskfunctionnamegroupaggregate_list_response.py → task_function_name_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_job_group_aggregate.py +28 -1
- anyscale/client/openapi_client/models/{taskjobgroupaggregate_list_response.py → task_job_group_aggregate_response.py} +52 -25
- anyscale/client/openapi_client/models/task_table_row.py +19 -19
- anyscale/cloud/__init__.py +2 -2
- anyscale/cloud/_private/cloud_sdk.py +2 -2
- anyscale/cloud/commands.py +9 -6
- anyscale/cloud_resource.py +1 -1
- anyscale/cloud_utils.py +11 -6
- anyscale/cluster_compute.py +6 -5
- anyscale/cluster_env.py +10 -5
- anyscale/commands/login_commands.py +24 -3
- anyscale/commands/schedule_commands.py +2 -1
- anyscale/compute_config/_private/compute_config_sdk.py +1 -1
- anyscale/compute_config/commands.py +15 -7
- anyscale/connect_utils/prepare_cluster.py +14 -4
- anyscale/controllers/cloud_controller.py +9 -9
- anyscale/controllers/cloud_functional_verification_controller.py +4 -2
- anyscale/controllers/cluster_controller.py +1 -0
- anyscale/controllers/job_controller.py +1 -1
- anyscale/controllers/service_controller.py +2 -1
- anyscale/image/commands.py +6 -6
- anyscale/job/commands.py +12 -12
- anyscale/organization_invitation/commands.py +11 -7
- anyscale/project/__init__.py +2 -2
- anyscale/project/_private/project_sdk.py +2 -2
- anyscale/project/commands.py +3 -3
- anyscale/project_utils.py +5 -4
- anyscale/resource_quota/commands.py +18 -10
- anyscale/schedule/commands.py +12 -8
- anyscale/sdk/anyscale_client/sdk.py +5 -4
- anyscale/service/commands.py +17 -17
- anyscale/service_account/commands.py +12 -10
- anyscale/user/commands.py +5 -3
- anyscale/utils/connect_helpers.py +16 -3
- anyscale/utils/gcp_utils.py +25 -9
- anyscale/utils/runtime_env.py +3 -1
- anyscale/version.py +1 -1
- anyscale/workspace/__init__.py +10 -5
- anyscale/workspace/_private/workspace_sdk.py +9 -7
- anyscale/workspace/commands.py +25 -23
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/METADATA +1 -1
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/RECORD +72 -74
- anyscale/client/openapi_client/models/aviary_model_config_v2.py +0 -358
- anyscale/client/openapi_client/models/buffer_registration.py +0 -285
- anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +0 -183
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/LICENSE +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/NOTICE +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/WHEEL +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.14.dist-info → anyscale-0.26.16.dist-info}/top_level.txt +0 -0
@@ -1668,7 +1668,7 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
1668
1668
|
def update_workspace(
|
1669
1669
|
self,
|
1670
1670
|
*,
|
1671
|
-
workspace_id: str,
|
1671
|
+
workspace_id: Optional[str],
|
1672
1672
|
name: Optional[str] = None,
|
1673
1673
|
compute_config_id: Optional[str] = None,
|
1674
1674
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -1760,7 +1760,9 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
1760
1760
|
)
|
1761
1761
|
|
1762
1762
|
@handle_api_exceptions
|
1763
|
-
def get_workspace_cluster(
|
1763
|
+
def get_workspace_cluster(
|
1764
|
+
self, workspace_id: Optional[str]
|
1765
|
+
) -> Optional[DecoratedSession]:
|
1764
1766
|
workspace = self.get_workspace(id=workspace_id)
|
1765
1767
|
if not workspace:
|
1766
1768
|
raise ValueError(f"Workspace '{workspace_id}' not found.")
|
@@ -561,14 +561,14 @@ class AnyscaleClientInterface(ABC):
|
|
561
561
|
|
562
562
|
@abstractmethod
|
563
563
|
def update_workspace_dependencies_offline_only(
|
564
|
-
self, workspace_id: str, requirements: List[str]
|
564
|
+
self, workspace_id: Optional[str], requirements: List[str]
|
565
565
|
):
|
566
566
|
"""Updates the dynamic dependencies of a workspace while the workspace is offline"""
|
567
567
|
raise NotImplementedError
|
568
568
|
|
569
569
|
@abstractmethod
|
570
570
|
def update_workspace_env_vars_offline_only(
|
571
|
-
self, workspace_id: str, env_vars: Dict[str, str]
|
571
|
+
self, workspace_id: Optional[str], env_vars: Dict[str, str]
|
572
572
|
):
|
573
573
|
"""Updates the dynamic dependencies of a workspace"""
|
574
574
|
raise NotImplementedError
|
@@ -581,7 +581,9 @@ class AnyscaleClientInterface(ABC):
|
|
581
581
|
raise NotImplementedError
|
582
582
|
|
583
583
|
@abstractmethod
|
584
|
-
def get_workspace_cluster(
|
584
|
+
def get_workspace_cluster(
|
585
|
+
self, workspace_id: Optional[str]
|
586
|
+
) -> Optional[DecoratedSession]:
|
585
587
|
"""Get the cluster model for the provided workspace ID."""
|
586
588
|
raise NotImplementedError
|
587
589
|
|
@@ -622,7 +624,7 @@ class AnyscaleClientInterface(ABC):
|
|
622
624
|
def update_workspace(
|
623
625
|
self,
|
624
626
|
*,
|
625
|
-
workspace_id: str,
|
627
|
+
workspace_id: Optional[str] = None, # noqa: A002
|
626
628
|
name: Optional[str] = None,
|
627
629
|
compute_config_id: Optional[str] = None,
|
628
630
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -701,7 +701,10 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
701
701
|
self._job_runs[prod_job_id].append(model)
|
702
702
|
|
703
703
|
def register_project_by_name(
|
704
|
-
self,
|
704
|
+
self,
|
705
|
+
name: str,
|
706
|
+
cloud: str = DEFAULT_CLOUD_NAME,
|
707
|
+
project_id: Optional[str] = None,
|
705
708
|
) -> str:
|
706
709
|
"""Helper method to create project name to project id mapping."""
|
707
710
|
cloud_id = self.get_cloud_id(cloud_name=cloud)
|
@@ -1063,17 +1066,23 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
1063
1066
|
workspace.state = SessionState.TERMINATED
|
1064
1067
|
|
1065
1068
|
def update_workspace_dependencies_offline_only(
|
1066
|
-
self, workspace_id: str, requirements: List[str]
|
1069
|
+
self, workspace_id: Optional[str], requirements: List[str]
|
1067
1070
|
):
|
1071
|
+
assert workspace_id is not None
|
1068
1072
|
self._workspaces_dependencies[workspace_id] = requirements
|
1069
1073
|
|
1070
1074
|
def update_workspace_env_vars_offline_only(
|
1071
|
-
self, workspace_id: str, env_vars: Dict[str, str]
|
1075
|
+
self, workspace_id: Optional[str], env_vars: Dict[str, str]
|
1072
1076
|
):
|
1077
|
+
assert workspace_id is not None
|
1073
1078
|
self._workspaces_env_vars[workspace_id] = env_vars
|
1074
1079
|
|
1075
|
-
def get_workspace_cluster(
|
1076
|
-
|
1080
|
+
def get_workspace_cluster(
|
1081
|
+
self, workspace_id: Optional[str]
|
1082
|
+
) -> Optional[DecoratedSession]:
|
1083
|
+
workspace_model = (
|
1084
|
+
self._workspaces.get(workspace_id, None) if workspace_id else None
|
1085
|
+
)
|
1077
1086
|
compute_config = self.get_compute_config(workspace_model.compute_config_id)
|
1078
1087
|
assert compute_config is not None
|
1079
1088
|
return Mock(
|
@@ -1102,7 +1111,7 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
1102
1111
|
return self._clusters_headnode_ip.get(cluster_id, "")
|
1103
1112
|
|
1104
1113
|
def get_cluster_ssh_key(self, cluster_id: str) -> SessionSshKey:
|
1105
|
-
return self._clusters_ssh_key.get(cluster_id, None)
|
1114
|
+
return self._clusters_ssh_key.get(cluster_id, None) # type: ignore
|
1106
1115
|
|
1107
1116
|
def get_workspace_default_dir_name(self, workspace_id) -> str:
|
1108
1117
|
workspace = self._workspaces.get(workspace_id, None)
|
@@ -1136,7 +1145,7 @@ class FakeAnyscaleClient(AnyscaleClientInterface):
|
|
1136
1145
|
def update_workspace(
|
1137
1146
|
self,
|
1138
1147
|
*,
|
1139
|
-
workspace_id: str,
|
1148
|
+
workspace_id: Optional[str] = None, # noqa: A002
|
1140
1149
|
name: Optional[str] = None,
|
1141
1150
|
compute_config_id: Optional[str] = None,
|
1142
1151
|
cluster_environment_build_id: Optional[str] = None,
|
@@ -233,7 +233,7 @@ ALL_MODULES = [
|
|
233
233
|
"list_schedules": None,
|
234
234
|
},
|
235
235
|
legacy_cli_prefix="anyscale schedule",
|
236
|
-
legacy_cli_commands=
|
236
|
+
legacy_cli_commands=[schedule_commands.create, schedule_commands.update],
|
237
237
|
),
|
238
238
|
Module(
|
239
239
|
title="Service",
|
@@ -298,7 +298,7 @@ ALL_MODULES = [
|
|
298
298
|
"ServicemodelResponse",
|
299
299
|
],
|
300
300
|
legacy_cli_prefix="anyscale service",
|
301
|
-
legacy_cli_commands=
|
301
|
+
legacy_cli_commands=[service_commands.rollout],
|
302
302
|
),
|
303
303
|
Module(
|
304
304
|
title="Compute Config",
|
@@ -391,12 +391,12 @@ ALL_MODULES = [
|
|
391
391
|
models=[ImageBuild, ImageBuildStatus],
|
392
392
|
legacy_title="Cluster environment",
|
393
393
|
legacy_cli_prefix="anyscale image",
|
394
|
-
legacy_cli_commands=
|
394
|
+
legacy_cli_commands=[
|
395
395
|
cluster_env_commands.archive,
|
396
396
|
cluster_env_commands.build,
|
397
397
|
cluster_env_commands.get,
|
398
398
|
cluster_env_commands.list,
|
399
|
-
|
399
|
+
],
|
400
400
|
legacy_sdk_commands={
|
401
401
|
"get_cluster_environment_build_operation": None,
|
402
402
|
"create_byod_cluster_environment_build": anyscale.image.build,
|
@@ -60,7 +60,7 @@ class Module:
|
|
60
60
|
legacy_title: Optional[str] = None
|
61
61
|
legacy_cli_prefix: Optional[str] = None
|
62
62
|
legacy_cli_commands: Optional[List[LegacyAnyscaleCommand]] = None
|
63
|
-
legacy_sdk_commands: Optional[Dict[str, Callable]] = None
|
63
|
+
legacy_sdk_commands: Optional[Dict[str, Optional[Callable]]] = None
|
64
64
|
legacy_sdk_models: Optional[List[str]] = None
|
65
65
|
|
66
66
|
|
@@ -259,7 +259,7 @@ class MarkdownGenerator:
|
|
259
259
|
if typing.get_origin(t) is not None:
|
260
260
|
return self._type_container_to_string(t)
|
261
261
|
if isinstance(t, (ModelBaseType, ModelEnumType)):
|
262
|
-
return f"[{t.__name__}]({self._get_anchor(t)})"
|
262
|
+
return f"[{t.__name__}]({self._get_anchor(t)})" # type: ignore
|
263
263
|
|
264
264
|
# Avoid poor rendering of unhandled types.
|
265
265
|
raise NotImplementedError(
|
@@ -50,15 +50,18 @@ class ModelEnumType(EnumMeta):
|
|
50
50
|
return cls
|
51
51
|
|
52
52
|
|
53
|
+
M = TypeVar("M", bound="ModelEnum")
|
54
|
+
|
55
|
+
|
53
56
|
class ModelEnum(str, Enum, metaclass=ModelEnumType):
|
54
57
|
# Must be populated by subclasses to document every value.
|
55
|
-
__docstrings__: Dict[
|
58
|
+
__docstrings__: Dict[str, str] = {}
|
56
59
|
|
57
60
|
def __str__(self):
|
58
61
|
return self.name
|
59
62
|
|
60
63
|
@classmethod
|
61
|
-
def validate(cls, value: Union[str,
|
64
|
+
def validate(cls: Type[M], value: Union[str, M]) -> M:
|
62
65
|
allowed_values = [str(s) for s in cls.__members__ if not str(s).startswith("_")]
|
63
66
|
if value.upper() in allowed_values:
|
64
67
|
return cls(value.upper())
|
@@ -35,11 +35,11 @@ def sdk_command(
|
|
35
35
|
def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
|
36
36
|
# We disable the mypy linter here because it treats kwargs as a
|
37
37
|
# P.kwargs object. mypy wrongly thinks kwargs can't be indexed.
|
38
|
-
if "
|
38
|
+
if "_private_sdk" not in kwargs: # type: ignore
|
39
39
|
if key not in _LAZY_SDK_SINGLETONS:
|
40
40
|
_LAZY_SDK_SINGLETONS[key] = sdk_cls()
|
41
41
|
|
42
|
-
kwargs["
|
42
|
+
kwargs["_private_sdk"] = _LAZY_SDK_SINGLETONS[key] # type: ignore
|
43
43
|
|
44
44
|
return f(*args, **kwargs)
|
45
45
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
from io import
|
1
|
+
from io import BufferedReader
|
2
2
|
import os
|
3
3
|
|
4
4
|
from rich.progress import (
|
@@ -57,7 +57,7 @@ class ProgressFileReader:
|
|
57
57
|
"""
|
58
58
|
|
59
59
|
def __init__(
|
60
|
-
self, file:
|
60
|
+
self, file: BufferedReader, progress: Progress, task_id: TaskID,
|
61
61
|
):
|
62
62
|
self.file = file
|
63
63
|
self.progress = progress
|
@@ -138,6 +138,7 @@ class WorkloadSDK(BaseSDK):
|
|
138
138
|
return local_path_to_uri[target]
|
139
139
|
|
140
140
|
self.logger.info(f"Uploading local dir '{target}' to cloud storage.")
|
141
|
+
assert cloud_id is not None
|
141
142
|
uri = self._client.upload_local_dir_to_cloud_storage(
|
142
143
|
target, cloud_id=cloud_id, excludes=excludes,
|
143
144
|
)
|
@@ -210,7 +211,7 @@ class WorkloadSDK(BaseSDK):
|
|
210
211
|
def resolve_compute_config_and_cloud_id(
|
211
212
|
self,
|
212
213
|
*,
|
213
|
-
compute_config: Union[
|
214
|
+
compute_config: Union[ComputeConfig, Dict, str, None],
|
214
215
|
cloud: Union[None, str],
|
215
216
|
) -> Tuple[str, str]:
|
216
217
|
"""Resolve the passed compute config to its ID and corresponding cloud ID.
|
@@ -229,14 +230,14 @@ class WorkloadSDK(BaseSDK):
|
|
229
230
|
self.client.get_cloud_id(compute_config_id=compute_config_id),
|
230
231
|
)
|
231
232
|
elif compute_config is None:
|
232
|
-
cloud_id = self.client.get_cloud_id(cloud_name=cloud)
|
233
|
+
cloud_id = self.client.get_cloud_id(cloud_name=cloud) # type: ignore
|
233
234
|
compute_config_id = self._client.get_default_compute_config(
|
234
235
|
cloud_id=cloud_id
|
235
236
|
).id
|
236
|
-
return (compute_config_id, cloud_id)
|
237
|
+
return (compute_config_id, cloud_id) # type: ignore
|
237
238
|
elif cloud is None:
|
238
239
|
compute_config_id = self._resolve_compute_config_id(
|
239
|
-
compute_config=compute_config
|
240
|
+
compute_config=compute_config # type: ignore
|
240
241
|
)
|
241
242
|
return (
|
242
243
|
compute_config_id,
|
@@ -251,12 +252,12 @@ class WorkloadSDK(BaseSDK):
|
|
251
252
|
compute_config = replace(compute_config, cloud=cloud)
|
252
253
|
|
253
254
|
compute_config_id = self._resolve_compute_config_id(
|
254
|
-
compute_config=compute_config
|
255
|
+
compute_config=compute_config # type: ignore
|
255
256
|
)
|
256
257
|
cloud_id_from_cc = self.client.get_cloud_id(
|
257
258
|
compute_config_id=compute_config_id
|
258
259
|
)
|
259
|
-
cloud_id_from_cloud = self.client.get_cloud_id(cloud_name=cloud)
|
260
|
+
cloud_id_from_cloud = self.client.get_cloud_id(cloud_name=cloud) # type: ignore
|
260
261
|
if cloud_id_from_cc != cloud_id_from_cloud:
|
261
262
|
raise ValueError(
|
262
263
|
"Cloud does not match from provided `cloud` and `compute_config`. Either pass one of these or ensure they match."
|
@@ -269,7 +270,9 @@ class WorkloadSDK(BaseSDK):
|
|
269
270
|
if not self._client.inside_workspace():
|
270
271
|
return None
|
271
272
|
|
272
|
-
|
273
|
+
workspace = self._client.get_current_workspace_cluster()
|
274
|
+
assert workspace is not None
|
275
|
+
name = workspace.name
|
273
276
|
# Defensively default to the workspace cluster name as-is if it doesn't
|
274
277
|
# start with the expected prefix.
|
275
278
|
if name.startswith(WORKSPACE_CLUSTER_NAME_PREFIX):
|
@@ -1,3 +1,5 @@
|
|
1
|
+
from typing import Optional
|
2
|
+
|
1
3
|
from anyscale._private.sdk import sdk_command
|
2
4
|
from anyscale.aggregated_instance_usage._private.aggregated_instance_usage_sdk import (
|
3
5
|
PrivateAggregatedInstanceUsageSDK,
|
@@ -33,8 +35,10 @@ _DOWNLOAD_ARG_DOCSTRINGS = {"filters": "The filter of the instance usage to down
|
|
33
35
|
arg_docstrings=_DOWNLOAD_ARG_DOCSTRINGS,
|
34
36
|
)
|
35
37
|
def download_csv(
|
36
|
-
filters: DownloadCSVFilters,
|
38
|
+
filters: DownloadCSVFilters,
|
39
|
+
*,
|
40
|
+
_private_sdk: Optional[PrivateAggregatedInstanceUsageSDK] = None
|
37
41
|
) -> str:
|
38
42
|
"""Download an aggregated instance usage report as a zipped CSV to the provided directory.
|
39
43
|
"""
|
40
|
-
return
|
44
|
+
return _private_sdk.download_csv(filters) # type: ignore
|
@@ -193,6 +193,10 @@ $SUBNETS_ROUTE_TABLE_ASSOCIATION
|
|
193
193
|
- "s3:DeleteObject"
|
194
194
|
- "s3:GetObject"
|
195
195
|
- "s3:ListBucket"
|
196
|
+
- "s3:ListBucketMultipartUploads"
|
197
|
+
- "s3:ListMultipartUploadParts"
|
198
|
+
- "s3:AbortMultipartUpload"
|
199
|
+
- "s3:GetBucketLocation"
|
196
200
|
Effect: Allow
|
197
201
|
Resource:
|
198
202
|
- !Sub arn:aws:s3:::${S3Bucket}
|
anyscale/client/README.md
CHANGED
@@ -172,7 +172,6 @@ Class | Method | HTTP request | Description
|
|
172
172
|
*DefaultApi* | [**find_project_by_project_name_api_v2_projects_find_by_name_get**](docs/DefaultApi.md#find_project_by_project_name_api_v2_projects_find_by_name_get) | **GET** /api/v2/projects/find_by_name | Find Project By Project Name
|
173
173
|
*DefaultApi* | [**find_with_invitation_api_v2_organizations_find_with_invitation_get**](docs/DefaultApi.md#find_with_invitation_api_v2_organizations_find_with_invitation_get) | **GET** /api/v2/organizations/find_with_invitation | Find With Invitation
|
174
174
|
*DefaultApi* | [**find_with_user_api_v2_organizations_find_with_user_get**](docs/DefaultApi.md#find_with_user_api_v2_organizations_find_with_user_get) | **GET** /api/v2/organizations/find_with_user | Find With User
|
175
|
-
*DefaultApi* | [**fine_tuning_job_callback_v2_api_v2_fine_tuning_v2_jobs_internal_finish_post**](docs/DefaultApi.md#fine_tuning_job_callback_v2_api_v2_fine_tuning_v2_jobs_internal_finish_post) | **POST** /api/v2/fine_tuning_v2/jobs/internal/finish | Fine Tuning Job Callback V2
|
176
175
|
*DefaultApi* | [**finish_session_command_api_v2_session_commands_session_command_id_finish_post**](docs/DefaultApi.md#finish_session_command_api_v2_session_commands_session_command_id_finish_post) | **POST** /api/v2/session_commands/{session_command_id}/finish | Finish Session Command
|
177
176
|
*DefaultApi* | [**generate_cloud_data_bucket_presigned_upload_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_upload_url_post**](docs/DefaultApi.md#generate_cloud_data_bucket_presigned_upload_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_upload_url_post) | **POST** /api/v2/clouds/{cloud_id}/generate_cloud_data_bucket_presigned_upload_url | Generate Cloud Data Bucket Presigned Upload Url
|
178
177
|
*DefaultApi* | [**generate_cloud_data_bucket_presigned_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_url_post**](docs/DefaultApi.md#generate_cloud_data_bucket_presigned_url_api_v2_clouds_cloud_id_generate_cloud_data_bucket_presigned_url_post) | **POST** /api/v2/clouds/{cloud_id}/generate_cloud_data_bucket_presigned_url | Generate Cloud Data Bucket Presigned Url
|
@@ -191,7 +190,6 @@ Class | Method | HTTP request | Description
|
|
191
190
|
*DefaultApi* | [**get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_get**](docs/DefaultApi.md#get_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_cloud_id_get) | **GET** /api/v2/clouds_with_cloud_resource_router/{cloud_id} | Get Cloud With Cloud Resource
|
192
191
|
*DefaultApi* | [**get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get**](docs/DefaultApi.md#get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get) | **GET** /api/v2/authentication/{cluster_id}/cluster_access_token | Get Cluster Access Token
|
193
192
|
*DefaultApi* | [**get_cluster_events_api_v2_sessions_session_id_cluster_events_get**](docs/DefaultApi.md#get_cluster_events_api_v2_sessions_session_id_cluster_events_get) | **GET** /api/v2/sessions/{session_id}/cluster_events | Get Cluster Events
|
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
193
|
*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
194
|
*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
195
|
*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
|
@@ -199,6 +197,7 @@ Class | Method | HTTP request | Description
|
|
199
197
|
*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
|
200
198
|
*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
199
|
*DefaultApi* | [**get_dataset_download_url_api_v2_datasets_download_get**](docs/DefaultApi.md#get_dataset_download_url_api_v2_datasets_download_get) | **GET** /api/v2/datasets/download | Get Dataset Download Url
|
200
|
+
*DefaultApi* | [**get_dataset_logs_download_api_v2_dataset_runs_dataset_logs_get**](docs/DefaultApi.md#get_dataset_logs_download_api_v2_dataset_runs_dataset_logs_get) | **GET** /api/v2/dataset_runs/dataset_logs | Get Dataset Logs Download
|
202
201
|
*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
|
203
202
|
*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
|
204
203
|
*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
|
@@ -311,6 +310,7 @@ Class | Method | HTTP request | Description
|
|
311
310
|
*DefaultApi* | [**list_organization_project_collaborators_api_v2_projects_project_id_collaborators_organizations_get**](docs/DefaultApi.md#list_organization_project_collaborators_api_v2_projects_project_id_collaborators_organizations_get) | **GET** /api/v2/projects/{project_id}/collaborators/organizations | List Organization Project Collaborators
|
312
311
|
*DefaultApi* | [**list_project_collaborators_api_v2_projects_project_id_collaborators_users_get**](docs/DefaultApi.md#list_project_collaborators_api_v2_projects_project_id_collaborators_users_get) | **GET** /api/v2/projects/{project_id}/collaborators/users | List Project Collaborators
|
313
312
|
*DefaultApi* | [**list_projects_api_v2_projects_get**](docs/DefaultApi.md#list_projects_api_v2_projects_get) | **GET** /api/v2/projects/ | List Projects
|
313
|
+
*DefaultApi* | [**list_ray_sessions_api_v2_tasks_dashboard_list_ray_sessions_get**](docs/DefaultApi.md#list_ray_sessions_api_v2_tasks_dashboard_list_ray_sessions_get) | **GET** /api/v2/tasks_dashboard/list_ray_sessions | List Ray Sessions
|
314
314
|
*DefaultApi* | [**list_services_api_v2_services_v2_get**](docs/DefaultApi.md#list_services_api_v2_services_v2_get) | **GET** /api/v2/services-v2/ | List Services
|
315
315
|
*DefaultApi* | [**list_sessions_api_v2_sessions_get**](docs/DefaultApi.md#list_sessions_api_v2_sessions_get) | **GET** /api/v2/sessions/ | List Sessions
|
316
316
|
*DefaultApi* | [**list_web_terminals_api_v2_sessions_session_id_web_terminals_get**](docs/DefaultApi.md#list_web_terminals_api_v2_sessions_session_id_web_terminals_get) | **GET** /api/v2/sessions/{session_id}/web_terminals | List Web Terminals
|
@@ -334,7 +334,6 @@ Class | Method | HTTP request | Description
|
|
334
334
|
*DefaultApi* | [**redirect_to_service_api_v2_sessions_cluster_id_services_get**](docs/DefaultApi.md#redirect_to_service_api_v2_sessions_cluster_id_services_get) | **GET** /api/v2/sessions/{cluster_id}/services | Redirect To Service
|
335
335
|
*DefaultApi* | [**redirect_to_tools_api_v2_services_v2_service_id_tools_get**](docs/DefaultApi.md#redirect_to_tools_api_v2_services_v2_service_id_tools_get) | **GET** /api/v2/services-v2/{service_id}/tools | Redirect To Tools
|
336
336
|
*DefaultApi* | [**register_api_v2_kubernetes_manager_register_post**](docs/DefaultApi.md#register_api_v2_kubernetes_manager_register_post) | **POST** /api/v2/kubernetes_manager/register | Register
|
337
|
-
*DefaultApi* | [**register_buffer_api_v2_anyscaled_register_buffer_post**](docs/DefaultApi.md#register_buffer_api_v2_anyscaled_register_buffer_post) | **POST** /api/v2/anyscaled/register_buffer | Register Buffer
|
338
337
|
*DefaultApi* | [**register_build_api_v2_anyscaled_register_build_post**](docs/DefaultApi.md#register_build_api_v2_anyscaled_register_build_post) | **POST** /api/v2/anyscaled/register_build | Register Build
|
339
338
|
*DefaultApi* | [**register_machine_api_v2_anyscaled_register_machine_post**](docs/DefaultApi.md#register_machine_api_v2_anyscaled_register_machine_post) | **POST** /api/v2/anyscaled/register_machine | Register Machine
|
340
339
|
*DefaultApi* | [**register_user_api_v2_users_post**](docs/DefaultApi.md#register_user_api_v2_users_post) | **POST** /api/v2/users/ | Register User
|
@@ -430,7 +429,6 @@ Class | Method | HTTP request | Description
|
|
430
429
|
- [ArchivedlogsinfoResponse](docs/ArchivedlogsinfoResponse.md)
|
431
430
|
- [AttachMachinePoolToCloudRequest](docs/AttachMachinePoolToCloudRequest.md)
|
432
431
|
- [AttachmachinepooltocloudresponseResponse](docs/AttachmachinepooltocloudresponseResponse.md)
|
433
|
-
- [AviaryModelConfigV2](docs/AviaryModelConfigV2.md)
|
434
432
|
- [AwsRegionAndZones](docs/AwsRegionAndZones.md)
|
435
433
|
- [AwsRegionInfo](docs/AwsRegionInfo.md)
|
436
434
|
- [AwsregionandzonesResponse](docs/AwsregionandzonesResponse.md)
|
@@ -444,7 +442,6 @@ Class | Method | HTTP request | Description
|
|
444
442
|
- [BillingInformation](docs/BillingInformation.md)
|
445
443
|
- [BillingVersionCode](docs/BillingVersionCode.md)
|
446
444
|
- [BodyAwsMarketplaceRegistrationApiV2OrganizationBillingAwsMarketplaceRegistrationPost](docs/BodyAwsMarketplaceRegistrationApiV2OrganizationBillingAwsMarketplaceRegistrationPost.md)
|
447
|
-
- [BufferRegistration](docs/BufferRegistration.md)
|
448
445
|
- [Build](docs/Build.md)
|
449
446
|
- [BuildLogResponse](docs/BuildLogResponse.md)
|
450
447
|
- [BuildRegistration](docs/BuildRegistration.md)
|
@@ -666,7 +663,6 @@ Class | Method | HTTP request | Description
|
|
666
663
|
- [FineTunedModel](docs/FineTunedModel.md)
|
667
664
|
- [FinetunedmodelListResponse](docs/FinetunedmodelListResponse.md)
|
668
665
|
- [FinetunedmodelResponse](docs/FinetunedmodelResponse.md)
|
669
|
-
- [FinishFTJobRequestV2](docs/FinishFTJobRequestV2.md)
|
670
666
|
- [GCPFileStoreConfig](docs/GCPFileStoreConfig.md)
|
671
667
|
- [GCPMemorystoreInstanceConfig](docs/GCPMemorystoreInstanceConfig.md)
|
672
668
|
- [GrafanaDashboard](docs/GrafanaDashboard.md)
|
@@ -714,11 +710,13 @@ Class | Method | HTTP request | Description
|
|
714
710
|
- [LbresourceResponse](docs/LbresourceResponse.md)
|
715
711
|
- [ListMachinePoolsResponse](docs/ListMachinePoolsResponse.md)
|
716
712
|
- [ListMachinesResponse](docs/ListMachinesResponse.md)
|
713
|
+
- [ListRaySessionsResponse](docs/ListRaySessionsResponse.md)
|
717
714
|
- [ListResourceNotificationsQuery](docs/ListResourceNotificationsQuery.md)
|
718
715
|
- [ListResourceQuotasQuery](docs/ListResourceQuotasQuery.md)
|
719
716
|
- [ListResponseMetadata](docs/ListResponseMetadata.md)
|
720
717
|
- [ListmachinepoolsresponseResponse](docs/ListmachinepoolsresponseResponse.md)
|
721
718
|
- [ListmachinesresponseResponse](docs/ListmachinesresponseResponse.md)
|
719
|
+
- [ListraysessionsresponseResponse](docs/ListraysessionsresponseResponse.md)
|
722
720
|
- [LogDownloadConfig](docs/LogDownloadConfig.md)
|
723
721
|
- [LogDownloadRequest](docs/LogDownloadRequest.md)
|
724
722
|
- [LogDownloadResult](docs/LogDownloadResult.md)
|
@@ -803,9 +801,7 @@ Class | Method | HTTP request | Description
|
|
803
801
|
- [PageQuery](docs/PageQuery.md)
|
804
802
|
- [PauseSchedule](docs/PauseSchedule.md)
|
805
803
|
- [PermissionLevel](docs/PermissionLevel.md)
|
806
|
-
- [ProductAutoscalerFlag](docs/ProductAutoscalerFlag.md)
|
807
804
|
- [ProductType](docs/ProductType.md)
|
808
|
-
- [ProductautoscalerflagResponse](docs/ProductautoscalerflagResponse.md)
|
809
805
|
- [ProductionJob](docs/ProductionJob.md)
|
810
806
|
- [ProductionJobConfig](docs/ProductionJobConfig.md)
|
811
807
|
- [ProductionJobEvent](docs/ProductionJobEvent.md)
|
@@ -829,6 +825,7 @@ Class | Method | HTTP request | Description
|
|
829
825
|
- [Quota](docs/Quota.md)
|
830
826
|
- [RayGCSExternalStorageConfig](docs/RayGCSExternalStorageConfig.md)
|
831
827
|
- [RayRuntimeEnvConfig](docs/RayRuntimeEnvConfig.md)
|
828
|
+
- [RaySession](docs/RaySession.md)
|
832
829
|
- [ReadBillingVersion](docs/ReadBillingVersion.md)
|
833
830
|
- [ReadbillingversionListResponse](docs/ReadbillingversionListResponse.md)
|
834
831
|
- [ReplicaDetails](docs/ReplicaDetails.md)
|
@@ -913,18 +910,18 @@ Class | Method | HTTP request | Description
|
|
913
910
|
- [SupportRequestsQuery](docs/SupportRequestsQuery.md)
|
914
911
|
- [SystemWorkloadName](docs/SystemWorkloadName.md)
|
915
912
|
- [TaskExceptionGroupAggregate](docs/TaskExceptionGroupAggregate.md)
|
913
|
+
- [TaskExceptionGroupAggregateResponse](docs/TaskExceptionGroupAggregateResponse.md)
|
916
914
|
- [TaskFunctionNameGroupAggregate](docs/TaskFunctionNameGroupAggregate.md)
|
915
|
+
- [TaskFunctionNameGroupAggregateResponse](docs/TaskFunctionNameGroupAggregateResponse.md)
|
917
916
|
- [TaskGroupedAggregateMetrics](docs/TaskGroupedAggregateMetrics.md)
|
918
917
|
- [TaskJobGroupAggregate](docs/TaskJobGroupAggregate.md)
|
918
|
+
- [TaskJobGroupAggregateResponse](docs/TaskJobGroupAggregateResponse.md)
|
919
919
|
- [TaskState](docs/TaskState.md)
|
920
920
|
- [TaskSummary](docs/TaskSummary.md)
|
921
921
|
- [TaskTableConfig](docs/TaskTableConfig.md)
|
922
922
|
- [TaskTableResponse](docs/TaskTableResponse.md)
|
923
923
|
- [TaskTableRow](docs/TaskTableRow.md)
|
924
924
|
- [TaskType](docs/TaskType.md)
|
925
|
-
- [TaskexceptiongroupaggregateListResponse](docs/TaskexceptiongroupaggregateListResponse.md)
|
926
|
-
- [TaskfunctionnamegroupaggregateListResponse](docs/TaskfunctionnamegroupaggregateListResponse.md)
|
927
|
-
- [TaskjobgroupaggregateListResponse](docs/TaskjobgroupaggregateListResponse.md)
|
928
925
|
- [TasksummaryResponse](docs/TasksummaryResponse.md)
|
929
926
|
- [TemplatizedComputeConfigs](docs/TemplatizedComputeConfigs.md)
|
930
927
|
- [TemplatizedDecoratedApplicationTemplates](docs/TemplatizedDecoratedApplicationTemplates.md)
|
@@ -61,7 +61,6 @@ from openapi_client.models.archived_logs_info import ArchivedLogsInfo
|
|
61
61
|
from openapi_client.models.archivedlogsinfo_response import ArchivedlogsinfoResponse
|
62
62
|
from openapi_client.models.attach_machine_pool_to_cloud_request import AttachMachinePoolToCloudRequest
|
63
63
|
from openapi_client.models.attachmachinepooltocloudresponse_response import AttachmachinepooltocloudresponseResponse
|
64
|
-
from openapi_client.models.aviary_model_config_v2 import AviaryModelConfigV2
|
65
64
|
from openapi_client.models.aws_region_and_zones import AwsRegionAndZones
|
66
65
|
from openapi_client.models.aws_region_info import AwsRegionInfo
|
67
66
|
from openapi_client.models.awsregionandzones_response import AwsregionandzonesResponse
|
@@ -75,7 +74,6 @@ from openapi_client.models.batched_result_organization_invitation_base import Ba
|
|
75
74
|
from openapi_client.models.billing_information import BillingInformation
|
76
75
|
from openapi_client.models.billing_version_code import BillingVersionCode
|
77
76
|
from openapi_client.models.body_aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post import BodyAwsMarketplaceRegistrationApiV2OrganizationBillingAwsMarketplaceRegistrationPost
|
78
|
-
from openapi_client.models.buffer_registration import BufferRegistration
|
79
77
|
from openapi_client.models.build import Build
|
80
78
|
from openapi_client.models.build_log_response import BuildLogResponse
|
81
79
|
from openapi_client.models.build_registration import BuildRegistration
|
@@ -297,7 +295,6 @@ from openapi_client.models.fine_tune_type import FineTuneType
|
|
297
295
|
from openapi_client.models.fine_tuned_model import FineTunedModel
|
298
296
|
from openapi_client.models.finetunedmodel_list_response import FinetunedmodelListResponse
|
299
297
|
from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
|
300
|
-
from openapi_client.models.finish_ft_job_request_v2 import FinishFTJobRequestV2
|
301
298
|
from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
|
302
299
|
from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
|
303
300
|
from openapi_client.models.grafana_dashboard import GrafanaDashboard
|
@@ -345,11 +342,13 @@ from openapi_client.models.lb_resource import LBResource
|
|
345
342
|
from openapi_client.models.lbresource_response import LbresourceResponse
|
346
343
|
from openapi_client.models.list_machine_pools_response import ListMachinePoolsResponse
|
347
344
|
from openapi_client.models.list_machines_response import ListMachinesResponse
|
345
|
+
from openapi_client.models.list_ray_sessions_response import ListRaySessionsResponse
|
348
346
|
from openapi_client.models.list_resource_notifications_query import ListResourceNotificationsQuery
|
349
347
|
from openapi_client.models.list_resource_quotas_query import ListResourceQuotasQuery
|
350
348
|
from openapi_client.models.list_response_metadata import ListResponseMetadata
|
351
349
|
from openapi_client.models.listmachinepoolsresponse_response import ListmachinepoolsresponseResponse
|
352
350
|
from openapi_client.models.listmachinesresponse_response import ListmachinesresponseResponse
|
351
|
+
from openapi_client.models.listraysessionsresponse_response import ListraysessionsresponseResponse
|
353
352
|
from openapi_client.models.log_download_config import LogDownloadConfig
|
354
353
|
from openapi_client.models.log_download_request import LogDownloadRequest
|
355
354
|
from openapi_client.models.log_download_result import LogDownloadResult
|
@@ -434,9 +433,7 @@ from openapi_client.models.organizationusagealert_list_response import Organizat
|
|
434
433
|
from openapi_client.models.page_query import PageQuery
|
435
434
|
from openapi_client.models.pause_schedule import PauseSchedule
|
436
435
|
from openapi_client.models.permission_level import PermissionLevel
|
437
|
-
from openapi_client.models.product_autoscaler_flag import ProductAutoscalerFlag
|
438
436
|
from openapi_client.models.product_type import ProductType
|
439
|
-
from openapi_client.models.productautoscalerflag_response import ProductautoscalerflagResponse
|
440
437
|
from openapi_client.models.production_job import ProductionJob
|
441
438
|
from openapi_client.models.production_job_config import ProductionJobConfig
|
442
439
|
from openapi_client.models.production_job_event import ProductionJobEvent
|
@@ -460,6 +457,7 @@ from openapi_client.models.python_modules import PythonModules
|
|
460
457
|
from openapi_client.models.quota import Quota
|
461
458
|
from openapi_client.models.ray_gcs_external_storage_config import RayGCSExternalStorageConfig
|
462
459
|
from openapi_client.models.ray_runtime_env_config import RayRuntimeEnvConfig
|
460
|
+
from openapi_client.models.ray_session import RaySession
|
463
461
|
from openapi_client.models.read_billing_version import ReadBillingVersion
|
464
462
|
from openapi_client.models.readbillingversion_list_response import ReadbillingversionListResponse
|
465
463
|
from openapi_client.models.replica_details import ReplicaDetails
|
@@ -544,18 +542,18 @@ from openapi_client.models.subnet_id_with_availability_zone_aws import SubnetIdW
|
|
544
542
|
from openapi_client.models.support_requests_query import SupportRequestsQuery
|
545
543
|
from openapi_client.models.system_workload_name import SystemWorkloadName
|
546
544
|
from openapi_client.models.task_exception_group_aggregate import TaskExceptionGroupAggregate
|
545
|
+
from openapi_client.models.task_exception_group_aggregate_response import TaskExceptionGroupAggregateResponse
|
547
546
|
from openapi_client.models.task_function_name_group_aggregate import TaskFunctionNameGroupAggregate
|
547
|
+
from openapi_client.models.task_function_name_group_aggregate_response import TaskFunctionNameGroupAggregateResponse
|
548
548
|
from openapi_client.models.task_grouped_aggregate_metrics import TaskGroupedAggregateMetrics
|
549
549
|
from openapi_client.models.task_job_group_aggregate import TaskJobGroupAggregate
|
550
|
+
from openapi_client.models.task_job_group_aggregate_response import TaskJobGroupAggregateResponse
|
550
551
|
from openapi_client.models.task_state import TaskState
|
551
552
|
from openapi_client.models.task_summary import TaskSummary
|
552
553
|
from openapi_client.models.task_table_config import TaskTableConfig
|
553
554
|
from openapi_client.models.task_table_response import TaskTableResponse
|
554
555
|
from openapi_client.models.task_table_row import TaskTableRow
|
555
556
|
from openapi_client.models.task_type import TaskType
|
556
|
-
from openapi_client.models.taskexceptiongroupaggregate_list_response import TaskexceptiongroupaggregateListResponse
|
557
|
-
from openapi_client.models.taskfunctionnamegroupaggregate_list_response import TaskfunctionnamegroupaggregateListResponse
|
558
|
-
from openapi_client.models.taskjobgroupaggregate_list_response import TaskjobgroupaggregateListResponse
|
559
557
|
from openapi_client.models.tasksummary_response import TasksummaryResponse
|
560
558
|
from openapi_client.models.templatized_compute_configs import TemplatizedComputeConfigs
|
561
559
|
from openapi_client.models.templatized_decorated_application_templates import TemplatizedDecoratedApplicationTemplates
|