anyscale 0.26.4__py3-none-any.whl → 0.26.6__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 -27
- anyscale/client/openapi_client/__init__.py +7 -13
- anyscale/client/openapi_client/api/default_api.py +476 -1946
- anyscale/client/openapi_client/models/__init__.py +7 -13
- anyscale/client/openapi_client/models/{clusterconfigwithsessionidletimeout_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/create_session_from_snapshot_options.py +3 -30
- anyscale/client/openapi_client/models/{clusterconfig_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/{organization_availability.py → metric.py} +64 -39
- 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/commands/workspace_commands.py +3 -3
- 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.6.dist-info}/METADATA +1 -1
- {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/RECORD +39 -51
- anyscale/client/openapi_client/models/anyscale_version_response.py +0 -121
- anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +0 -121
- anyscale/client/openapi_client/models/cluster_config.py +0 -178
- anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +0 -204
- anyscale/client/openapi_client/models/cluster_startup.py +0 -208
- anyscale/client/openapi_client/models/decoratedjob_list_response.py +0 -147
- anyscale/client/openapi_client/models/execute_shell_command_options.py +0 -121
- anyscale/client/openapi_client/models/organizationavailability_response.py +0 -121
- 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.6.dist-info}/LICENSE +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/NOTICE +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/WHEEL +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.4.dist-info → anyscale-0.26.6.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
|
@@ -128,8 +128,6 @@ from openapi_client.models.cloudresourcegcp_response import CloudresourcegcpResp
|
|
128
128
|
from openapi_client.models.cloudwithcloudresource_response import CloudwithcloudresourceResponse
|
129
129
|
from openapi_client.models.cloudwithcloudresourcegcp_response import CloudwithcloudresourcegcpResponse
|
130
130
|
from openapi_client.models.cluster_auth_response import ClusterAuthResponse
|
131
|
-
from openapi_client.models.cluster_config import ClusterConfig
|
132
|
-
from openapi_client.models.cluster_config_with_session_idle_timeout import ClusterConfigWithSessionIdleTimeout
|
133
131
|
from openapi_client.models.cluster_environments_query import ClusterEnvironmentsQuery
|
134
132
|
from openapi_client.models.cluster_event import ClusterEvent
|
135
133
|
from openapi_client.models.cluster_event_source import ClusterEventSource
|
@@ -137,12 +135,9 @@ from openapi_client.models.cluster_events_output import ClusterEventsOutput
|
|
137
135
|
from openapi_client.models.cluster_features import ClusterFeatures
|
138
136
|
from openapi_client.models.cluster_management_stack_versions import ClusterManagementStackVersions
|
139
137
|
from openapi_client.models.cluster_size import ClusterSize
|
140
|
-
from openapi_client.models.cluster_startup import ClusterStartup
|
141
138
|
from openapi_client.models.cluster_status import ClusterStatus
|
142
139
|
from openapi_client.models.cluster_status_details import ClusterStatusDetails
|
143
140
|
from openapi_client.models.clusterauthresponse_response import ClusterauthresponseResponse
|
144
|
-
from openapi_client.models.clusterconfig_response import ClusterconfigResponse
|
145
|
-
from openapi_client.models.clusterconfigwithsessionidletimeout_response import ClusterconfigwithsessionidletimeoutResponse
|
146
141
|
from openapi_client.models.clusterevent_list_response import ClustereventListResponse
|
147
142
|
from openapi_client.models.clustereventsoutput_response import ClustereventsoutputResponse
|
148
143
|
from openapi_client.models.clusterfeatures_response import ClusterfeaturesResponse
|
@@ -206,8 +201,10 @@ from openapi_client.models.credit_card_information import CreditCardInformation
|
|
206
201
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
207
202
|
from openapi_client.models.dataplane_services import DataplaneServices
|
208
203
|
from openapi_client.models.dataset import Dataset
|
204
|
+
from openapi_client.models.dataset_jobs import DatasetJobs
|
209
205
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
210
|
-
from openapi_client.models.
|
206
|
+
from openapi_client.models.dataset_metrics import DatasetMetrics
|
207
|
+
from openapi_client.models.dataset_state import DatasetState
|
211
208
|
from openapi_client.models.dataset_upload import DatasetUpload
|
212
209
|
from openapi_client.models.datasetupload_response import DatasetuploadResponse
|
213
210
|
from openapi_client.models.decorated_application_template import DecoratedApplicationTemplate
|
@@ -238,7 +235,6 @@ from openapi_client.models.decoratedcomputetemplate_list_response import Decorat
|
|
238
235
|
from openapi_client.models.decoratedcomputetemplate_response import DecoratedcomputetemplateResponse
|
239
236
|
from openapi_client.models.decoratedinteractivesession_list_response import DecoratedinteractivesessionListResponse
|
240
237
|
from openapi_client.models.decoratedinteractivesession_response import DecoratedinteractivesessionResponse
|
241
|
-
from openapi_client.models.decoratedjob_list_response import DecoratedjobListResponse
|
242
238
|
from openapi_client.models.decoratedjob_response import DecoratedjobResponse
|
243
239
|
from openapi_client.models.decoratedjobqueue_list_response import DecoratedjobqueueListResponse
|
244
240
|
from openapi_client.models.decoratedjobqueue_response import DecoratedjobqueueResponse
|
@@ -280,7 +276,6 @@ from openapi_client.models.error import Error
|
|
280
276
|
from openapi_client.models.event_level import EventLevel
|
281
277
|
from openapi_client.models.execute_command_response import ExecuteCommandResponse
|
282
278
|
from openapi_client.models.execute_interactive_command_options import ExecuteInteractiveCommandOptions
|
283
|
-
from openapi_client.models.execute_shell_command_options import ExecuteShellCommandOptions
|
284
279
|
from openapi_client.models.executecommandresponse_response import ExecutecommandresponseResponse
|
285
280
|
from openapi_client.models.experimental_workspace import ExperimentalWorkspace
|
286
281
|
from openapi_client.models.experimental_workspaces_sort_field import ExperimentalWorkspacesSortField
|
@@ -380,6 +375,7 @@ from openapi_client.models.machine_info import MachineInfo
|
|
380
375
|
from openapi_client.models.machine_launch_failure import MachineLaunchFailure
|
381
376
|
from openapi_client.models.machine_pool import MachinePool
|
382
377
|
from openapi_client.models.machine_state_info import MachineStateInfo
|
378
|
+
from openapi_client.models.metric import Metric
|
383
379
|
from openapi_client.models.metronome_customer_info_model import MetronomeCustomerInfoModel
|
384
380
|
from openapi_client.models.metronome_dashboard_type import MetronomeDashboardType
|
385
381
|
from openapi_client.models.metronomecustomerinfomodel_list_response import MetronomecustomerinfomodelListResponse
|
@@ -412,8 +408,8 @@ from openapi_client.models.notification_channel_email_config import Notification
|
|
412
408
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
413
409
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
414
410
|
from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
|
411
|
+
from openapi_client.models.operator_metrics import OperatorMetrics
|
415
412
|
from openapi_client.models.organization import Organization
|
416
|
-
from openapi_client.models.organization_availability import OrganizationAvailability
|
417
413
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
418
414
|
from openapi_client.models.organization_configuration import OrganizationConfiguration
|
419
415
|
from openapi_client.models.organization_configuration_response import OrganizationConfigurationResponse
|
@@ -428,7 +424,6 @@ from openapi_client.models.organization_response import OrganizationResponse
|
|
428
424
|
from openapi_client.models.organization_summary import OrganizationSummary
|
429
425
|
from openapi_client.models.organization_usage_alert import OrganizationUsageAlert
|
430
426
|
from openapi_client.models.organization_usage_alert_severity import OrganizationUsageAlertSeverity
|
431
|
-
from openapi_client.models.organizationavailability_response import OrganizationavailabilityResponse
|
432
427
|
from openapi_client.models.organizationcollaborator_list_response import OrganizationcollaboratorListResponse
|
433
428
|
from openapi_client.models.organizationconfiguration_list_response import OrganizationconfigurationListResponse
|
434
429
|
from openapi_client.models.organizationconfigurationresponse_response import OrganizationconfigurationresponseResponse
|
@@ -556,7 +551,6 @@ from openapi_client.models.sessiondetails_response import SessiondetailsResponse
|
|
556
551
|
from openapi_client.models.sessionhistoryitem_list_response import SessionhistoryitemListResponse
|
557
552
|
from openapi_client.models.sessions_sort_field import SessionsSortField
|
558
553
|
from openapi_client.models.sessionsshkey_response import SessionsshkeyResponse
|
559
|
-
from openapi_client.models.setup_initialize_session_options import SetupInitializeSessionOptions
|
560
554
|
from openapi_client.models.show_otp_source_return_api_model import ShowOTPSourceReturnApiModel
|
561
555
|
from openapi_client.models.showotpsourcereturnapimodel_response import ShowotpsourcereturnapimodelResponse
|
562
556
|
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 ClusterconfigwithsessionidletimeoutResponse(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 ClusterconfigwithsessionidletimeoutResponse(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()
|
@@ -49,8 +49,7 @@ class CreateSessionFromSnapshotOptions(object):
|
|
49
49
|
'wait_for_snapshot': 'bool',
|
50
50
|
'idle_timeout': 'int',
|
51
51
|
'uses_app_config': 'bool',
|
52
|
-
'user_service_access': 'UserServiceAccessTypes'
|
53
|
-
'startup_id': 'str'
|
52
|
+
'user_service_access': 'UserServiceAccessTypes'
|
54
53
|
}
|
55
54
|
|
56
55
|
attribute_map = {
|
@@ -70,11 +69,10 @@ class CreateSessionFromSnapshotOptions(object):
|
|
70
69
|
'wait_for_snapshot': 'wait_for_snapshot',
|
71
70
|
'idle_timeout': 'idle_timeout',
|
72
71
|
'uses_app_config': 'uses_app_config',
|
73
|
-
'user_service_access': 'user_service_access'
|
74
|
-
'startup_id': 'startup_id'
|
72
|
+
'user_service_access': 'user_service_access'
|
75
73
|
}
|
76
74
|
|
77
|
-
def __init__(self, project_id=None, name=None, session_params=None, command_name=None, command_params=None, shell=False, min_workers=None, max_workers=None, cluster_config=None, build_id=None, compute_template_id=None, cloud_id=None, start_session=True, wait_for_snapshot=False, idle_timeout=None, uses_app_config=False, user_service_access=None,
|
75
|
+
def __init__(self, project_id=None, name=None, session_params=None, command_name=None, command_params=None, shell=False, min_workers=None, max_workers=None, cluster_config=None, build_id=None, compute_template_id=None, cloud_id=None, start_session=True, wait_for_snapshot=False, idle_timeout=None, uses_app_config=False, user_service_access=None, local_vars_configuration=None): # noqa: E501
|
78
76
|
"""CreateSessionFromSnapshotOptions - a model defined in OpenAPI""" # noqa: E501
|
79
77
|
if local_vars_configuration is None:
|
80
78
|
local_vars_configuration = Configuration()
|
@@ -97,7 +95,6 @@ class CreateSessionFromSnapshotOptions(object):
|
|
97
95
|
self._idle_timeout = None
|
98
96
|
self._uses_app_config = None
|
99
97
|
self._user_service_access = None
|
100
|
-
self._startup_id = None
|
101
98
|
self.discriminator = None
|
102
99
|
|
103
100
|
self.project_id = project_id
|
@@ -132,7 +129,6 @@ class CreateSessionFromSnapshotOptions(object):
|
|
132
129
|
self.uses_app_config = uses_app_config
|
133
130
|
if user_service_access is not None:
|
134
131
|
self.user_service_access = user_service_access
|
135
|
-
self.startup_id = startup_id
|
136
132
|
|
137
133
|
@property
|
138
134
|
def project_id(self):
|
@@ -495,29 +491,6 @@ class CreateSessionFromSnapshotOptions(object):
|
|
495
491
|
|
496
492
|
self._user_service_access = user_service_access
|
497
493
|
|
498
|
-
@property
|
499
|
-
def startup_id(self):
|
500
|
-
"""Gets the startup_id of this CreateSessionFromSnapshotOptions. # noqa: E501
|
501
|
-
|
502
|
-
|
503
|
-
:return: The startup_id of this CreateSessionFromSnapshotOptions. # noqa: E501
|
504
|
-
:rtype: str
|
505
|
-
"""
|
506
|
-
return self._startup_id
|
507
|
-
|
508
|
-
@startup_id.setter
|
509
|
-
def startup_id(self, startup_id):
|
510
|
-
"""Sets the startup_id of this CreateSessionFromSnapshotOptions.
|
511
|
-
|
512
|
-
|
513
|
-
:param startup_id: The startup_id of this CreateSessionFromSnapshotOptions. # noqa: E501
|
514
|
-
:type: str
|
515
|
-
"""
|
516
|
-
if self.local_vars_configuration.client_side_validation and startup_id is None: # noqa: E501
|
517
|
-
raise ValueError("Invalid value for `startup_id`, must not be `None`") # noqa: E501
|
518
|
-
|
519
|
-
self._startup_id = startup_id
|
520
|
-
|
521
494
|
def to_dict(self):
|
522
495
|
"""Returns the model properties as a dict"""
|
523
496
|
result = {}
|
@@ -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 ClusterconfigResponse(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:
|
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:
|
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 ClusterconfigResponse(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()
|