anyscale 0.26.15__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.
Files changed (58) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +4 -2
  2. anyscale/_private/anyscale_client/common.py +6 -4
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +15 -6
  4. anyscale/_private/docgen/__main__.py +4 -4
  5. anyscale/_private/docgen/generator.py +2 -2
  6. anyscale/_private/sdk/__init__.py +2 -2
  7. anyscale/_private/workload/workload_sdk.py +6 -4
  8. anyscale/aggregated_instance_usage/commands.py +6 -2
  9. anyscale/client/README.md +4 -6
  10. anyscale/client/openapi_client/__init__.py +3 -4
  11. anyscale/client/openapi_client/api/default_api.py +112 -228
  12. anyscale/client/openapi_client/models/__init__.py +3 -4
  13. anyscale/client/openapi_client/models/alert_type.py +11 -2
  14. anyscale/client/openapi_client/models/create_job_queue_requests.py +3 -32
  15. anyscale/client/openapi_client/models/{product_autoscaler_flag.py → list_ray_sessions_response.py} +22 -23
  16. anyscale/client/openapi_client/models/{productautoscalerflag_response.py → listraysessionsresponse_response.py} +11 -11
  17. anyscale/client/openapi_client/models/metric.py +133 -3
  18. anyscale/client/openapi_client/models/ray_session.py +121 -0
  19. anyscale/cloud/__init__.py +2 -2
  20. anyscale/cloud/_private/cloud_sdk.py +2 -2
  21. anyscale/cloud/commands.py +9 -6
  22. anyscale/cloud_utils.py +5 -4
  23. anyscale/cluster_compute.py +2 -2
  24. anyscale/cluster_env.py +2 -0
  25. anyscale/commands/login_commands.py +24 -3
  26. anyscale/commands/schedule_commands.py +2 -1
  27. anyscale/compute_config/commands.py +15 -7
  28. anyscale/controllers/cloud_controller.py +7 -7
  29. anyscale/controllers/cluster_controller.py +1 -0
  30. anyscale/controllers/job_controller.py +1 -1
  31. anyscale/controllers/service_controller.py +1 -0
  32. anyscale/image/commands.py +6 -6
  33. anyscale/job/commands.py +12 -12
  34. anyscale/organization_invitation/commands.py +11 -7
  35. anyscale/project/__init__.py +2 -2
  36. anyscale/project/_private/project_sdk.py +2 -2
  37. anyscale/project/commands.py +3 -3
  38. anyscale/project_utils.py +1 -1
  39. anyscale/resource_quota/commands.py +18 -10
  40. anyscale/schedule/commands.py +12 -8
  41. anyscale/sdk/anyscale_client/sdk.py +1 -0
  42. anyscale/service/commands.py +17 -17
  43. anyscale/service_account/commands.py +12 -10
  44. anyscale/user/commands.py +5 -3
  45. anyscale/utils/gcp_utils.py +25 -9
  46. anyscale/version.py +1 -1
  47. anyscale/workspace/__init__.py +1 -1
  48. anyscale/workspace/_private/workspace_sdk.py +5 -3
  49. anyscale/workspace/commands.py +26 -24
  50. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/METADATA +1 -1
  51. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/RECORD +56 -57
  52. anyscale/client/openapi_client/models/aviary_model_config_v2.py +0 -358
  53. anyscale/client/openapi_client/models/finish_ft_job_request_v2.py +0 -183
  54. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/LICENSE +0 -0
  55. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/NOTICE +0 -0
  56. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/WHEEL +0 -0
  57. {anyscale-0.26.15.dist-info → anyscale-0.26.16.dist-info}/entry_points.txt +0 -0
  58. {anyscale-0.26.15.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(self, workspace_id: str) -> Optional[DecoratedSession]:
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(self, workspace_id: str) -> Optional[DecoratedSession]:
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, name: str, cloud: str = DEFAULT_CLOUD_NAME, project_id: str = None
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(self, workspace_id: str) -> Optional[DecoratedSession]:
1076
- workspace_model = self._workspaces.get(workspace_id, None)
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(
@@ -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={schedule_commands.create, schedule_commands.update,},
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={service_commands.rollout},
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(
@@ -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 "_sdk" not in kwargs: # type: ignore
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["_sdk"] = _LAZY_SDK_SINGLETONS[key] # type: ignore
42
+ kwargs["_private_sdk"] = _LAZY_SDK_SINGLETONS[key] # type: ignore
43
43
 
44
44
  return f(*args, **kwargs)
45
45
 
@@ -211,7 +211,7 @@ class WorkloadSDK(BaseSDK):
211
211
  def resolve_compute_config_and_cloud_id(
212
212
  self,
213
213
  *,
214
- compute_config: Union[None, str, ComputeConfig],
214
+ compute_config: Union[ComputeConfig, Dict, str, None],
215
215
  cloud: Union[None, str],
216
216
  ) -> Tuple[str, str]:
217
217
  """Resolve the passed compute config to its ID and corresponding cloud ID.
@@ -237,7 +237,7 @@ class WorkloadSDK(BaseSDK):
237
237
  return (compute_config_id, cloud_id) # type: ignore
238
238
  elif cloud is None:
239
239
  compute_config_id = self._resolve_compute_config_id(
240
- compute_config=compute_config
240
+ compute_config=compute_config # type: ignore
241
241
  )
242
242
  return (
243
243
  compute_config_id,
@@ -252,7 +252,7 @@ class WorkloadSDK(BaseSDK):
252
252
  compute_config = replace(compute_config, cloud=cloud)
253
253
 
254
254
  compute_config_id = self._resolve_compute_config_id(
255
- compute_config=compute_config
255
+ compute_config=compute_config # type: ignore
256
256
  )
257
257
  cloud_id_from_cc = self.client.get_cloud_id(
258
258
  compute_config_id=compute_config_id
@@ -270,7 +270,9 @@ class WorkloadSDK(BaseSDK):
270
270
  if not self._client.inside_workspace():
271
271
  return None
272
272
 
273
- name = self._client.get_current_workspace_cluster().name
273
+ workspace = self._client.get_current_workspace_cluster()
274
+ assert workspace is not None
275
+ name = workspace.name
274
276
  # Defensively default to the workspace cluster name as-is if it doesn't
275
277
  # start with the expected prefix.
276
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, *, _sdk: PrivateAggregatedInstanceUsageSDK
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 _sdk.download_csv(filters)
44
+ return _private_sdk.download_csv(filters) # type: ignore
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
@@ -312,6 +310,7 @@ Class | Method | HTTP request | Description
312
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
313
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
314
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
315
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
316
315
  *DefaultApi* | [**list_sessions_api_v2_sessions_get**](docs/DefaultApi.md#list_sessions_api_v2_sessions_get) | **GET** /api/v2/sessions/ | List Sessions
317
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
@@ -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)
@@ -665,7 +663,6 @@ Class | Method | HTTP request | Description
665
663
  - [FineTunedModel](docs/FineTunedModel.md)
666
664
  - [FinetunedmodelListResponse](docs/FinetunedmodelListResponse.md)
667
665
  - [FinetunedmodelResponse](docs/FinetunedmodelResponse.md)
668
- - [FinishFTJobRequestV2](docs/FinishFTJobRequestV2.md)
669
666
  - [GCPFileStoreConfig](docs/GCPFileStoreConfig.md)
670
667
  - [GCPMemorystoreInstanceConfig](docs/GCPMemorystoreInstanceConfig.md)
671
668
  - [GrafanaDashboard](docs/GrafanaDashboard.md)
@@ -713,11 +710,13 @@ Class | Method | HTTP request | Description
713
710
  - [LbresourceResponse](docs/LbresourceResponse.md)
714
711
  - [ListMachinePoolsResponse](docs/ListMachinePoolsResponse.md)
715
712
  - [ListMachinesResponse](docs/ListMachinesResponse.md)
713
+ - [ListRaySessionsResponse](docs/ListRaySessionsResponse.md)
716
714
  - [ListResourceNotificationsQuery](docs/ListResourceNotificationsQuery.md)
717
715
  - [ListResourceQuotasQuery](docs/ListResourceQuotasQuery.md)
718
716
  - [ListResponseMetadata](docs/ListResponseMetadata.md)
719
717
  - [ListmachinepoolsresponseResponse](docs/ListmachinepoolsresponseResponse.md)
720
718
  - [ListmachinesresponseResponse](docs/ListmachinesresponseResponse.md)
719
+ - [ListraysessionsresponseResponse](docs/ListraysessionsresponseResponse.md)
721
720
  - [LogDownloadConfig](docs/LogDownloadConfig.md)
722
721
  - [LogDownloadRequest](docs/LogDownloadRequest.md)
723
722
  - [LogDownloadResult](docs/LogDownloadResult.md)
@@ -802,9 +801,7 @@ Class | Method | HTTP request | Description
802
801
  - [PageQuery](docs/PageQuery.md)
803
802
  - [PauseSchedule](docs/PauseSchedule.md)
804
803
  - [PermissionLevel](docs/PermissionLevel.md)
805
- - [ProductAutoscalerFlag](docs/ProductAutoscalerFlag.md)
806
804
  - [ProductType](docs/ProductType.md)
807
- - [ProductautoscalerflagResponse](docs/ProductautoscalerflagResponse.md)
808
805
  - [ProductionJob](docs/ProductionJob.md)
809
806
  - [ProductionJobConfig](docs/ProductionJobConfig.md)
810
807
  - [ProductionJobEvent](docs/ProductionJobEvent.md)
@@ -828,6 +825,7 @@ Class | Method | HTTP request | Description
828
825
  - [Quota](docs/Quota.md)
829
826
  - [RayGCSExternalStorageConfig](docs/RayGCSExternalStorageConfig.md)
830
827
  - [RayRuntimeEnvConfig](docs/RayRuntimeEnvConfig.md)
828
+ - [RaySession](docs/RaySession.md)
831
829
  - [ReadBillingVersion](docs/ReadBillingVersion.md)
832
830
  - [ReadbillingversionListResponse](docs/ReadbillingversionListResponse.md)
833
831
  - [ReplicaDetails](docs/ReplicaDetails.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
@@ -296,7 +295,6 @@ from openapi_client.models.fine_tune_type import FineTuneType
296
295
  from openapi_client.models.fine_tuned_model import FineTunedModel
297
296
  from openapi_client.models.finetunedmodel_list_response import FinetunedmodelListResponse
298
297
  from openapi_client.models.finetunedmodel_response import FinetunedmodelResponse
299
- from openapi_client.models.finish_ft_job_request_v2 import FinishFTJobRequestV2
300
298
  from openapi_client.models.gcp_file_store_config import GCPFileStoreConfig
301
299
  from openapi_client.models.gcp_memorystore_instance_config import GCPMemorystoreInstanceConfig
302
300
  from openapi_client.models.grafana_dashboard import GrafanaDashboard
@@ -344,11 +342,13 @@ from openapi_client.models.lb_resource import LBResource
344
342
  from openapi_client.models.lbresource_response import LbresourceResponse
345
343
  from openapi_client.models.list_machine_pools_response import ListMachinePoolsResponse
346
344
  from openapi_client.models.list_machines_response import ListMachinesResponse
345
+ from openapi_client.models.list_ray_sessions_response import ListRaySessionsResponse
347
346
  from openapi_client.models.list_resource_notifications_query import ListResourceNotificationsQuery
348
347
  from openapi_client.models.list_resource_quotas_query import ListResourceQuotasQuery
349
348
  from openapi_client.models.list_response_metadata import ListResponseMetadata
350
349
  from openapi_client.models.listmachinepoolsresponse_response import ListmachinepoolsresponseResponse
351
350
  from openapi_client.models.listmachinesresponse_response import ListmachinesresponseResponse
351
+ from openapi_client.models.listraysessionsresponse_response import ListraysessionsresponseResponse
352
352
  from openapi_client.models.log_download_config import LogDownloadConfig
353
353
  from openapi_client.models.log_download_request import LogDownloadRequest
354
354
  from openapi_client.models.log_download_result import LogDownloadResult
@@ -433,9 +433,7 @@ from openapi_client.models.organizationusagealert_list_response import Organizat
433
433
  from openapi_client.models.page_query import PageQuery
434
434
  from openapi_client.models.pause_schedule import PauseSchedule
435
435
  from openapi_client.models.permission_level import PermissionLevel
436
- from openapi_client.models.product_autoscaler_flag import ProductAutoscalerFlag
437
436
  from openapi_client.models.product_type import ProductType
438
- from openapi_client.models.productautoscalerflag_response import ProductautoscalerflagResponse
439
437
  from openapi_client.models.production_job import ProductionJob
440
438
  from openapi_client.models.production_job_config import ProductionJobConfig
441
439
  from openapi_client.models.production_job_event import ProductionJobEvent
@@ -459,6 +457,7 @@ from openapi_client.models.python_modules import PythonModules
459
457
  from openapi_client.models.quota import Quota
460
458
  from openapi_client.models.ray_gcs_external_storage_config import RayGCSExternalStorageConfig
461
459
  from openapi_client.models.ray_runtime_env_config import RayRuntimeEnvConfig
460
+ from openapi_client.models.ray_session import RaySession
462
461
  from openapi_client.models.read_billing_version import ReadBillingVersion
463
462
  from openapi_client.models.readbillingversion_list_response import ReadbillingversionListResponse
464
463
  from openapi_client.models.replica_details import ReplicaDetails