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.
Files changed (43) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +1 -5
  2. anyscale/_private/docgen/__main__.py +0 -3
  3. anyscale/_private/docgen/api.md +0 -40
  4. anyscale/_private/docgen/models.md +0 -49
  5. anyscale/anyscale-cloud-setup-gcp-oa.yaml +2 -1
  6. anyscale/anyscale-cloud-setup-gcp.yaml +4 -2
  7. anyscale/client/README.md +9 -8
  8. anyscale/client/openapi_client/__init__.py +7 -5
  9. anyscale/client/openapi_client/api/default_api.py +304 -486
  10. anyscale/client/openapi_client/models/__init__.py +7 -5
  11. anyscale/client/openapi_client/models/{anyscaleversionresponse_response.py → backend_server_api_product_models_dataset_runs_dataset_response.py} +22 -22
  12. anyscale/client/openapi_client/models/{dataset_response.py → backend_server_api_product_routers_datasets_router_dataset_response.py} +8 -8
  13. anyscale/client/openapi_client/models/{anyscale_version_response.py → dataset_jobs.py} +22 -22
  14. anyscale/client/openapi_client/models/dataset_metrics.py +390 -0
  15. anyscale/{sdk/anyscale_client/models/session_command_types.py → client/openapi_client/models/dataset_state.py} +11 -9
  16. anyscale/client/openapi_client/models/{decoratedjob_list_response.py → metric.py} +64 -38
  17. anyscale/client/openapi_client/models/operator_metrics.py +256 -0
  18. anyscale/client/openapi_client/models/train_run.py +28 -1
  19. anyscale/cluster.py +5 -2
  20. anyscale/commands/anyscale_api/api_commands.py +0 -2
  21. anyscale/connect_utils/start_interactive_session.py +4 -1
  22. anyscale/controllers/cluster_controller.py +15 -26
  23. anyscale/controllers/project_controller.py +1 -6
  24. anyscale/job/_private/job_sdk.py +6 -1
  25. anyscale/job/models.py +8 -0
  26. anyscale/project_utils.py +9 -20
  27. anyscale/sdk/anyscale_client/__init__.py +0 -5
  28. anyscale/sdk/anyscale_client/api/default_api.py +0 -474
  29. anyscale/sdk/anyscale_client/models/__init__.py +0 -5
  30. anyscale/version.py +1 -1
  31. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/METADATA +1 -1
  32. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/RECORD +37 -41
  33. anyscale/client/openapi_client/models/setup_initialize_session_options.py +0 -225
  34. anyscale/commands/anyscale_api/session_commands_commands.py +0 -80
  35. anyscale/sdk/anyscale_client/models/create_session_command.py +0 -152
  36. anyscale/sdk/anyscale_client/models/session_command.py +0 -350
  37. anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +0 -147
  38. anyscale/sdk/anyscale_client/models/sessioncommand_response.py +0 -121
  39. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/LICENSE +0 -0
  40. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/NOTICE +0 -0
  41. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/WHEEL +0 -0
  42. {anyscale-0.26.4.dist-info → anyscale-0.26.5.dist-info}/entry_points.txt +0 -0
  43. {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.dataset_response import DatasetResponse
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 AnyscaleversionresponseResponse(object):
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
- 'result': 'AnyscaleVersionResponse'
36
+ 'datasets': 'list[DatasetMetrics]'
37
37
  }
38
38
 
39
39
  attribute_map = {
40
- 'result': 'result'
40
+ 'datasets': 'datasets'
41
41
  }
42
42
 
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """AnyscaleversionresponseResponse - a model defined in OpenAPI""" # noqa: E501
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._result = None
49
+ self._datasets = None
50
50
  self.discriminator = None
51
51
 
52
- self.result = result
52
+ self.datasets = datasets
53
53
 
54
54
  @property
55
- def result(self):
56
- """Gets the result of this AnyscaleversionresponseResponse. # noqa: E501
55
+ def datasets(self):
56
+ """Gets the datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse. # noqa: E501
57
57
 
58
58
 
59
- :return: The result of this AnyscaleversionresponseResponse. # noqa: E501
60
- :rtype: AnyscaleVersionResponse
59
+ :return: The datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse. # noqa: E501
60
+ :rtype: list[DatasetMetrics]
61
61
  """
62
- return self._result
62
+ return self._datasets
63
63
 
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this AnyscaleversionresponseResponse.
64
+ @datasets.setter
65
+ def datasets(self, datasets):
66
+ """Sets the datasets of this BackendServerApiProductModelsDatasetRunsDatasetResponse.
67
67
 
68
68
 
69
- :param result: The result of this AnyscaleversionresponseResponse. # noqa: E501
70
- :type: AnyscaleVersionResponse
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 result is None: # noqa: E501
73
- raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
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._result = result
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, AnyscaleversionresponseResponse):
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, AnyscaleversionresponseResponse):
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 DatasetResponse(object):
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
- """DatasetResponse - a model defined in OpenAPI""" # noqa: E501
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 DatasetResponse. # noqa: E501
56
+ """Gets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
57
57
 
58
58
 
59
- :return: The result of this DatasetResponse. # noqa: E501
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 DatasetResponse.
66
+ """Sets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse.
67
67
 
68
68
 
69
- :param result: The result of this DatasetResponse. # noqa: E501
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, DatasetResponse):
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, DatasetResponse):
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 AnyscaleVersionResponse(object):
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
- 'version': 'str'
36
+ 'jobs': 'dict(str, JobDetails)'
37
37
  }
38
38
 
39
39
  attribute_map = {
40
- 'version': 'version'
40
+ 'jobs': 'jobs'
41
41
  }
42
42
 
43
- def __init__(self, version=None, local_vars_configuration=None): # noqa: E501
44
- """AnyscaleVersionResponse - a model defined in OpenAPI""" # noqa: E501
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._version = None
49
+ self._jobs = None
50
50
  self.discriminator = None
51
51
 
52
- self.version = version
52
+ self.jobs = jobs
53
53
 
54
54
  @property
55
- def version(self):
56
- """Gets the version of this AnyscaleVersionResponse. # noqa: E501
55
+ def jobs(self):
56
+ """Gets the jobs of this DatasetJobs. # noqa: E501
57
57
 
58
58
 
59
- :return: The version of this AnyscaleVersionResponse. # noqa: E501
60
- :rtype: str
59
+ :return: The jobs of this DatasetJobs. # noqa: E501
60
+ :rtype: dict(str, JobDetails)
61
61
  """
62
- return self._version
62
+ return self._jobs
63
63
 
64
- @version.setter
65
- def version(self, version):
66
- """Sets the version of this AnyscaleVersionResponse.
64
+ @jobs.setter
65
+ def jobs(self, jobs):
66
+ """Sets the jobs of this DatasetJobs.
67
67
 
68
68
 
69
- :param version: The version of this AnyscaleVersionResponse. # noqa: E501
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 version is None: # noqa: E501
73
- raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501
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._version = version
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, AnyscaleVersionResponse):
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, AnyscaleVersionResponse):
118
+ if not isinstance(other, DatasetJobs):
119
119
  return True
120
120
 
121
121
  return self.to_dict() != other.to_dict()