anyscale 0.26.0__py3-none-any.whl → 0.26.2__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 +13 -1
- anyscale/_private/anyscale_client/common.py +1 -1
- anyscale/_private/docgen/models.md +2 -2
- anyscale/client/README.md +21 -10
- anyscale/client/openapi_client/__init__.py +15 -6
- anyscale/client/openapi_client/api/default_api.py +322 -83
- anyscale/client/openapi_client/models/__init__.py +15 -6
- anyscale/client/openapi_client/models/{customer_billing_type.py → actor_status.py} +7 -8
- anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +81 -3
- anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/create_organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/{create_resource_alert.py → create_resource_notification.py} +40 -40
- anyscale/client/openapi_client/models/job_details.py +173 -0
- anyscale/client/openapi_client/models/{list_resource_alerts_query.py → list_resource_notifications_query.py} +24 -24
- anyscale/client/openapi_client/models/machine_launch_failure.py +152 -0
- anyscale/client/openapi_client/models/organization_configuration.py +3 -3
- anyscale/client/openapi_client/models/organization_configuration_response.py +3 -3
- anyscale/client/openapi_client/models/resource_alert_event_type.py +5 -1
- anyscale/client/openapi_client/models/{resource_alert.py → resource_notification.py} +64 -64
- anyscale/client/openapi_client/models/resourcenotification_list_response.py +147 -0
- anyscale/client/openapi_client/models/{resourcealert_response.py → resourcenotification_response.py} +11 -11
- anyscale/client/openapi_client/models/run_attempt_status.py +103 -0
- anyscale/client/openapi_client/models/run_status.py +106 -0
- anyscale/client/openapi_client/models/scheduler_info.py +32 -3
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/client/openapi_client/models/tool.py +2 -1
- anyscale/client/openapi_client/models/train_resources.py +121 -0
- anyscale/client/openapi_client/models/train_run.py +387 -0
- anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
- anyscale/client/openapi_client/models/train_worker.py +363 -0
- anyscale/client/openapi_client/models/{resourcealert_list_response.py → trainrun_list_response.py} +15 -15
- anyscale/client/openapi_client/models/workspace_dataplane_proxied_artifacts.py +31 -3
- anyscale/commands/machine_pool_commands.py +15 -10
- anyscale/resource_quota/commands.py +1 -2
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
- anyscale/service/_private/service_sdk.py +2 -3
- anyscale/shared_anyscale_utils/constants.py +3 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/METADATA +1 -1
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/RECORD +47 -37
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/LICENSE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/NOTICE +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/WHEEL +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.0.dist-info → anyscale-0.26.2.dist-info}/top_level.txt +0 -0
@@ -428,7 +428,19 @@ class AnyscaleClient(AnyscaleClientInterface):
|
|
428
428
|
Defaults to `None`.
|
429
429
|
name: The name of the project.
|
430
430
|
"""
|
431
|
-
#
|
431
|
+
# First try to find project by name and parent cloud id
|
432
|
+
if parent_cloud_id is not None and name is not None:
|
433
|
+
response = self._external_api_client.search_projects(
|
434
|
+
{
|
435
|
+
"name": {"equals": name,},
|
436
|
+
"parent_cloud_id": {"equals": parent_cloud_id,},
|
437
|
+
}
|
438
|
+
)
|
439
|
+
if response.results:
|
440
|
+
# Project name is unique within a cloud, so we can just return the first result
|
441
|
+
return response.results[0].id
|
442
|
+
|
443
|
+
# Then find if project with name already exists
|
432
444
|
matching_projects = self._internal_api_client.find_project_by_project_name_api_v2_projects_find_by_name_get(
|
433
445
|
name
|
434
446
|
).results
|
@@ -49,7 +49,7 @@ from anyscale.utils.workspace_notification import WorkspaceNotification
|
|
49
49
|
# Maybe just make it part of the release process to update it, or fetch the
|
50
50
|
# default builds and get the latest one. The best thing to do is probably
|
51
51
|
# to populate this in the backend.
|
52
|
-
DEFAULT_RAY_VERSION = "2.
|
52
|
+
DEFAULT_RAY_VERSION = "2.43.0" # RAY_RELEASE_UPDATE: update to latest version.
|
53
53
|
DEFAULT_PYTHON_VERSION = "py311"
|
54
54
|
RUNTIME_ENV_PACKAGE_FORMAT = "pkg_{content_hash}.zip"
|
55
55
|
|