anyscale 0.26.4__py3-none-any.whl → 0.26.5__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 +1 -5
- anyscale/_private/docgen/__main__.py +0 -3
- anyscale/_private/docgen/api.md +0 -40
- anyscale/_private/docgen/models.md +0 -49
- anyscale/anyscale-cloud-setup-gcp-oa.yaml +2 -1
- anyscale/anyscale-cloud-setup-gcp.yaml +4 -2
- anyscale/client/README.md +9 -8
- anyscale/client/openapi_client/__init__.py +7 -5
- anyscale/client/openapi_client/api/default_api.py +304 -486
- anyscale/client/openapi_client/models/__init__.py +7 -5
- anyscale/client/openapi_client/models/{anyscaleversionresponse_response.py → backend_server_api_product_models_dataset_runs_dataset_response.py} +22 -22
- anyscale/client/openapi_client/models/{dataset_response.py → backend_server_api_product_routers_datasets_router_dataset_response.py} +8 -8
- anyscale/client/openapi_client/models/{anyscale_version_response.py → dataset_jobs.py} +22 -22
- anyscale/client/openapi_client/models/dataset_metrics.py +390 -0
- anyscale/{sdk/anyscale_client/models/session_command_types.py → client/openapi_client/models/dataset_state.py} +11 -9
- anyscale/client/openapi_client/models/{decoratedjob_list_response.py → metric.py} +64 -38
- anyscale/client/openapi_client/models/operator_metrics.py +256 -0
- anyscale/client/openapi_client/models/train_run.py +28 -1
- anyscale/cluster.py +5 -2
- anyscale/commands/anyscale_api/api_commands.py +0 -2
- anyscale/connect_utils/start_interactive_session.py +4 -1
- anyscale/controllers/cluster_controller.py +15 -26
- anyscale/controllers/project_controller.py +1 -6
- anyscale/job/_private/job_sdk.py +6 -1
- anyscale/job/models.py +8 -0
- anyscale/project_utils.py +9 -20
- anyscale/sdk/anyscale_client/__init__.py +0 -5
- anyscale/sdk/anyscale_client/api/default_api.py +0 -474
- anyscale/sdk/anyscale_client/models/__init__.py +0 -5
- anyscale/version.py +1 -1
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/METADATA +1 -1
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/RECORD +37 -41
- anyscale/client/openapi_client/models/setup_initialize_session_options.py +0 -225
- anyscale/commands/anyscale_api/session_commands_commands.py +0 -80
- anyscale/sdk/anyscale_client/models/create_session_command.py +0 -152
- anyscale/sdk/anyscale_client/models/session_command.py +0 -350
- anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/sessioncommand_response.py +0 -121
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/LICENSE +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/NOTICE +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/WHEEL +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/top_level.txt +0 -0
@@ -30,12 +30,10 @@ from openapi_client.models.aioacloudwaitlistrecord_response import Aioacloudwait
|
|
30
30
|
from openapi_client.models.alert_type import AlertType
|
31
31
|
from openapi_client.models.anyscale_aws_account import AnyscaleAWSAccount
|
32
32
|
from openapi_client.models.anyscale_service_account import AnyscaleServiceAccount
|
33
|
-
from openapi_client.models.anyscale_version_response import AnyscaleVersionResponse
|
34
33
|
from openapi_client.models.anyscaleawsaccount_response import AnyscaleawsaccountResponse
|
35
34
|
from openapi_client.models.anyscaled_credential_response import AnyscaledCredentialResponse
|
36
35
|
from openapi_client.models.anyscaledcredentialresponse_response import AnyscaledcredentialresponseResponse
|
37
36
|
from openapi_client.models.anyscaleserviceaccount_response import AnyscaleserviceaccountResponse
|
38
|
-
from openapi_client.models.anyscaleversionresponse_response import AnyscaleversionresponseResponse
|
39
37
|
from openapi_client.models.api_key_parameters import ApiKeyParameters
|
40
38
|
from openapi_client.models.app_config import AppConfig
|
41
39
|
from openapi_client.models.app_config_config_schema import AppConfigConfigSchema
|
@@ -54,6 +52,8 @@ from openapi_client.models.aws_region_and_zones import AwsRegionAndZones
|
|
54
52
|
from openapi_client.models.aws_region_info import AwsRegionInfo
|
55
53
|
from openapi_client.models.awsregionandzones_response import AwsregionandzonesResponse
|
56
54
|
from openapi_client.models.baseimagesenum import BASEIMAGESENUM
|
55
|
+
from openapi_client.models.backend_server_api_product_models_dataset_runs_dataset_response import BackendServerApiProductModelsDatasetRunsDatasetResponse
|
56
|
+
from openapi_client.models.backend_server_api_product_routers_datasets_router_dataset_response import BackendServerApiProductRoutersDatasetsRouterDatasetResponse
|
57
57
|
from openapi_client.models.bank_account_information import BankAccountInformation
|
58
58
|
from openapi_client.models.base_job_status import BaseJobStatus
|
59
59
|
from openapi_client.models.batch_response_batched_result_organization_invitation_base import BatchResponseBatchedResultOrganizationInvitationBase
|
@@ -206,8 +206,10 @@ from openapi_client.models.credit_card_information import CreditCardInformation
|
|
206
206
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
207
207
|
from openapi_client.models.dataplane_services import DataplaneServices
|
208
208
|
from openapi_client.models.dataset import Dataset
|
209
|
+
from openapi_client.models.dataset_jobs import DatasetJobs
|
209
210
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
210
|
-
from openapi_client.models.
|
211
|
+
from openapi_client.models.dataset_metrics import DatasetMetrics
|
212
|
+
from openapi_client.models.dataset_state import DatasetState
|
211
213
|
from openapi_client.models.dataset_upload import DatasetUpload
|
212
214
|
from openapi_client.models.datasetupload_response import DatasetuploadResponse
|
213
215
|
from openapi_client.models.decorated_application_template import DecoratedApplicationTemplate
|
@@ -238,7 +240,6 @@ from openapi_client.models.decoratedcomputetemplate_list_response import Decorat
|
|
238
240
|
from openapi_client.models.decoratedcomputetemplate_response import DecoratedcomputetemplateResponse
|
239
241
|
from openapi_client.models.decoratedinteractivesession_list_response import DecoratedinteractivesessionListResponse
|
240
242
|
from openapi_client.models.decoratedinteractivesession_response import DecoratedinteractivesessionResponse
|
241
|
-
from openapi_client.models.decoratedjob_list_response import DecoratedjobListResponse
|
242
243
|
from openapi_client.models.decoratedjob_response import DecoratedjobResponse
|
243
244
|
from openapi_client.models.decoratedjobqueue_list_response import DecoratedjobqueueListResponse
|
244
245
|
from openapi_client.models.decoratedjobqueue_response import DecoratedjobqueueResponse
|
@@ -380,6 +381,7 @@ from openapi_client.models.machine_info import MachineInfo
|
|
380
381
|
from openapi_client.models.machine_launch_failure import MachineLaunchFailure
|
381
382
|
from openapi_client.models.machine_pool import MachinePool
|
382
383
|
from openapi_client.models.machine_state_info import MachineStateInfo
|
384
|
+
from openapi_client.models.metric import Metric
|
383
385
|
from openapi_client.models.metronome_customer_info_model import MetronomeCustomerInfoModel
|
384
386
|
from openapi_client.models.metronome_dashboard_type import MetronomeDashboardType
|
385
387
|
from openapi_client.models.metronomecustomerinfomodel_list_response import MetronomecustomerinfomodelListResponse
|
@@ -412,6 +414,7 @@ from openapi_client.models.notification_channel_email_config import Notification
|
|
412
414
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
413
415
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
414
416
|
from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
|
417
|
+
from openapi_client.models.operator_metrics import OperatorMetrics
|
415
418
|
from openapi_client.models.organization import Organization
|
416
419
|
from openapi_client.models.organization_availability import OrganizationAvailability
|
417
420
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
@@ -556,7 +559,6 @@ from openapi_client.models.sessiondetails_response import SessiondetailsResponse
|
|
556
559
|
from openapi_client.models.sessionhistoryitem_list_response import SessionhistoryitemListResponse
|
557
560
|
from openapi_client.models.sessions_sort_field import SessionsSortField
|
558
561
|
from openapi_client.models.sessionsshkey_response import SessionsshkeyResponse
|
559
|
-
from openapi_client.models.setup_initialize_session_options import SetupInitializeSessionOptions
|
560
562
|
from openapi_client.models.show_otp_source_return_api_model import ShowOTPSourceReturnApiModel
|
561
563
|
from openapi_client.models.showotpsourcereturnapimodel_response import ShowotpsourcereturnapimodelResponse
|
562
564
|
from openapi_client.models.snapshot_create_message import SnapshotCreateMessage
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class BackendServerApiProductModelsDatasetRunsDatasetResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,46 +33,46 @@ class AnyscaleversionresponseResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'
|
36
|
+
'datasets': 'list[DatasetMetrics]'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
40
|
-
'
|
40
|
+
'datasets': 'datasets'
|
41
41
|
}
|
42
42
|
|
43
|
-
def __init__(self,
|
44
|
-
"""
|
43
|
+
def __init__(self, datasets=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""BackendServerApiProductModelsDatasetRunsDatasetResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
48
48
|
|
49
|
-
self.
|
49
|
+
self._datasets = None
|
50
50
|
self.discriminator = None
|
51
51
|
|
52
|
-
self.
|
52
|
+
self.datasets = datasets
|
53
53
|
|
54
54
|
@property
|
55
|
-
def
|
56
|
-
"""Gets the
|
55
|
+
def datasets(self):
|
56
|
+
"""Gets the datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The
|
60
|
-
:rtype:
|
59
|
+
:return: The datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse. # noqa: E501
|
60
|
+
:rtype: list[DatasetMetrics]
|
61
61
|
"""
|
62
|
-
return self.
|
62
|
+
return self._datasets
|
63
63
|
|
64
|
-
@
|
65
|
-
def
|
66
|
-
"""Sets the
|
64
|
+
@datasets.setter
|
65
|
+
def datasets(self, datasets):
|
66
|
+
"""Sets the datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param
|
70
|
-
:type:
|
69
|
+
:param datasets: The datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse. # noqa: E501
|
70
|
+
:type: list[DatasetMetrics]
|
71
71
|
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and
|
73
|
-
raise ValueError("Invalid value for `
|
72
|
+
if self.local_vars_configuration.client_side_validation and datasets is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `datasets`, must not be `None`") # noqa: E501
|
74
74
|
|
75
|
-
self.
|
75
|
+
self._datasets = datasets
|
76
76
|
|
77
77
|
def to_dict(self):
|
78
78
|
"""Returns the model properties as a dict"""
|
@@ -108,14 +108,14 @@ class AnyscaleversionresponseResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, BackendServerApiProductModelsDatasetRunsDatasetResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, BackendServerApiProductModelsDatasetRunsDatasetResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class BackendServerApiProductRoutersDatasetsRouterDatasetResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -41,7 +41,7 @@ class DatasetResponse(object):
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""
|
44
|
+
"""BackendServerApiProductRoutersDatasetsRouterDatasetResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
@@ -53,20 +53,20 @@ class DatasetResponse(object):
|
|
53
53
|
|
54
54
|
@property
|
55
55
|
def result(self):
|
56
|
-
"""Gets the result of this
|
56
|
+
"""Gets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The result of this
|
59
|
+
:return: The result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
60
60
|
:rtype: Dataset
|
61
61
|
"""
|
62
62
|
return self._result
|
63
63
|
|
64
64
|
@result.setter
|
65
65
|
def result(self, result):
|
66
|
-
"""Sets the result of this
|
66
|
+
"""Sets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param result: The result of this
|
69
|
+
:param result: The result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
70
70
|
:type: Dataset
|
71
71
|
"""
|
72
72
|
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
@@ -108,14 +108,14 @@ class DatasetResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, BackendServerApiProductRoutersDatasetsRouterDatasetResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, BackendServerApiProductRoutersDatasetsRouterDatasetResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class DatasetJobs(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,46 +33,46 @@ class AnyscaleVersionResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'
|
36
|
+
'jobs': 'dict(str, JobDetails)'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
40
|
-
'
|
40
|
+
'jobs': 'jobs'
|
41
41
|
}
|
42
42
|
|
43
|
-
def __init__(self,
|
44
|
-
"""
|
43
|
+
def __init__(self, jobs=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""DatasetJobs - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
48
48
|
|
49
|
-
self.
|
49
|
+
self._jobs = None
|
50
50
|
self.discriminator = None
|
51
51
|
|
52
|
-
self.
|
52
|
+
self.jobs = jobs
|
53
53
|
|
54
54
|
@property
|
55
|
-
def
|
56
|
-
"""Gets the
|
55
|
+
def jobs(self):
|
56
|
+
"""Gets the jobs of this DatasetJobs. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The
|
60
|
-
:rtype: str
|
59
|
+
:return: The jobs of this DatasetJobs. # noqa: E501
|
60
|
+
:rtype: dict(str, JobDetails)
|
61
61
|
"""
|
62
|
-
return self.
|
62
|
+
return self._jobs
|
63
63
|
|
64
|
-
@
|
65
|
-
def
|
66
|
-
"""Sets the
|
64
|
+
@jobs.setter
|
65
|
+
def jobs(self, jobs):
|
66
|
+
"""Sets the jobs of this DatasetJobs.
|
67
67
|
|
68
68
|
|
69
|
-
:param
|
70
|
-
:type: str
|
69
|
+
:param jobs: The jobs of this DatasetJobs. # noqa: E501
|
70
|
+
:type: dict(str, JobDetails)
|
71
71
|
"""
|
72
|
-
if self.local_vars_configuration.client_side_validation and
|
73
|
-
raise ValueError("Invalid value for `
|
72
|
+
if self.local_vars_configuration.client_side_validation and jobs is None: # noqa: E501
|
73
|
+
raise ValueError("Invalid value for `jobs`, must not be `None`") # noqa: E501
|
74
74
|
|
75
|
-
self.
|
75
|
+
self._jobs = jobs
|
76
76
|
|
77
77
|
def to_dict(self):
|
78
78
|
"""Returns the model properties as a dict"""
|
@@ -108,14 +108,14 @@ class AnyscaleVersionResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, DatasetJobs):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, DatasetJobs):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|