anyscale 0.26.60__py3-none-any.whl → 0.26.61__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/client/README.md +4 -0
- anyscale/client/openapi_client/__init__.py +3 -0
- anyscale/client/openapi_client/api/default_api.py +133 -0
- anyscale/client/openapi_client/models/__init__.py +3 -0
- anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py +81 -3
- anyscale/client/openapi_client/models/cluster_dashboard_node.py +361 -0
- anyscale/client/openapi_client/models/clusterdashboardnode_list_response.py +147 -0
- anyscale/client/openapi_client/models/node_status.py +101 -0
- anyscale/client/openapi_client/models/workspace_template.py +17 -17
- anyscale/version.py +1 -1
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/METADATA +1 -1
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/RECORD +17 -14
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/WHEEL +0 -0
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.60.dist-info → anyscale-0.26.61.dist-info}/top_level.txt +0 -0
anyscale/client/README.md
CHANGED
@@ -224,6 +224,7 @@ Class | Method | HTTP request | Description
|
|
224
224
|
*DefaultApi* | [**get_metronome_embedded_usage_dashboard_by_organization_api_v2_organization_billing_organization_id_metronome_embedded_dashboard_url_dashboard_type_get**](docs/DefaultApi.md#get_metronome_embedded_usage_dashboard_by_organization_api_v2_organization_billing_organization_id_metronome_embedded_dashboard_url_dashboard_type_get) | **GET** /api/v2/organization_billing/{organization_id}/metronome_embedded_dashboard_url/{dashboard_type} | Get Metronome Embedded Usage Dashboard By Organization
|
225
225
|
*DefaultApi* | [**get_model_api_v2_llm_models_model_id_get**](docs/DefaultApi.md#get_model_api_v2_llm_models_model_id_get) | **GET** /api/v2/llm/models/{model_id} | Get Model
|
226
226
|
*DefaultApi* | [**get_model_by_job_id_api_v2_llm_models_get_by_job_id_job_id_get**](docs/DefaultApi.md#get_model_by_job_id_api_v2_llm_models_get_by_job_id_job_id_get) | **GET** /api/v2/llm/models/get_by_job_id/{job_id} | Get Model By Job Id
|
227
|
+
*DefaultApi* | [**get_nodes_api_v2_cluster_dashboard_get**](docs/DefaultApi.md#get_nodes_api_v2_cluster_dashboard_get) | **GET** /api/v2/cluster_dashboard/ | Get Nodes
|
227
228
|
*DefaultApi* | [**get_operator_events_api_v2_dataset_runs_operator_events_get**](docs/DefaultApi.md#get_operator_events_api_v2_dataset_runs_operator_events_get) | **GET** /api/v2/dataset_runs/operator_events | Get Operator Events
|
228
229
|
*DefaultApi* | [**get_operator_metrics_api_v2_dataset_runs_operator_get**](docs/DefaultApi.md#get_operator_metrics_api_v2_dataset_runs_operator_get) | **GET** /api/v2/dataset_runs/operator | Get Operator Metrics
|
229
230
|
*DefaultApi* | [**get_or_create_build_from_image_uri_api_v2_builds_get_or_create_build_from_image_uri_post**](docs/DefaultApi.md#get_or_create_build_from_image_uri_api_v2_builds_get_or_create_build_from_image_uri_post) | **POST** /api/v2/builds/get_or_create_build_from_image_uri | Get Or Create Build From Image Uri
|
@@ -516,6 +517,7 @@ Class | Method | HTTP request | Description
|
|
516
517
|
- [CloudwithcloudresourceResponse](docs/CloudwithcloudresourceResponse.md)
|
517
518
|
- [CloudwithcloudresourcegcpResponse](docs/CloudwithcloudresourcegcpResponse.md)
|
518
519
|
- [ClusterAuthResponse](docs/ClusterAuthResponse.md)
|
520
|
+
- [ClusterDashboardNode](docs/ClusterDashboardNode.md)
|
519
521
|
- [ClusterEnvironmentsQuery](docs/ClusterEnvironmentsQuery.md)
|
520
522
|
- [ClusterEvent](docs/ClusterEvent.md)
|
521
523
|
- [ClusterEventSource](docs/ClusterEventSource.md)
|
@@ -527,6 +529,7 @@ Class | Method | HTTP request | Description
|
|
527
529
|
- [ClusterStatus](docs/ClusterStatus.md)
|
528
530
|
- [ClusterStatusDetails](docs/ClusterStatusDetails.md)
|
529
531
|
- [ClusterauthresponseResponse](docs/ClusterauthresponseResponse.md)
|
532
|
+
- [ClusterdashboardnodeListResponse](docs/ClusterdashboardnodeListResponse.md)
|
530
533
|
- [ClustereventListResponse](docs/ClustereventListResponse.md)
|
531
534
|
- [ClustereventsoutputResponse](docs/ClustereventsoutputResponse.md)
|
532
535
|
- [ClusteroperationResponse](docs/ClusteroperationResponse.md)
|
@@ -812,6 +815,7 @@ Class | Method | HTTP request | Description
|
|
812
815
|
- [NodeRegistrationK8S](docs/NodeRegistrationK8S.md)
|
813
816
|
- [NodeRegistrationProvisioned](docs/NodeRegistrationProvisioned.md)
|
814
817
|
- [NodeRegistrationV2](docs/NodeRegistrationV2.md)
|
818
|
+
- [NodeStatus](docs/NodeStatus.md)
|
815
819
|
- [NodeType](docs/NodeType.md)
|
816
820
|
- [NotificationChannelEmailConfig](docs/NotificationChannelEmailConfig.md)
|
817
821
|
- [NotificationChannelSlackConfig](docs/NotificationChannelSlackConfig.md)
|
@@ -137,6 +137,7 @@ from openapi_client.models.cloudresourcegcp_response import CloudresourcegcpResp
|
|
137
137
|
from openapi_client.models.cloudwithcloudresource_response import CloudwithcloudresourceResponse
|
138
138
|
from openapi_client.models.cloudwithcloudresourcegcp_response import CloudwithcloudresourcegcpResponse
|
139
139
|
from openapi_client.models.cluster_auth_response import ClusterAuthResponse
|
140
|
+
from openapi_client.models.cluster_dashboard_node import ClusterDashboardNode
|
140
141
|
from openapi_client.models.cluster_environments_query import ClusterEnvironmentsQuery
|
141
142
|
from openapi_client.models.cluster_event import ClusterEvent
|
142
143
|
from openapi_client.models.cluster_event_source import ClusterEventSource
|
@@ -148,6 +149,7 @@ from openapi_client.models.cluster_state import ClusterState
|
|
148
149
|
from openapi_client.models.cluster_status import ClusterStatus
|
149
150
|
from openapi_client.models.cluster_status_details import ClusterStatusDetails
|
150
151
|
from openapi_client.models.clusterauthresponse_response import ClusterauthresponseResponse
|
152
|
+
from openapi_client.models.clusterdashboardnode_list_response import ClusterdashboardnodeListResponse
|
151
153
|
from openapi_client.models.clusterevent_list_response import ClustereventListResponse
|
152
154
|
from openapi_client.models.clustereventsoutput_response import ClustereventsoutputResponse
|
153
155
|
from openapi_client.models.clusteroperation_response import ClusteroperationResponse
|
@@ -433,6 +435,7 @@ from openapi_client.models.node_registration_gcp import NodeRegistrationGCP
|
|
433
435
|
from openapi_client.models.node_registration_k8_s import NodeRegistrationK8S
|
434
436
|
from openapi_client.models.node_registration_provisioned import NodeRegistrationProvisioned
|
435
437
|
from openapi_client.models.node_registration_v2 import NodeRegistrationV2
|
438
|
+
from openapi_client.models.node_status import NodeStatus
|
436
439
|
from openapi_client.models.node_type import NodeType
|
437
440
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
438
441
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
@@ -17650,6 +17650,139 @@ class DefaultApi(object):
|
|
17650
17650
|
_request_timeout=local_var_params.get('_request_timeout'),
|
17651
17651
|
collection_formats=collection_formats)
|
17652
17652
|
|
17653
|
+
def get_nodes_api_v2_cluster_dashboard_get(self, cluster_id, **kwargs): # noqa: E501
|
17654
|
+
"""Get Nodes # noqa: E501
|
17655
|
+
|
17656
|
+
This method makes a synchronous HTTP request by default. To make an
|
17657
|
+
asynchronous HTTP request, please pass async_req=True
|
17658
|
+
>>> thread = api.get_nodes_api_v2_cluster_dashboard_get(cluster_id, async_req=True)
|
17659
|
+
>>> result = thread.get()
|
17660
|
+
|
17661
|
+
:param async_req bool: execute request asynchronously
|
17662
|
+
:param str cluster_id: (required)
|
17663
|
+
:param str session_name: The name of the session to fetch nodes for.
|
17664
|
+
:param list[NodeStatus] states_filter: The states to filter the nodes by.
|
17665
|
+
:param int page: The page number to fetch.
|
17666
|
+
:param int page_size: The number of nodes to fetch per page.
|
17667
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
17668
|
+
be returned without reading/decoding response
|
17669
|
+
data. Default is True.
|
17670
|
+
:param _request_timeout: timeout setting for this request. If one
|
17671
|
+
number provided, it will be total request
|
17672
|
+
timeout. It can also be a pair (tuple) of
|
17673
|
+
(connection, read) timeouts.
|
17674
|
+
:return: ClusterdashboardnodeListResponse
|
17675
|
+
If the method is called asynchronously,
|
17676
|
+
returns the request thread.
|
17677
|
+
"""
|
17678
|
+
kwargs['_return_http_data_only'] = True
|
17679
|
+
return self.get_nodes_api_v2_cluster_dashboard_get_with_http_info(cluster_id, **kwargs) # noqa: E501
|
17680
|
+
|
17681
|
+
def get_nodes_api_v2_cluster_dashboard_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
|
17682
|
+
"""Get Nodes # noqa: E501
|
17683
|
+
|
17684
|
+
This method makes a synchronous HTTP request by default. To make an
|
17685
|
+
asynchronous HTTP request, please pass async_req=True
|
17686
|
+
>>> thread = api.get_nodes_api_v2_cluster_dashboard_get_with_http_info(cluster_id, async_req=True)
|
17687
|
+
>>> result = thread.get()
|
17688
|
+
|
17689
|
+
:param async_req bool: execute request asynchronously
|
17690
|
+
:param str cluster_id: (required)
|
17691
|
+
:param str session_name: The name of the session to fetch nodes for.
|
17692
|
+
:param list[NodeStatus] states_filter: The states to filter the nodes by.
|
17693
|
+
:param int page: The page number to fetch.
|
17694
|
+
:param int page_size: The number of nodes to fetch per page.
|
17695
|
+
:param _return_http_data_only: response data without head status code
|
17696
|
+
and headers
|
17697
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
17698
|
+
be returned without reading/decoding response
|
17699
|
+
data. Default is True.
|
17700
|
+
:param _request_timeout: timeout setting for this request. If one
|
17701
|
+
number provided, it will be total request
|
17702
|
+
timeout. It can also be a pair (tuple) of
|
17703
|
+
(connection, read) timeouts.
|
17704
|
+
:return: tuple(ClusterdashboardnodeListResponse, status_code(int), headers(HTTPHeaderDict))
|
17705
|
+
If the method is called asynchronously,
|
17706
|
+
returns the request thread.
|
17707
|
+
"""
|
17708
|
+
|
17709
|
+
local_var_params = locals()
|
17710
|
+
|
17711
|
+
all_params = [
|
17712
|
+
'cluster_id',
|
17713
|
+
'session_name',
|
17714
|
+
'states_filter',
|
17715
|
+
'page',
|
17716
|
+
'page_size'
|
17717
|
+
]
|
17718
|
+
all_params.extend(
|
17719
|
+
[
|
17720
|
+
'async_req',
|
17721
|
+
'_return_http_data_only',
|
17722
|
+
'_preload_content',
|
17723
|
+
'_request_timeout'
|
17724
|
+
]
|
17725
|
+
)
|
17726
|
+
|
17727
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
17728
|
+
if key not in all_params:
|
17729
|
+
raise ApiTypeError(
|
17730
|
+
"Got an unexpected keyword argument '%s'"
|
17731
|
+
" to method get_nodes_api_v2_cluster_dashboard_get" % key
|
17732
|
+
)
|
17733
|
+
local_var_params[key] = val
|
17734
|
+
del local_var_params['kwargs']
|
17735
|
+
# verify the required parameter 'cluster_id' is set
|
17736
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
17737
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
17738
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_nodes_api_v2_cluster_dashboard_get`") # noqa: E501
|
17739
|
+
|
17740
|
+
collection_formats = {}
|
17741
|
+
|
17742
|
+
path_params = {}
|
17743
|
+
|
17744
|
+
query_params = []
|
17745
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
17746
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
17747
|
+
if 'session_name' in local_var_params and local_var_params['session_name'] is not None: # noqa: E501
|
17748
|
+
query_params.append(('session_name', local_var_params['session_name'])) # noqa: E501
|
17749
|
+
if 'states_filter' in local_var_params and local_var_params['states_filter'] is not None: # noqa: E501
|
17750
|
+
query_params.append(('states_filter', local_var_params['states_filter'])) # noqa: E501
|
17751
|
+
collection_formats['states_filter'] = 'multi' # noqa: E501
|
17752
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
17753
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
17754
|
+
if 'page_size' in local_var_params and local_var_params['page_size'] is not None: # noqa: E501
|
17755
|
+
query_params.append(('page_size', local_var_params['page_size'])) # noqa: E501
|
17756
|
+
|
17757
|
+
header_params = {}
|
17758
|
+
|
17759
|
+
form_params = []
|
17760
|
+
local_var_files = {}
|
17761
|
+
|
17762
|
+
body_params = None
|
17763
|
+
# HTTP header `Accept`
|
17764
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
17765
|
+
['application/json']) # noqa: E501
|
17766
|
+
|
17767
|
+
# Authentication setting
|
17768
|
+
auth_settings = [] # noqa: E501
|
17769
|
+
|
17770
|
+
return self.api_client.call_api(
|
17771
|
+
'/api/v2/cluster_dashboard/', 'GET',
|
17772
|
+
path_params,
|
17773
|
+
query_params,
|
17774
|
+
header_params,
|
17775
|
+
body=body_params,
|
17776
|
+
post_params=form_params,
|
17777
|
+
files=local_var_files,
|
17778
|
+
response_type='ClusterdashboardnodeListResponse', # noqa: E501
|
17779
|
+
auth_settings=auth_settings,
|
17780
|
+
async_req=local_var_params.get('async_req'),
|
17781
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
17782
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
17783
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
17784
|
+
collection_formats=collection_formats)
|
17785
|
+
|
17653
17786
|
def get_operator_events_api_v2_dataset_runs_operator_events_get(self, cluster_id, session_name, dataset_id, operator_id, **kwargs): # noqa: E501
|
17654
17787
|
"""Get Operator Events # noqa: E501
|
17655
17788
|
|
@@ -123,6 +123,7 @@ from openapi_client.models.cloudresourcegcp_response import CloudresourcegcpResp
|
|
123
123
|
from openapi_client.models.cloudwithcloudresource_response import CloudwithcloudresourceResponse
|
124
124
|
from openapi_client.models.cloudwithcloudresourcegcp_response import CloudwithcloudresourcegcpResponse
|
125
125
|
from openapi_client.models.cluster_auth_response import ClusterAuthResponse
|
126
|
+
from openapi_client.models.cluster_dashboard_node import ClusterDashboardNode
|
126
127
|
from openapi_client.models.cluster_environments_query import ClusterEnvironmentsQuery
|
127
128
|
from openapi_client.models.cluster_event import ClusterEvent
|
128
129
|
from openapi_client.models.cluster_event_source import ClusterEventSource
|
@@ -134,6 +135,7 @@ from openapi_client.models.cluster_state import ClusterState
|
|
134
135
|
from openapi_client.models.cluster_status import ClusterStatus
|
135
136
|
from openapi_client.models.cluster_status_details import ClusterStatusDetails
|
136
137
|
from openapi_client.models.clusterauthresponse_response import ClusterauthresponseResponse
|
138
|
+
from openapi_client.models.clusterdashboardnode_list_response import ClusterdashboardnodeListResponse
|
137
139
|
from openapi_client.models.clusterevent_list_response import ClustereventListResponse
|
138
140
|
from openapi_client.models.clustereventsoutput_response import ClustereventsoutputResponse
|
139
141
|
from openapi_client.models.clusteroperation_response import ClusteroperationResponse
|
@@ -419,6 +421,7 @@ from openapi_client.models.node_registration_gcp import NodeRegistrationGCP
|
|
419
421
|
from openapi_client.models.node_registration_k8_s import NodeRegistrationK8S
|
420
422
|
from openapi_client.models.node_registration_provisioned import NodeRegistrationProvisioned
|
421
423
|
from openapi_client.models.node_registration_v2 import NodeRegistrationV2
|
424
|
+
from openapi_client.models.node_status import NodeStatus
|
422
425
|
from openapi_client.models.node_type import NodeType
|
423
426
|
from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
|
424
427
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
@@ -59,7 +59,10 @@ class AggregatedInstanceUsageCSV(object):
|
|
59
59
|
'gpu_count': 'int',
|
60
60
|
'anyscale_managed_machine_pool_id': 'str',
|
61
61
|
'anyscale_managed_machine_pool_name': 'str',
|
62
|
-
'user_defined_machine_type': 'str'
|
62
|
+
'user_defined_machine_type': 'str',
|
63
|
+
'workspace_name': 'str',
|
64
|
+
'job_name': 'str',
|
65
|
+
'service_name': 'str'
|
63
66
|
}
|
64
67
|
|
65
68
|
attribute_map = {
|
@@ -89,10 +92,13 @@ class AggregatedInstanceUsageCSV(object):
|
|
89
92
|
'gpu_count': 'gpu_count',
|
90
93
|
'anyscale_managed_machine_pool_id': 'anyscale_managed_machine_pool_id',
|
91
94
|
'anyscale_managed_machine_pool_name': 'anyscale_managed_machine_pool_name',
|
92
|
-
'user_defined_machine_type': 'user_defined_machine_type'
|
95
|
+
'user_defined_machine_type': 'user_defined_machine_type',
|
96
|
+
'workspace_name': 'workspace_name',
|
97
|
+
'job_name': 'job_name',
|
98
|
+
'service_name': 'service_name'
|
93
99
|
}
|
94
100
|
|
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
|
101
|
+
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, workspace_name=None, job_name=None, service_name=None, local_vars_configuration=None): # noqa: E501
|
96
102
|
"""AggregatedInstanceUsageCSV - a model defined in OpenAPI""" # noqa: E501
|
97
103
|
if local_vars_configuration is None:
|
98
104
|
local_vars_configuration = Configuration()
|
@@ -125,6 +131,9 @@ class AggregatedInstanceUsageCSV(object):
|
|
125
131
|
self._anyscale_managed_machine_pool_id = None
|
126
132
|
self._anyscale_managed_machine_pool_name = None
|
127
133
|
self._user_defined_machine_type = None
|
134
|
+
self._workspace_name = None
|
135
|
+
self._job_name = None
|
136
|
+
self._service_name = None
|
128
137
|
self.discriminator = None
|
129
138
|
|
130
139
|
self.date = date
|
@@ -166,6 +175,12 @@ class AggregatedInstanceUsageCSV(object):
|
|
166
175
|
self.anyscale_managed_machine_pool_name = anyscale_managed_machine_pool_name
|
167
176
|
if user_defined_machine_type is not None:
|
168
177
|
self.user_defined_machine_type = user_defined_machine_type
|
178
|
+
if workspace_name is not None:
|
179
|
+
self.workspace_name = workspace_name
|
180
|
+
if job_name is not None:
|
181
|
+
self.job_name = job_name
|
182
|
+
if service_name is not None:
|
183
|
+
self.service_name = service_name
|
169
184
|
|
170
185
|
@property
|
171
186
|
def date(self):
|
@@ -764,6 +779,69 @@ class AggregatedInstanceUsageCSV(object):
|
|
764
779
|
|
765
780
|
self._user_defined_machine_type = user_defined_machine_type
|
766
781
|
|
782
|
+
@property
|
783
|
+
def workspace_name(self):
|
784
|
+
"""Gets the workspace_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
785
|
+
|
786
|
+
|
787
|
+
:return: The workspace_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
788
|
+
:rtype: str
|
789
|
+
"""
|
790
|
+
return self._workspace_name
|
791
|
+
|
792
|
+
@workspace_name.setter
|
793
|
+
def workspace_name(self, workspace_name):
|
794
|
+
"""Sets the workspace_name of this AggregatedInstanceUsageCSV.
|
795
|
+
|
796
|
+
|
797
|
+
:param workspace_name: The workspace_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
798
|
+
:type: str
|
799
|
+
"""
|
800
|
+
|
801
|
+
self._workspace_name = workspace_name
|
802
|
+
|
803
|
+
@property
|
804
|
+
def job_name(self):
|
805
|
+
"""Gets the job_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
806
|
+
|
807
|
+
|
808
|
+
:return: The job_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
809
|
+
:rtype: str
|
810
|
+
"""
|
811
|
+
return self._job_name
|
812
|
+
|
813
|
+
@job_name.setter
|
814
|
+
def job_name(self, job_name):
|
815
|
+
"""Sets the job_name of this AggregatedInstanceUsageCSV.
|
816
|
+
|
817
|
+
|
818
|
+
:param job_name: The job_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
819
|
+
:type: str
|
820
|
+
"""
|
821
|
+
|
822
|
+
self._job_name = job_name
|
823
|
+
|
824
|
+
@property
|
825
|
+
def service_name(self):
|
826
|
+
"""Gets the service_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
827
|
+
|
828
|
+
|
829
|
+
:return: The service_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
830
|
+
:rtype: str
|
831
|
+
"""
|
832
|
+
return self._service_name
|
833
|
+
|
834
|
+
@service_name.setter
|
835
|
+
def service_name(self, service_name):
|
836
|
+
"""Sets the service_name of this AggregatedInstanceUsageCSV.
|
837
|
+
|
838
|
+
|
839
|
+
:param service_name: The service_name of this AggregatedInstanceUsageCSV. # noqa: E501
|
840
|
+
:type: str
|
841
|
+
"""
|
842
|
+
|
843
|
+
self._service_name = service_name
|
844
|
+
|
767
845
|
def to_dict(self):
|
768
846
|
"""Returns the model properties as a dict"""
|
769
847
|
result = {}
|
@@ -0,0 +1,361 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by: https://openapi-generator.tech
|
10
|
+
"""
|
11
|
+
|
12
|
+
|
13
|
+
import pprint
|
14
|
+
import re # noqa: F401
|
15
|
+
|
16
|
+
import six
|
17
|
+
|
18
|
+
from openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class ClusterDashboardNode(object):
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
+
Ref: https://openapi-generator.tech
|
24
|
+
|
25
|
+
Do not edit the class manually.
|
26
|
+
"""
|
27
|
+
|
28
|
+
"""
|
29
|
+
Attributes:
|
30
|
+
openapi_types (dict): The key is attribute name
|
31
|
+
and the value is attribute type.
|
32
|
+
attribute_map (dict): The key is attribute name
|
33
|
+
and the value is json key in definition.
|
34
|
+
"""
|
35
|
+
openapi_types = {
|
36
|
+
'node_id': 'str',
|
37
|
+
'node_ip': 'str',
|
38
|
+
'name': 'str',
|
39
|
+
'status': 'NodeStatus',
|
40
|
+
'is_head_node': 'bool',
|
41
|
+
'resources': 'dict(str, float)',
|
42
|
+
'labels': 'dict(str, str)',
|
43
|
+
'start_time_ms': 'int',
|
44
|
+
'end_time_ms': 'int',
|
45
|
+
'ray_session_name': 'str'
|
46
|
+
}
|
47
|
+
|
48
|
+
attribute_map = {
|
49
|
+
'node_id': 'node_id',
|
50
|
+
'node_ip': 'node_ip',
|
51
|
+
'name': 'name',
|
52
|
+
'status': 'status',
|
53
|
+
'is_head_node': 'is_head_node',
|
54
|
+
'resources': 'resources',
|
55
|
+
'labels': 'labels',
|
56
|
+
'start_time_ms': 'start_time_ms',
|
57
|
+
'end_time_ms': 'end_time_ms',
|
58
|
+
'ray_session_name': 'ray_session_name'
|
59
|
+
}
|
60
|
+
|
61
|
+
def __init__(self, node_id=None, node_ip=None, name=None, status=None, is_head_node=None, resources=None, labels=None, start_time_ms=None, end_time_ms=None, ray_session_name=None, local_vars_configuration=None): # noqa: E501
|
62
|
+
"""ClusterDashboardNode - a model defined in OpenAPI""" # noqa: E501
|
63
|
+
if local_vars_configuration is None:
|
64
|
+
local_vars_configuration = Configuration()
|
65
|
+
self.local_vars_configuration = local_vars_configuration
|
66
|
+
|
67
|
+
self._node_id = None
|
68
|
+
self._node_ip = None
|
69
|
+
self._name = None
|
70
|
+
self._status = None
|
71
|
+
self._is_head_node = None
|
72
|
+
self._resources = None
|
73
|
+
self._labels = None
|
74
|
+
self._start_time_ms = None
|
75
|
+
self._end_time_ms = None
|
76
|
+
self._ray_session_name = None
|
77
|
+
self.discriminator = None
|
78
|
+
|
79
|
+
self.node_id = node_id
|
80
|
+
self.node_ip = node_ip
|
81
|
+
self.name = name
|
82
|
+
self.status = status
|
83
|
+
self.is_head_node = is_head_node
|
84
|
+
self.resources = resources
|
85
|
+
self.labels = labels
|
86
|
+
if start_time_ms is not None:
|
87
|
+
self.start_time_ms = start_time_ms
|
88
|
+
if end_time_ms is not None:
|
89
|
+
self.end_time_ms = end_time_ms
|
90
|
+
if ray_session_name is not None:
|
91
|
+
self.ray_session_name = ray_session_name
|
92
|
+
|
93
|
+
@property
|
94
|
+
def node_id(self):
|
95
|
+
"""Gets the node_id of this ClusterDashboardNode. # noqa: E501
|
96
|
+
|
97
|
+
|
98
|
+
:return: The node_id of this ClusterDashboardNode. # noqa: E501
|
99
|
+
:rtype: str
|
100
|
+
"""
|
101
|
+
return self._node_id
|
102
|
+
|
103
|
+
@node_id.setter
|
104
|
+
def node_id(self, node_id):
|
105
|
+
"""Sets the node_id of this ClusterDashboardNode.
|
106
|
+
|
107
|
+
|
108
|
+
:param node_id: The node_id of this ClusterDashboardNode. # noqa: E501
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
if self.local_vars_configuration.client_side_validation and node_id is None: # noqa: E501
|
112
|
+
raise ValueError("Invalid value for `node_id`, must not be `None`") # noqa: E501
|
113
|
+
|
114
|
+
self._node_id = node_id
|
115
|
+
|
116
|
+
@property
|
117
|
+
def node_ip(self):
|
118
|
+
"""Gets the node_ip of this ClusterDashboardNode. # noqa: E501
|
119
|
+
|
120
|
+
|
121
|
+
:return: The node_ip of this ClusterDashboardNode. # noqa: E501
|
122
|
+
:rtype: str
|
123
|
+
"""
|
124
|
+
return self._node_ip
|
125
|
+
|
126
|
+
@node_ip.setter
|
127
|
+
def node_ip(self, node_ip):
|
128
|
+
"""Sets the node_ip of this ClusterDashboardNode.
|
129
|
+
|
130
|
+
|
131
|
+
:param node_ip: The node_ip of this ClusterDashboardNode. # noqa: E501
|
132
|
+
:type: str
|
133
|
+
"""
|
134
|
+
if self.local_vars_configuration.client_side_validation and node_ip is None: # noqa: E501
|
135
|
+
raise ValueError("Invalid value for `node_ip`, must not be `None`") # noqa: E501
|
136
|
+
|
137
|
+
self._node_ip = node_ip
|
138
|
+
|
139
|
+
@property
|
140
|
+
def name(self):
|
141
|
+
"""Gets the name of this ClusterDashboardNode. # noqa: E501
|
142
|
+
|
143
|
+
|
144
|
+
:return: The name of this ClusterDashboardNode. # noqa: E501
|
145
|
+
:rtype: str
|
146
|
+
"""
|
147
|
+
return self._name
|
148
|
+
|
149
|
+
@name.setter
|
150
|
+
def name(self, name):
|
151
|
+
"""Sets the name of this ClusterDashboardNode.
|
152
|
+
|
153
|
+
|
154
|
+
:param name: The name of this ClusterDashboardNode. # noqa: E501
|
155
|
+
:type: str
|
156
|
+
"""
|
157
|
+
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
158
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
159
|
+
|
160
|
+
self._name = name
|
161
|
+
|
162
|
+
@property
|
163
|
+
def status(self):
|
164
|
+
"""Gets the status of this ClusterDashboardNode. # noqa: E501
|
165
|
+
|
166
|
+
|
167
|
+
:return: The status of this ClusterDashboardNode. # noqa: E501
|
168
|
+
:rtype: NodeStatus
|
169
|
+
"""
|
170
|
+
return self._status
|
171
|
+
|
172
|
+
@status.setter
|
173
|
+
def status(self, status):
|
174
|
+
"""Sets the status of this ClusterDashboardNode.
|
175
|
+
|
176
|
+
|
177
|
+
:param status: The status of this ClusterDashboardNode. # noqa: E501
|
178
|
+
:type: NodeStatus
|
179
|
+
"""
|
180
|
+
if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501
|
181
|
+
raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501
|
182
|
+
|
183
|
+
self._status = status
|
184
|
+
|
185
|
+
@property
|
186
|
+
def is_head_node(self):
|
187
|
+
"""Gets the is_head_node of this ClusterDashboardNode. # noqa: E501
|
188
|
+
|
189
|
+
|
190
|
+
:return: The is_head_node of this ClusterDashboardNode. # noqa: E501
|
191
|
+
:rtype: bool
|
192
|
+
"""
|
193
|
+
return self._is_head_node
|
194
|
+
|
195
|
+
@is_head_node.setter
|
196
|
+
def is_head_node(self, is_head_node):
|
197
|
+
"""Sets the is_head_node of this ClusterDashboardNode.
|
198
|
+
|
199
|
+
|
200
|
+
:param is_head_node: The is_head_node of this ClusterDashboardNode. # noqa: E501
|
201
|
+
:type: bool
|
202
|
+
"""
|
203
|
+
if self.local_vars_configuration.client_side_validation and is_head_node is None: # noqa: E501
|
204
|
+
raise ValueError("Invalid value for `is_head_node`, must not be `None`") # noqa: E501
|
205
|
+
|
206
|
+
self._is_head_node = is_head_node
|
207
|
+
|
208
|
+
@property
|
209
|
+
def resources(self):
|
210
|
+
"""Gets the resources of this ClusterDashboardNode. # noqa: E501
|
211
|
+
|
212
|
+
|
213
|
+
:return: The resources of this ClusterDashboardNode. # noqa: E501
|
214
|
+
:rtype: dict(str, float)
|
215
|
+
"""
|
216
|
+
return self._resources
|
217
|
+
|
218
|
+
@resources.setter
|
219
|
+
def resources(self, resources):
|
220
|
+
"""Sets the resources of this ClusterDashboardNode.
|
221
|
+
|
222
|
+
|
223
|
+
:param resources: The resources of this ClusterDashboardNode. # noqa: E501
|
224
|
+
:type: dict(str, float)
|
225
|
+
"""
|
226
|
+
if self.local_vars_configuration.client_side_validation and resources is None: # noqa: E501
|
227
|
+
raise ValueError("Invalid value for `resources`, must not be `None`") # noqa: E501
|
228
|
+
|
229
|
+
self._resources = resources
|
230
|
+
|
231
|
+
@property
|
232
|
+
def labels(self):
|
233
|
+
"""Gets the labels of this ClusterDashboardNode. # noqa: E501
|
234
|
+
|
235
|
+
|
236
|
+
:return: The labels of this ClusterDashboardNode. # noqa: E501
|
237
|
+
:rtype: dict(str, str)
|
238
|
+
"""
|
239
|
+
return self._labels
|
240
|
+
|
241
|
+
@labels.setter
|
242
|
+
def labels(self, labels):
|
243
|
+
"""Sets the labels of this ClusterDashboardNode.
|
244
|
+
|
245
|
+
|
246
|
+
:param labels: The labels of this ClusterDashboardNode. # noqa: E501
|
247
|
+
:type: dict(str, str)
|
248
|
+
"""
|
249
|
+
if self.local_vars_configuration.client_side_validation and labels is None: # noqa: E501
|
250
|
+
raise ValueError("Invalid value for `labels`, must not be `None`") # noqa: E501
|
251
|
+
|
252
|
+
self._labels = labels
|
253
|
+
|
254
|
+
@property
|
255
|
+
def start_time_ms(self):
|
256
|
+
"""Gets the start_time_ms of this ClusterDashboardNode. # noqa: E501
|
257
|
+
|
258
|
+
|
259
|
+
:return: The start_time_ms of this ClusterDashboardNode. # noqa: E501
|
260
|
+
:rtype: int
|
261
|
+
"""
|
262
|
+
return self._start_time_ms
|
263
|
+
|
264
|
+
@start_time_ms.setter
|
265
|
+
def start_time_ms(self, start_time_ms):
|
266
|
+
"""Sets the start_time_ms of this ClusterDashboardNode.
|
267
|
+
|
268
|
+
|
269
|
+
:param start_time_ms: The start_time_ms of this ClusterDashboardNode. # noqa: E501
|
270
|
+
:type: int
|
271
|
+
"""
|
272
|
+
|
273
|
+
self._start_time_ms = start_time_ms
|
274
|
+
|
275
|
+
@property
|
276
|
+
def end_time_ms(self):
|
277
|
+
"""Gets the end_time_ms of this ClusterDashboardNode. # noqa: E501
|
278
|
+
|
279
|
+
|
280
|
+
:return: The end_time_ms of this ClusterDashboardNode. # noqa: E501
|
281
|
+
:rtype: int
|
282
|
+
"""
|
283
|
+
return self._end_time_ms
|
284
|
+
|
285
|
+
@end_time_ms.setter
|
286
|
+
def end_time_ms(self, end_time_ms):
|
287
|
+
"""Sets the end_time_ms of this ClusterDashboardNode.
|
288
|
+
|
289
|
+
|
290
|
+
:param end_time_ms: The end_time_ms of this ClusterDashboardNode. # noqa: E501
|
291
|
+
:type: int
|
292
|
+
"""
|
293
|
+
|
294
|
+
self._end_time_ms = end_time_ms
|
295
|
+
|
296
|
+
@property
|
297
|
+
def ray_session_name(self):
|
298
|
+
"""Gets the ray_session_name of this ClusterDashboardNode. # noqa: E501
|
299
|
+
|
300
|
+
|
301
|
+
:return: The ray_session_name of this ClusterDashboardNode. # noqa: E501
|
302
|
+
:rtype: str
|
303
|
+
"""
|
304
|
+
return self._ray_session_name
|
305
|
+
|
306
|
+
@ray_session_name.setter
|
307
|
+
def ray_session_name(self, ray_session_name):
|
308
|
+
"""Sets the ray_session_name of this ClusterDashboardNode.
|
309
|
+
|
310
|
+
|
311
|
+
:param ray_session_name: The ray_session_name of this ClusterDashboardNode. # noqa: E501
|
312
|
+
:type: str
|
313
|
+
"""
|
314
|
+
|
315
|
+
self._ray_session_name = ray_session_name
|
316
|
+
|
317
|
+
def to_dict(self):
|
318
|
+
"""Returns the model properties as a dict"""
|
319
|
+
result = {}
|
320
|
+
|
321
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
322
|
+
value = getattr(self, attr)
|
323
|
+
if isinstance(value, list):
|
324
|
+
result[attr] = list(map(
|
325
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
326
|
+
value
|
327
|
+
))
|
328
|
+
elif hasattr(value, "to_dict"):
|
329
|
+
result[attr] = value.to_dict()
|
330
|
+
elif isinstance(value, dict):
|
331
|
+
result[attr] = dict(map(
|
332
|
+
lambda item: (item[0], item[1].to_dict())
|
333
|
+
if hasattr(item[1], "to_dict") else item,
|
334
|
+
value.items()
|
335
|
+
))
|
336
|
+
else:
|
337
|
+
result[attr] = value
|
338
|
+
|
339
|
+
return result
|
340
|
+
|
341
|
+
def to_str(self):
|
342
|
+
"""Returns the string representation of the model"""
|
343
|
+
return pprint.pformat(self.to_dict())
|
344
|
+
|
345
|
+
def __repr__(self):
|
346
|
+
"""For `print` and `pprint`"""
|
347
|
+
return self.to_str()
|
348
|
+
|
349
|
+
def __eq__(self, other):
|
350
|
+
"""Returns true if both objects are equal"""
|
351
|
+
if not isinstance(other, ClusterDashboardNode):
|
352
|
+
return False
|
353
|
+
|
354
|
+
return self.to_dict() == other.to_dict()
|
355
|
+
|
356
|
+
def __ne__(self, other):
|
357
|
+
"""Returns true if both objects are not equal"""
|
358
|
+
if not isinstance(other, ClusterDashboardNode):
|
359
|
+
return True
|
360
|
+
|
361
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by: https://openapi-generator.tech
|
10
|
+
"""
|
11
|
+
|
12
|
+
|
13
|
+
import pprint
|
14
|
+
import re # noqa: F401
|
15
|
+
|
16
|
+
import six
|
17
|
+
|
18
|
+
from openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class ClusterdashboardnodeListResponse(object):
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
+
Ref: https://openapi-generator.tech
|
24
|
+
|
25
|
+
Do not edit the class manually.
|
26
|
+
"""
|
27
|
+
|
28
|
+
"""
|
29
|
+
Attributes:
|
30
|
+
openapi_types (dict): The key is attribute name
|
31
|
+
and the value is attribute type.
|
32
|
+
attribute_map (dict): The key is attribute name
|
33
|
+
and the value is json key in definition.
|
34
|
+
"""
|
35
|
+
openapi_types = {
|
36
|
+
'results': 'list[ClusterDashboardNode]',
|
37
|
+
'metadata': 'ListResponseMetadata'
|
38
|
+
}
|
39
|
+
|
40
|
+
attribute_map = {
|
41
|
+
'results': 'results',
|
42
|
+
'metadata': 'metadata'
|
43
|
+
}
|
44
|
+
|
45
|
+
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
+
"""ClusterdashboardnodeListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
|
+
if local_vars_configuration is None:
|
48
|
+
local_vars_configuration = Configuration()
|
49
|
+
self.local_vars_configuration = local_vars_configuration
|
50
|
+
|
51
|
+
self._results = None
|
52
|
+
self._metadata = None
|
53
|
+
self.discriminator = None
|
54
|
+
|
55
|
+
self.results = results
|
56
|
+
if metadata is not None:
|
57
|
+
self.metadata = metadata
|
58
|
+
|
59
|
+
@property
|
60
|
+
def results(self):
|
61
|
+
"""Gets the results of this ClusterdashboardnodeListResponse. # noqa: E501
|
62
|
+
|
63
|
+
|
64
|
+
:return: The results of this ClusterdashboardnodeListResponse. # noqa: E501
|
65
|
+
:rtype: list[ClusterDashboardNode]
|
66
|
+
"""
|
67
|
+
return self._results
|
68
|
+
|
69
|
+
@results.setter
|
70
|
+
def results(self, results):
|
71
|
+
"""Sets the results of this ClusterdashboardnodeListResponse.
|
72
|
+
|
73
|
+
|
74
|
+
:param results: The results of this ClusterdashboardnodeListResponse. # noqa: E501
|
75
|
+
:type: list[ClusterDashboardNode]
|
76
|
+
"""
|
77
|
+
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
|
+
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
79
|
+
|
80
|
+
self._results = results
|
81
|
+
|
82
|
+
@property
|
83
|
+
def metadata(self):
|
84
|
+
"""Gets the metadata of this ClusterdashboardnodeListResponse. # noqa: E501
|
85
|
+
|
86
|
+
|
87
|
+
:return: The metadata of this ClusterdashboardnodeListResponse. # noqa: E501
|
88
|
+
:rtype: ListResponseMetadata
|
89
|
+
"""
|
90
|
+
return self._metadata
|
91
|
+
|
92
|
+
@metadata.setter
|
93
|
+
def metadata(self, metadata):
|
94
|
+
"""Sets the metadata of this ClusterdashboardnodeListResponse.
|
95
|
+
|
96
|
+
|
97
|
+
:param metadata: The metadata of this ClusterdashboardnodeListResponse. # noqa: E501
|
98
|
+
:type: ListResponseMetadata
|
99
|
+
"""
|
100
|
+
|
101
|
+
self._metadata = metadata
|
102
|
+
|
103
|
+
def to_dict(self):
|
104
|
+
"""Returns the model properties as a dict"""
|
105
|
+
result = {}
|
106
|
+
|
107
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
108
|
+
value = getattr(self, attr)
|
109
|
+
if isinstance(value, list):
|
110
|
+
result[attr] = list(map(
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
112
|
+
value
|
113
|
+
))
|
114
|
+
elif hasattr(value, "to_dict"):
|
115
|
+
result[attr] = value.to_dict()
|
116
|
+
elif isinstance(value, dict):
|
117
|
+
result[attr] = dict(map(
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
120
|
+
value.items()
|
121
|
+
))
|
122
|
+
else:
|
123
|
+
result[attr] = value
|
124
|
+
|
125
|
+
return result
|
126
|
+
|
127
|
+
def to_str(self):
|
128
|
+
"""Returns the string representation of the model"""
|
129
|
+
return pprint.pformat(self.to_dict())
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print` and `pprint`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, ClusterdashboardnodeListResponse):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.to_dict() == other.to_dict()
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
if not isinstance(other, ClusterdashboardnodeListResponse):
|
145
|
+
return True
|
146
|
+
|
147
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Managed Ray API
|
5
|
+
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
9
|
+
Generated by: https://openapi-generator.tech
|
10
|
+
"""
|
11
|
+
|
12
|
+
|
13
|
+
import pprint
|
14
|
+
import re # noqa: F401
|
15
|
+
|
16
|
+
import six
|
17
|
+
|
18
|
+
from openapi_client.configuration import Configuration
|
19
|
+
|
20
|
+
|
21
|
+
class NodeStatus(object):
|
22
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
|
+
Ref: https://openapi-generator.tech
|
24
|
+
|
25
|
+
Do not edit the class manually.
|
26
|
+
"""
|
27
|
+
|
28
|
+
"""
|
29
|
+
allowed enum values
|
30
|
+
"""
|
31
|
+
ALIVE = "ALIVE"
|
32
|
+
DEAD = "DEAD"
|
33
|
+
PENDING = "PENDING"
|
34
|
+
|
35
|
+
allowable_values = [ALIVE, DEAD, PENDING] # noqa: E501
|
36
|
+
|
37
|
+
"""
|
38
|
+
Attributes:
|
39
|
+
openapi_types (dict): The key is attribute name
|
40
|
+
and the value is attribute type.
|
41
|
+
attribute_map (dict): The key is attribute name
|
42
|
+
and the value is json key in definition.
|
43
|
+
"""
|
44
|
+
openapi_types = {
|
45
|
+
}
|
46
|
+
|
47
|
+
attribute_map = {
|
48
|
+
}
|
49
|
+
|
50
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
51
|
+
"""NodeStatus - a model defined in OpenAPI""" # noqa: E501
|
52
|
+
if local_vars_configuration is None:
|
53
|
+
local_vars_configuration = Configuration()
|
54
|
+
self.local_vars_configuration = local_vars_configuration
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
def to_dict(self):
|
58
|
+
"""Returns the model properties as a dict"""
|
59
|
+
result = {}
|
60
|
+
|
61
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
62
|
+
value = getattr(self, attr)
|
63
|
+
if isinstance(value, list):
|
64
|
+
result[attr] = list(map(
|
65
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
66
|
+
value
|
67
|
+
))
|
68
|
+
elif hasattr(value, "to_dict"):
|
69
|
+
result[attr] = value.to_dict()
|
70
|
+
elif isinstance(value, dict):
|
71
|
+
result[attr] = dict(map(
|
72
|
+
lambda item: (item[0], item[1].to_dict())
|
73
|
+
if hasattr(item[1], "to_dict") else item,
|
74
|
+
value.items()
|
75
|
+
))
|
76
|
+
else:
|
77
|
+
result[attr] = value
|
78
|
+
|
79
|
+
return result
|
80
|
+
|
81
|
+
def to_str(self):
|
82
|
+
"""Returns the string representation of the model"""
|
83
|
+
return pprint.pformat(self.to_dict())
|
84
|
+
|
85
|
+
def __repr__(self):
|
86
|
+
"""For `print` and `pprint`"""
|
87
|
+
return self.to_str()
|
88
|
+
|
89
|
+
def __eq__(self, other):
|
90
|
+
"""Returns true if both objects are equal"""
|
91
|
+
if not isinstance(other, NodeStatus):
|
92
|
+
return False
|
93
|
+
|
94
|
+
return self.to_dict() == other.to_dict()
|
95
|
+
|
96
|
+
def __ne__(self, other):
|
97
|
+
"""Returns true if both objects are not equal"""
|
98
|
+
if not isinstance(other, NodeStatus):
|
99
|
+
return True
|
100
|
+
|
101
|
+
return self.to_dict() != other.to_dict()
|
@@ -50,7 +50,7 @@ class WorkspaceTemplate(object):
|
|
50
50
|
'updated_at': 'datetime',
|
51
51
|
'organization_id': 'str',
|
52
52
|
'creator_email': 'str',
|
53
|
-
'
|
53
|
+
'current_version': 'WorkspaceTemplateVersionDataObject',
|
54
54
|
'version': 'int'
|
55
55
|
}
|
56
56
|
|
@@ -72,11 +72,11 @@ class WorkspaceTemplate(object):
|
|
72
72
|
'updated_at': 'updated_at',
|
73
73
|
'organization_id': 'organization_id',
|
74
74
|
'creator_email': 'creator_email',
|
75
|
-
'
|
75
|
+
'current_version': 'current_version',
|
76
76
|
'version': 'version'
|
77
77
|
}
|
78
78
|
|
79
|
-
def __init__(self, name=None, description=None, mins_to_complete=None, icon_type=None, icon_bg_color=None, complexity=None, category=None, labels=None, published_version_id=None, cloud_id=None, is_global=False, id=None, creator_id=None, created_at=None, updated_at=None, organization_id=None, creator_email=None,
|
79
|
+
def __init__(self, name=None, description=None, mins_to_complete=None, icon_type=None, icon_bg_color=None, complexity=None, category=None, labels=None, published_version_id=None, cloud_id=None, is_global=False, id=None, creator_id=None, created_at=None, updated_at=None, organization_id=None, creator_email=None, current_version=None, version=None, local_vars_configuration=None): # noqa: E501
|
80
80
|
"""WorkspaceTemplate - a model defined in OpenAPI""" # noqa: E501
|
81
81
|
if local_vars_configuration is None:
|
82
82
|
local_vars_configuration = Configuration()
|
@@ -99,7 +99,7 @@ class WorkspaceTemplate(object):
|
|
99
99
|
self._updated_at = None
|
100
100
|
self._organization_id = None
|
101
101
|
self._creator_email = None
|
102
|
-
self.
|
102
|
+
self._current_version = None
|
103
103
|
self._version = None
|
104
104
|
self.discriminator = None
|
105
105
|
|
@@ -131,8 +131,8 @@ class WorkspaceTemplate(object):
|
|
131
131
|
self.organization_id = organization_id
|
132
132
|
if creator_email is not None:
|
133
133
|
self.creator_email = creator_email
|
134
|
-
if
|
135
|
-
self.
|
134
|
+
if current_version is not None:
|
135
|
+
self.current_version = current_version
|
136
136
|
if version is not None:
|
137
137
|
self.version = version
|
138
138
|
|
@@ -540,27 +540,27 @@ class WorkspaceTemplate(object):
|
|
540
540
|
self._creator_email = creator_email
|
541
541
|
|
542
542
|
@property
|
543
|
-
def
|
544
|
-
"""Gets the
|
543
|
+
def current_version(self):
|
544
|
+
"""Gets the current_version of this WorkspaceTemplate. # noqa: E501
|
545
545
|
|
546
|
-
|
546
|
+
Current version of the template. This is the version being published or the latest version if no version is published. # noqa: E501
|
547
547
|
|
548
|
-
:return: The
|
548
|
+
:return: The current_version of this WorkspaceTemplate. # noqa: E501
|
549
549
|
:rtype: WorkspaceTemplateVersionDataObject
|
550
550
|
"""
|
551
|
-
return self.
|
551
|
+
return self._current_version
|
552
552
|
|
553
|
-
@
|
554
|
-
def
|
555
|
-
"""Sets the
|
553
|
+
@current_version.setter
|
554
|
+
def current_version(self, current_version):
|
555
|
+
"""Sets the current_version of this WorkspaceTemplate.
|
556
556
|
|
557
|
-
|
557
|
+
Current version of the template. This is the version being published or the latest version if no version is published. # noqa: E501
|
558
558
|
|
559
|
-
:param
|
559
|
+
:param current_version: The current_version of this WorkspaceTemplate. # noqa: E501
|
560
560
|
:type: WorkspaceTemplateVersionDataObject
|
561
561
|
"""
|
562
562
|
|
563
|
-
self.
|
563
|
+
self._current_version = current_version
|
564
564
|
|
565
565
|
@property
|
566
566
|
def version(self):
|
anyscale/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.26.
|
1
|
+
__version__ = "0.26.61"
|
@@ -28,7 +28,7 @@ anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
|
|
28
28
|
anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
|
29
29
|
anyscale/telemetry.py,sha256=U90C2Vgx48z9PMTI6EbzHFbP3jWnDUutbIfMPBb8-SI,14711
|
30
30
|
anyscale/util.py,sha256=7YPUcm1KCWnmwQpgO0iy0Ly3kSKEAdsCI2jmFridKH0,42881
|
31
|
-
anyscale/version.py,sha256=
|
31
|
+
anyscale/version.py,sha256=jIpkMtySujl8i7EsvM6mjWAmQK-lScrU7fRW9ocQZaE,24
|
32
32
|
anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
|
33
33
|
anyscale/_private/anyscale_client/README.md,sha256=kSfI2Jfw5RHZWYtu0di3XtdSCx0d2pSwKMfjmDvw7Tg,3770
|
34
34
|
anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
|
@@ -106,7 +106,7 @@ anyscale/background/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
106
106
|
anyscale/background/job_runner.py,sha256=LTuv9JOahyv6C9i7DLQAONgQF6--FfYZEmJrKy-sUG8,2687
|
107
107
|
anyscale/client/.gitignore,sha256=JZyvYEtT2DCSK9V5Joi6lQofhMik4PXiJRCWsg7SvqI,807
|
108
108
|
anyscale/client/.openapi-generator-ignore,sha256=pu2PTide7pJtJ-DFLzDy0cTYQJRlrB-8RRH3zGLeUds,1040
|
109
|
-
anyscale/client/README.md,sha256=
|
109
|
+
anyscale/client/README.md,sha256=H1IX3LoZGKXse8kuKwmTuM_Uo-8pc-ha2ZtuNdnwow8,123945
|
110
110
|
anyscale/client/git_push.sh,sha256=EDCZOTTiLxbtPHmiU63qC99rGH67B7dhdPZdNUKivF0,1827
|
111
111
|
anyscale/client/requirements.txt,sha256=dkVKYUStC5h_g_87SH7pRdhXCj7ySozAJMGAFEzGgFc,126
|
112
112
|
anyscale/client/setup.cfg,sha256=l7bdKSIedeBhhoDtupsBwx1xPrlBf2yYeTH7a8kMga4,28
|
@@ -114,20 +114,20 @@ anyscale/client/setup.py,sha256=tSxqw1kAL1B9adnrnOarjnQfSbwGmnTr_kg8ZXhlm5A,1109
|
|
114
114
|
anyscale/client/test-requirements.txt,sha256=sTjmDTj5W9fh1ZAeo8UT2EBdeGDBNttj_PHiPBXg1D4,111
|
115
115
|
anyscale/client/tox.ini,sha256=M6L3UmvAdvU65LsoAF-Oi7oRjwZlCJZn8I7ofdXn5Ok,156
|
116
116
|
anyscale/client/.openapi-generator/VERSION,sha256=J0RzX-4u4jfin1kviKtmncjUePyjHm2kyvmkobOrt_E,5
|
117
|
-
anyscale/client/openapi_client/__init__.py,sha256=
|
117
|
+
anyscale/client/openapi_client/__init__.py,sha256=9p9985bD9J2N0TaMBjbcWISYMJwrWyI_XFaaQY_7DCQ,56113
|
118
118
|
anyscale/client/openapi_client/api_client.py,sha256=d8Un6j2Ny2vlS2qBXPVFj6_ql0k36DFahpWt_28TfCk,25563
|
119
119
|
anyscale/client/openapi_client/configuration.py,sha256=Dd5XrlHwv-wxnf0C35PG_-HBQoY3Yaz6hKrmkZz-m0E,12363
|
120
120
|
anyscale/client/openapi_client/exceptions.py,sha256=3egwsXQG2j_vARbqgBxUO1xSltAhpfiHTYVP7VXTvU0,3792
|
121
121
|
anyscale/client/openapi_client/rest.py,sha256=Ehj37v7GHW6SXV067Hze5HE42ayKaGi6a6ZlkR7u3Lg,12501
|
122
122
|
anyscale/client/openapi_client/api/__init__.py,sha256=i8u7BI2xX1GrXTL3hN0pKpYIlnT-D_uDxH2ElOfYG1I,141
|
123
|
-
anyscale/client/openapi_client/api/default_api.py,sha256=
|
124
|
-
anyscale/client/openapi_client/models/__init__.py,sha256=
|
123
|
+
anyscale/client/openapi_client/api/default_api.py,sha256=a_l9osCOeysAbNafHQYzHr7FrSmPBl2cRvnNKt2tOl8,2015449
|
124
|
+
anyscale/client/openapi_client/models/__init__.py,sha256=a6tKKEGC6_sJ3DYStoU5XWEeA2YnMpTHOlUVM6nrov0,55623
|
125
125
|
anyscale/client/openapi_client/models/access_config.py,sha256=b2mA0qtuTA5PFbp6C61Jc_T2zUMaojM1v32IhZo0MfY,3648
|
126
126
|
anyscale/client/openapi_client/models/actor_status.py,sha256=6xyX_aIqURj2raBdY9DmBxsdDACFrqqYvElGiM6YG2E,2813
|
127
127
|
anyscale/client/openapi_client/models/admin_create_user.py,sha256=9DPr8D0lKgoEZ3Z2kGsAd8L7ocFCiP6woOGLVs8SRb8,7251
|
128
128
|
anyscale/client/openapi_client/models/admin_created_user.py,sha256=uZffwCvMxIdPbpCRvFwpkfeG5D3LEQ50ebbwa_cj6bQ,8098
|
129
129
|
anyscale/client/openapi_client/models/admincreateduser_list_response.py,sha256=hjcjoagKHOFOyRZ0z47-AG_KucaFivgv4Nmtrj2gamQ,4437
|
130
|
-
anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py,sha256=
|
130
|
+
anyscale/client/openapi_client/models/aggregated_instance_usage_csv.py,sha256=ibAYZDo2ZCeZyjFIDHGng7wd_DOE7RXy2Z8hcCfuoeo,29729
|
131
131
|
anyscale/client/openapi_client/models/aggregated_usage.py,sha256=ZXtYmzQcLyg2S8uuzliZhz3PdRKEvfmw1NaH6Ow2SKY,4291
|
132
132
|
anyscale/client/openapi_client/models/aggregated_usage_query.py,sha256=KU8sGskjrHzcJf_slbMsc8hNTnoolWKMqYqcpD8UMqE,7289
|
133
133
|
anyscale/client/openapi_client/models/aggregatedinstanceusagecsv_list_response.py,sha256=6KcwRRQeUbiY-IhZH0JxQTo9QexEXVn0IS69XZ4Y0J8,4587
|
@@ -231,6 +231,7 @@ anyscale/client/openapi_client/models/cloudresourcegcp_response.py,sha256=MjxfLr
|
|
231
231
|
anyscale/client/openapi_client/models/cloudwithcloudresource_response.py,sha256=qthJH5LuBA2naVmQmH1pPyY3D6kJ_F0KdkldAENaUXo,3660
|
232
232
|
anyscale/client/openapi_client/models/cloudwithcloudresourcegcp_response.py,sha256=0Qx-KdnAsQagoxK4tP-f0EyC_wMTeb9nIeVN0NK52w8,3693
|
233
233
|
anyscale/client/openapi_client/models/cluster_auth_response.py,sha256=BsP_6A9ff4Ww2k4MY7GjINBE0togixrCYbaWUDHNBW8,4526
|
234
|
+
anyscale/client/openapi_client/models/cluster_dashboard_node.py,sha256=1plTMXOcudvCBgcmvkJlXGnxVFSn4ac0SWxpttaqmYQ,11025
|
234
235
|
anyscale/client/openapi_client/models/cluster_environments_query.py,sha256=X2TRqYVnBMGY-QrslIR1jUTdh8ID4CPsuEhusnFh2SE,9699
|
235
236
|
anyscale/client/openapi_client/models/cluster_event.py,sha256=FMDhnRYYkYKgNSJS_uE-723BTsv4ktI-OomKbCN-0Zw,5881
|
236
237
|
anyscale/client/openapi_client/models/cluster_event_source.py,sha256=91NhcrFfTUPrDVt3B-VDdt3BNsrejOJKh0v_zC49cK8,3096
|
@@ -242,6 +243,7 @@ anyscale/client/openapi_client/models/cluster_state.py,sha256=OaI8dIEvvBQQWN9dl6
|
|
242
243
|
anyscale/client/openapi_client/models/cluster_status.py,sha256=9bvifs50nFxxfufadL5z0qA77W_4orO76r3U7BOKdjs,3010
|
243
244
|
anyscale/client/openapi_client/models/cluster_status_details.py,sha256=Sj086_AZaPrRE_4ANgO7utZ084U-dSzFBGIXN64h2j0,2999
|
244
245
|
anyscale/client/openapi_client/models/clusterauthresponse_response.py,sha256=rwq8UV5AKtjFkrWg0_k94EggUQ2OrSFkm36tIFK7YEk,3627
|
246
|
+
anyscale/client/openapi_client/models/clusterdashboardnode_list_response.py,sha256=mXRbpQeGCGKpXxlV_InrlUmwjo2e6_2umtLa50s0wjM,4497
|
245
247
|
anyscale/client/openapi_client/models/clusterevent_list_response.py,sha256=mtfYHoHjpzqg_VOyIn6XvcW71pfBPlfrxjVP6wxHsX4,4377
|
246
248
|
anyscale/client/openapi_client/models/clustereventsoutput_response.py,sha256=vFPLzXf_sRs8LAg16Ht6Oel18w6FISg7MLFi4YlTvHs,3627
|
247
249
|
anyscale/client/openapi_client/models/clusteroperation_response.py,sha256=g0tNqDigTKkzGSmhrDyhQYcUE0JQMCJTzk44INGhoV4,3594
|
@@ -527,6 +529,7 @@ anyscale/client/openapi_client/models/node_registration_gcp.py,sha256=Sh8FjvGzLz
|
|
527
529
|
anyscale/client/openapi_client/models/node_registration_k8_s.py,sha256=swScvLnyOavOWALw12xXw5mvmkm0xr7RvMdURmalADY,5975
|
528
530
|
anyscale/client/openapi_client/models/node_registration_provisioned.py,sha256=-MbNO8KXgAQ1eUwtr-SQBfGH6bCmF4qieFOFIDWo3PU,5008
|
529
531
|
anyscale/client/openapi_client/models/node_registration_v2.py,sha256=R8fQYZIqqI9PoL7rdsdAVzR9kgUVMUV0X6KAjkOOA88,7803
|
532
|
+
anyscale/client/openapi_client/models/node_status.py,sha256=mVyT7bvJgtWE-F9H_Yclr8eVMHrOTawUx8R1GuyTBRM,2842
|
530
533
|
anyscale/client/openapi_client/models/node_type.py,sha256=OJ-8vjLuteh4r_e5J1xnsDMkVozNw8QuOqrURFkpT94,2870
|
531
534
|
anyscale/client/openapi_client/models/notification_channel_email_config.py,sha256=UZr99vatPMwuH8IzeNkv-2qZAWtZOMckh-JcYcbSoCs,3621
|
532
535
|
anyscale/client/openapi_client/models/notification_channel_slack_config.py,sha256=kYQ18Z8dvq8TY1QqNuJS6w7xz62AW44VwOjaVddHX7Y,3705
|
@@ -767,7 +770,7 @@ anyscale/client/openapi_client/models/workspace_event_source_filter.py,sha256=2J
|
|
767
770
|
anyscale/client/openapi_client/models/workspace_readme.py,sha256=ZP5DEBFvtLBJr8l7Ruto35hX-LCOIw45Pa2C4746jKE,3602
|
768
771
|
anyscale/client/openapi_client/models/workspace_snapshot_states.py,sha256=RegahieY0JVF41W3JumWkb_JGjhnfv8JRBUFB0Exxo0,3482
|
769
772
|
anyscale/client/openapi_client/models/workspace_system_artifacts.py,sha256=no_cfmidK4YgbwPhDzALxK3KcZyy-v6KDCT1GcZnmfU,8325
|
770
|
-
anyscale/client/openapi_client/models/workspace_template.py,sha256=
|
773
|
+
anyscale/client/openapi_client/models/workspace_template.py,sha256=v_SCmCaJX-3yjHGs4Li48ninH5t-_pHUo5XflXbzb4M,20070
|
771
774
|
anyscale/client/openapi_client/models/workspace_template_category.py,sha256=NdOm5qP5pDRt6bOCThU5QAsNKR9f1lSfyRwWzVx2v_A,2896
|
772
775
|
anyscale/client/openapi_client/models/workspace_template_cluster_environment_metadata.py,sha256=hRn6QO301s75_mTNvdXKA5W77rAnBkhE0G2GaWQheD0,5561
|
773
776
|
anyscale/client/openapi_client/models/workspace_template_complexity.py,sha256=1NNfPh6zegncJvn0XZftvPiL7UZKDMk4BctD-KRyW2w,2946
|
@@ -1137,10 +1140,10 @@ anyscale/workspace/__init__.py,sha256=Innbm5ZhCyADEVBiYSo_vbpKwUNcMzVSAfxIGKOYe6
|
|
1137
1140
|
anyscale/workspace/commands.py,sha256=GBwZenhxe4LFAOCoW8y8KLSgm2HxMxozJ3njEcx53QE,18555
|
1138
1141
|
anyscale/workspace/models.py,sha256=uiMqoJRQNRgTcOIIsysSrtlHMtnI7paUWS34EN626Cg,10016
|
1139
1142
|
anyscale/workspace/_private/workspace_sdk.py,sha256=2CMeYfJt0UtIFCocDn1ukw1iI5esKHdopLe6duEs-qE,27599
|
1140
|
-
anyscale-0.26.
|
1141
|
-
anyscale-0.26.
|
1142
|
-
anyscale-0.26.
|
1143
|
-
anyscale-0.26.
|
1144
|
-
anyscale-0.26.
|
1145
|
-
anyscale-0.26.
|
1146
|
-
anyscale-0.26.
|
1143
|
+
anyscale-0.26.61.dist-info/licenses/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
|
1144
|
+
anyscale-0.26.61.dist-info/licenses/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
|
1145
|
+
anyscale-0.26.61.dist-info/METADATA,sha256=esYEMkwAOrPvRN7WjE97Wi-kDGS4yZz41rowKd1lplI,3231
|
1146
|
+
anyscale-0.26.61.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
1147
|
+
anyscale-0.26.61.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
|
1148
|
+
anyscale-0.26.61.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
|
1149
|
+
anyscale-0.26.61.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|