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
@@ -17,6 +17,7 @@ from __future__ import absolute_import
|
|
17
17
|
from openapi_client.models.aws_credentials import AWSCredentials
|
18
18
|
from openapi_client.models.aws_memory_db_cluster_config import AWSMemoryDBClusterConfig
|
19
19
|
from openapi_client.models.access_config import AccessConfig
|
20
|
+
from openapi_client.models.actor_status import ActorStatus
|
20
21
|
from openapi_client.models.admin_create_user import AdminCreateUser
|
21
22
|
from openapi_client.models.admin_created_user import AdminCreatedUser
|
22
23
|
from openapi_client.models.admincreateduser_list_response import AdmincreateduserListResponse
|
@@ -202,7 +203,7 @@ from openapi_client.models.create_otp_return_api_model import CreateOTPReturnApi
|
|
202
203
|
from openapi_client.models.create_organization_configuration import CreateOrganizationConfiguration
|
203
204
|
from openapi_client.models.create_organization_invitation import CreateOrganizationInvitation
|
204
205
|
from openapi_client.models.create_production_job_config import CreateProductionJobConfig
|
205
|
-
from openapi_client.models.
|
206
|
+
from openapi_client.models.create_resource_notification import CreateResourceNotification
|
206
207
|
from openapi_client.models.create_resource_quota import CreateResourceQuota
|
207
208
|
from openapi_client.models.create_schedule import CreateSchedule
|
208
209
|
from openapi_client.models.create_session_from_snapshot_options import CreateSessionFromSnapshotOptions
|
@@ -220,7 +221,6 @@ from openapi_client.models.createotpreturnapimodel_response import Createotpretu
|
|
220
221
|
from openapi_client.models.createsessionresponse_response import CreatesessionresponseResponse
|
221
222
|
from openapi_client.models.credit_card_information import CreditCardInformation
|
222
223
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
223
|
-
from openapi_client.models.customer_billing_type import CustomerBillingType
|
224
224
|
from openapi_client.models.dataplane_services import DataplaneServices
|
225
225
|
from openapi_client.models.dataset import Dataset
|
226
226
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
@@ -346,6 +346,7 @@ from openapi_client.models.invoice_list_response import InvoiceListResponse
|
|
346
346
|
from openapi_client.models.invoice_status import InvoiceStatus
|
347
347
|
from openapi_client.models.invoices_query import InvoicesQuery
|
348
348
|
from openapi_client.models.job_access import JobAccess
|
349
|
+
from openapi_client.models.job_details import JobDetails
|
349
350
|
from openapi_client.models.job_queue import JobQueue
|
350
351
|
from openapi_client.models.job_queue_config import JobQueueConfig
|
351
352
|
from openapi_client.models.job_queue_execution_mode import JobQueueExecutionMode
|
@@ -370,7 +371,7 @@ from openapi_client.models.lb_resource import LBResource
|
|
370
371
|
from openapi_client.models.lbresource_response import LbresourceResponse
|
371
372
|
from openapi_client.models.list_machine_pools_response import ListMachinePoolsResponse
|
372
373
|
from openapi_client.models.list_machines_response import ListMachinesResponse
|
373
|
-
from openapi_client.models.
|
374
|
+
from openapi_client.models.list_resource_notifications_query import ListResourceNotificationsQuery
|
374
375
|
from openapi_client.models.list_resource_quotas_query import ListResourceQuotasQuery
|
375
376
|
from openapi_client.models.list_response_metadata import ListResponseMetadata
|
376
377
|
from openapi_client.models.listmachinepoolsresponse_response import ListmachinepoolsresponseResponse
|
@@ -397,6 +398,7 @@ from openapi_client.models.longrunningworkload_list_response import Longrunningw
|
|
397
398
|
from openapi_client.models.machine_allocation_state import MachineAllocationState
|
398
399
|
from openapi_client.models.machine_connection_state import MachineConnectionState
|
399
400
|
from openapi_client.models.machine_info import MachineInfo
|
401
|
+
from openapi_client.models.machine_launch_failure import MachineLaunchFailure
|
400
402
|
from openapi_client.models.machine_pool import MachinePool
|
401
403
|
from openapi_client.models.machine_state_info import MachineStateInfo
|
402
404
|
from openapi_client.models.metronome_customer_info_model import MetronomeCustomerInfoModel
|
@@ -506,17 +508,19 @@ from openapi_client.models.request_state_info import RequestStateInfo
|
|
506
508
|
from openapi_client.models.requestemailmagiclinkresponse_response import RequestemailmagiclinkresponseResponse
|
507
509
|
from openapi_client.models.requestotpreturnapimodel_response import RequestotpreturnapimodelResponse
|
508
510
|
from openapi_client.models.reset_password_params import ResetPasswordParams
|
509
|
-
from openapi_client.models.resource_alert import ResourceAlert
|
510
511
|
from openapi_client.models.resource_alert_event_type import ResourceAlertEventType
|
512
|
+
from openapi_client.models.resource_notification import ResourceNotification
|
511
513
|
from openapi_client.models.resource_quota import ResourceQuota
|
512
514
|
from openapi_client.models.resource_quota_status import ResourceQuotaStatus
|
513
|
-
from openapi_client.models.
|
514
|
-
from openapi_client.models.
|
515
|
+
from openapi_client.models.resourcenotification_list_response import ResourcenotificationListResponse
|
516
|
+
from openapi_client.models.resourcenotification_response import ResourcenotificationResponse
|
515
517
|
from openapi_client.models.resourcequota_list_response import ResourcequotaListResponse
|
516
518
|
from openapi_client.models.resourcequota_response import ResourcequotaResponse
|
517
519
|
from openapi_client.models.resources import Resources
|
518
520
|
from openapi_client.models.rollback_service_model import RollbackServiceModel
|
519
521
|
from openapi_client.models.rollout_strategy import RolloutStrategy
|
522
|
+
from openapi_client.models.run_attempt_status import RunAttemptStatus
|
523
|
+
from openapi_client.models.run_status import RunStatus
|
520
524
|
from openapi_client.models.s3_download_location import S3DownloadLocation
|
521
525
|
from openapi_client.models.sso_login_info import SSOLoginInfo
|
522
526
|
from openapi_client.models.supportedbaseimagesenum import SUPPORTEDBASEIMAGESENUM
|
@@ -602,6 +606,11 @@ from openapi_client.models.timestamped_logs_output import TimestampedLogsOutput
|
|
602
606
|
from openapi_client.models.timestampedlogsoutput_response import TimestampedlogsoutputResponse
|
603
607
|
from openapi_client.models.tool import Tool
|
604
608
|
from openapi_client.models.tracing_config import TracingConfig
|
609
|
+
from openapi_client.models.train_resources import TrainResources
|
610
|
+
from openapi_client.models.train_run import TrainRun
|
611
|
+
from openapi_client.models.train_run_attempt import TrainRunAttempt
|
612
|
+
from openapi_client.models.train_worker import TrainWorker
|
613
|
+
from openapi_client.models.trainrun_list_response import TrainrunListResponse
|
605
614
|
from openapi_client.models.try_login_email_response import TryLoginEmailResponse
|
606
615
|
from openapi_client.models.tryloginemailresponse_response import TryloginemailresponseResponse
|
607
616
|
from openapi_client.models.ux_instance import UXInstance
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ActorStatus(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -28,11 +28,10 @@ class CustomerBillingType(object):
|
|
28
28
|
"""
|
29
29
|
allowed enum values
|
30
30
|
"""
|
31
|
-
|
32
|
-
|
33
|
-
EXTERNAL_TRAINING = "EXTERNAL_TRAINING"
|
31
|
+
ALIVE = "ALIVE"
|
32
|
+
DEAD = "DEAD"
|
34
33
|
|
35
|
-
allowable_values = [
|
34
|
+
allowable_values = [ALIVE, DEAD] # noqa: E501
|
36
35
|
|
37
36
|
"""
|
38
37
|
Attributes:
|
@@ -48,7 +47,7 @@ class CustomerBillingType(object):
|
|
48
47
|
}
|
49
48
|
|
50
49
|
def __init__(self, local_vars_configuration=None): # noqa: E501
|
51
|
-
"""
|
50
|
+
"""ActorStatus - a model defined in OpenAPI""" # noqa: E501
|
52
51
|
if local_vars_configuration is None:
|
53
52
|
local_vars_configuration = Configuration()
|
54
53
|
self.local_vars_configuration = local_vars_configuration
|
@@ -88,14 +87,14 @@ class CustomerBillingType(object):
|
|
88
87
|
|
89
88
|
def __eq__(self, other):
|
90
89
|
"""Returns true if both objects are equal"""
|
91
|
-
if not isinstance(other,
|
90
|
+
if not isinstance(other, ActorStatus):
|
92
91
|
return False
|
93
92
|
|
94
93
|
return self.to_dict() == other.to_dict()
|
95
94
|
|
96
95
|
def __ne__(self, other):
|
97
96
|
"""Returns true if both objects are not equal"""
|
98
|
-
if not isinstance(other,
|
97
|
+
if not isinstance(other, ActorStatus):
|
99
98
|
return True
|
100
99
|
|
101
100
|
return self.to_dict() != other.to_dict()
|
@@ -56,7 +56,10 @@ class AggregatedInstanceUsageCSV(object):
|
|
56
56
|
'gpu_type': 'str',
|
57
57
|
'memory_mib': 'int',
|
58
58
|
'cpu_count': 'int',
|
59
|
-
'gpu_count': 'int'
|
59
|
+
'gpu_count': 'int',
|
60
|
+
'anyscale_managed_machine_pool_id': 'str',
|
61
|
+
'anyscale_managed_machine_pool_name': 'str',
|
62
|
+
'user_defined_machine_type': 'str'
|
60
63
|
}
|
61
64
|
|
62
65
|
attribute_map = {
|
@@ -83,10 +86,13 @@ class AggregatedInstanceUsageCSV(object):
|
|
83
86
|
'gpu_type': 'gpu_type',
|
84
87
|
'memory_mib': 'memory_mib',
|
85
88
|
'cpu_count': 'cpu_count',
|
86
|
-
'gpu_count': 'gpu_count'
|
89
|
+
'gpu_count': 'gpu_count',
|
90
|
+
'anyscale_managed_machine_pool_id': 'anyscale_managed_machine_pool_id',
|
91
|
+
'anyscale_managed_machine_pool_name': 'anyscale_managed_machine_pool_name',
|
92
|
+
'user_defined_machine_type': 'user_defined_machine_type'
|
87
93
|
}
|
88
94
|
|
89
|
-
def __init__(self, date=None, organization_id=None, organization_name=None, cloud_hosting_type=None, cloud_id=None, cloud_name=None, project_id=None, project_name=None, user_id=None, user_email=None, cluster_id=None, workspace_id=None, job_id=None, job_queue_id=None, service_id=None, instance_type=None, instance_seconds=None, cloud_provider=None, anyscale_credits=None, compute_stack=None, gpu_type=None, memory_mib=None, cpu_count=None, gpu_count=None, local_vars_configuration=None): # noqa: E501
|
95
|
+
def __init__(self, date=None, organization_id=None, organization_name=None, cloud_hosting_type=None, cloud_id=None, cloud_name=None, project_id=None, project_name=None, user_id=None, user_email=None, cluster_id=None, workspace_id=None, job_id=None, job_queue_id=None, service_id=None, instance_type=None, instance_seconds=None, cloud_provider=None, anyscale_credits=None, compute_stack=None, gpu_type=None, memory_mib=None, cpu_count=None, gpu_count=None, anyscale_managed_machine_pool_id=None, anyscale_managed_machine_pool_name=None, user_defined_machine_type=None, local_vars_configuration=None): # noqa: E501
|
90
96
|
"""AggregatedInstanceUsageCSV - a model defined in OpenAPI""" # noqa: E501
|
91
97
|
if local_vars_configuration is None:
|
92
98
|
local_vars_configuration = Configuration()
|
@@ -116,6 +122,9 @@ class AggregatedInstanceUsageCSV(object):
|
|
116
122
|
self._memory_mib = None
|
117
123
|
self._cpu_count = None
|
118
124
|
self._gpu_count = None
|
125
|
+
self._anyscale_managed_machine_pool_id = None
|
126
|
+
self._anyscale_managed_machine_pool_name = None
|
127
|
+
self._user_defined_machine_type = None
|
119
128
|
self.discriminator = None
|
120
129
|
|
121
130
|
self.date = date
|
@@ -151,6 +160,12 @@ class AggregatedInstanceUsageCSV(object):
|
|
151
160
|
self.cpu_count = cpu_count
|
152
161
|
if gpu_count is not None:
|
153
162
|
self.gpu_count = gpu_count
|
163
|
+
if anyscale_managed_machine_pool_id is not None:
|
164
|
+
self.anyscale_managed_machine_pool_id = anyscale_managed_machine_pool_id
|
165
|
+
if anyscale_managed_machine_pool_name is not None:
|
166
|
+
self.anyscale_managed_machine_pool_name = anyscale_managed_machine_pool_name
|
167
|
+
if user_defined_machine_type is not None:
|
168
|
+
self.user_defined_machine_type = user_defined_machine_type
|
154
169
|
|
155
170
|
@property
|
156
171
|
def date(self):
|
@@ -686,6 +701,69 @@ class AggregatedInstanceUsageCSV(object):
|
|
686
701
|
|
687
702
|
self._gpu_count = gpu_count
|
688
703
|
|
704
|
+
@property
|
705
|
+
def anyscale_managed_machine_pool_id(self):
|
706
|
+
"""Gets the anyscale_managed_machine_pool_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
707
|
+
|
708
|
+
|
709
|
+
:return: The anyscale_managed_machine_pool_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
710
|
+
:rtype: str
|
711
|
+
"""
|
712
|
+
return self._anyscale_managed_machine_pool_id
|
713
|
+
|
714
|
+
@anyscale_managed_machine_pool_id.setter
|
715
|
+
def anyscale_managed_machine_pool_id(self, anyscale_managed_machine_pool_id):
|
716
|
+
"""Sets the anyscale_managed_machine_pool_id of this AggregatedInstanceUsageCSV.
|
717
|
+
|
718
|
+
|
719
|
+
:param anyscale_managed_machine_pool_id: The anyscale_managed_machine_pool_id of this AggregatedInstanceUsageCSV. # noqa: E501
|
720
|
+
:type: str
|
721
|
+
"""
|
722
|
+
|
723
|
+
self._anyscale_managed_machine_pool_id = anyscale_managed_machine_pool_id
|
724
|
+
|
725
|
+
@property
|
726
|
+
def anyscale_managed_machine_pool_name(self):
|
727
|
+
"""Gets the anyscale_managed_machine_pool_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
728
|
+
|
729
|
+
|
730
|
+
:return: The anyscale_managed_machine_pool_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
731
|
+
:rtype: str
|
732
|
+
"""
|
733
|
+
return self._anyscale_managed_machine_pool_name
|
734
|
+
|
735
|
+
@anyscale_managed_machine_pool_name.setter
|
736
|
+
def anyscale_managed_machine_pool_name(self, anyscale_managed_machine_pool_name):
|
737
|
+
"""Sets the anyscale_managed_machine_pool_name of this AggregatedInstanceUsageCSV.
|
738
|
+
|
739
|
+
|
740
|
+
:param anyscale_managed_machine_pool_name: The anyscale_managed_machine_pool_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
741
|
+
:type: str
|
742
|
+
"""
|
743
|
+
|
744
|
+
self._anyscale_managed_machine_pool_name = anyscale_managed_machine_pool_name
|
745
|
+
|
746
|
+
@property
|
747
|
+
def user_defined_machine_type(self):
|
748
|
+
"""Gets the user_defined_machine_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
749
|
+
|
750
|
+
|
751
|
+
:return: The user_defined_machine_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
752
|
+
:rtype: str
|
753
|
+
"""
|
754
|
+
return self._user_defined_machine_type
|
755
|
+
|
756
|
+
@user_defined_machine_type.setter
|
757
|
+
def user_defined_machine_type(self, user_defined_machine_type):
|
758
|
+
"""Sets the user_defined_machine_type of this AggregatedInstanceUsageCSV.
|
759
|
+
|
760
|
+
|
761
|
+
:param user_defined_machine_type: The user_defined_machine_type of this AggregatedInstanceUsageCSV. # noqa: E501
|
762
|
+
:type: str
|
763
|
+
"""
|
764
|
+
|
765
|
+
self._user_defined_machine_type = user_defined_machine_type
|
766
|
+
|
689
767
|
def to_dict(self):
|
690
768
|
"""Returns the model properties as a dict"""
|
691
769
|
result = {}
|