anyscale 0.26.3__py3-none-any.whl → 0.26.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/_private/anyscale_client/anyscale_client.py +1 -5
- anyscale/_private/docgen/__main__.py +0 -3
- anyscale/_private/docgen/api.md +0 -40
- anyscale/_private/docgen/models.md +2 -50
- anyscale/_private/workload/workload_config.py +11 -0
- anyscale/_private/workload/workload_sdk.py +4 -0
- anyscale/anyscale-cloud-setup-gcp-oa.yaml +2 -1
- anyscale/anyscale-cloud-setup-gcp.yaml +4 -2
- anyscale/client/README.md +11 -18
- anyscale/client/openapi_client/__init__.py +7 -11
- anyscale/client/openapi_client/api/default_api.py +537 -951
- anyscale/client/openapi_client/models/__init__.py +7 -11
- anyscale/client/openapi_client/models/{anyscale_version_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/{logdetails_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/{log_details.py → metric.py} +64 -42
- anyscale/client/openapi_client/models/node_type.py +2 -1
- anyscale/client/openapi_client/models/operator_metrics.py +256 -0
- anyscale/client/openapi_client/models/ray_runtime_env_config.py +29 -1
- anyscale/client/openapi_client/models/train_run.py +56 -3
- anyscale/client/openapi_client/models/train_worker.py +29 -3
- anyscale/cluster.py +5 -2
- anyscale/commands/anyscale_api/api_commands.py +0 -2
- anyscale/connect_utils/start_interactive_session.py +4 -1
- anyscale/controllers/cluster_controller.py +15 -26
- anyscale/controllers/project_controller.py +1 -6
- anyscale/job/_private/job_sdk.py +10 -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/sdk/anyscale_client/models/node_type.py +2 -1
- anyscale/sdk/anyscale_client/models/ray_runtime_env_config.py +29 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.3.dist-info → anyscale-0.26.5.dist-info}/METADATA +1 -1
- {anyscale-0.26.3.dist-info → anyscale-0.26.5.dist-info}/RECORD +44 -54
- anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +0 -121
- anyscale/client/openapi_client/models/create_cloud_with_cloud_resource.py +0 -546
- anyscale/client/openapi_client/models/decoratedjob_list_response.py +0 -147
- anyscale/client/openapi_client/models/log_detail.py +0 -187
- anyscale/client/openapi_client/models/provider_metadata.py +0 -205
- anyscale/client/openapi_client/models/providermetadata_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.3.dist-info → anyscale-0.26.5.dist-info}/LICENSE +0 -0
- {anyscale-0.26.3.dist-info → anyscale-0.26.5.dist-info}/NOTICE +0 -0
- {anyscale-0.26.3.dist-info → anyscale-0.26.5.dist-info}/WHEEL +0 -0
- {anyscale-0.26.3.dist-info → anyscale-0.26.5.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.3.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
|
@@ -166,7 +166,6 @@ from openapi_client.models.create_build import CreateBuild
|
|
166
166
|
from openapi_client.models.create_cloud_collaborator import CreateCloudCollaborator
|
167
167
|
from openapi_client.models.create_cloud_resource import CreateCloudResource
|
168
168
|
from openapi_client.models.create_cloud_resource_gcp import CreateCloudResourceGCP
|
169
|
-
from openapi_client.models.create_cloud_with_cloud_resource import CreateCloudWithCloudResource
|
170
169
|
from openapi_client.models.create_cluster_compute_config import CreateClusterComputeConfig
|
171
170
|
from openapi_client.models.create_compute_template import CreateComputeTemplate
|
172
171
|
from openapi_client.models.create_compute_template_config import CreateComputeTemplateConfig
|
@@ -207,8 +206,10 @@ from openapi_client.models.credit_card_information import CreditCardInformation
|
|
207
206
|
from openapi_client.models.customer_alert_status import CustomerAlertStatus
|
208
207
|
from openapi_client.models.dataplane_services import DataplaneServices
|
209
208
|
from openapi_client.models.dataset import Dataset
|
209
|
+
from openapi_client.models.dataset_jobs import DatasetJobs
|
210
210
|
from openapi_client.models.dataset_list_response import DatasetListResponse
|
211
|
-
from openapi_client.models.
|
211
|
+
from openapi_client.models.dataset_metrics import DatasetMetrics
|
212
|
+
from openapi_client.models.dataset_state import DatasetState
|
212
213
|
from openapi_client.models.dataset_upload import DatasetUpload
|
213
214
|
from openapi_client.models.datasetupload_response import DatasetuploadResponse
|
214
215
|
from openapi_client.models.decorated_application_template import DecoratedApplicationTemplate
|
@@ -239,7 +240,6 @@ from openapi_client.models.decoratedcomputetemplate_list_response import Decorat
|
|
239
240
|
from openapi_client.models.decoratedcomputetemplate_response import DecoratedcomputetemplateResponse
|
240
241
|
from openapi_client.models.decoratedinteractivesession_list_response import DecoratedinteractivesessionListResponse
|
241
242
|
from openapi_client.models.decoratedinteractivesession_response import DecoratedinteractivesessionResponse
|
242
|
-
from openapi_client.models.decoratedjob_list_response import DecoratedjobListResponse
|
243
243
|
from openapi_client.models.decoratedjob_response import DecoratedjobResponse
|
244
244
|
from openapi_client.models.decoratedjobqueue_list_response import DecoratedjobqueueListResponse
|
245
245
|
from openapi_client.models.decoratedjobqueue_response import DecoratedjobqueueResponse
|
@@ -359,8 +359,6 @@ from openapi_client.models.list_resource_quotas_query import ListResourceQuotasQ
|
|
359
359
|
from openapi_client.models.list_response_metadata import ListResponseMetadata
|
360
360
|
from openapi_client.models.listmachinepoolsresponse_response import ListmachinepoolsresponseResponse
|
361
361
|
from openapi_client.models.listmachinesresponse_response import ListmachinesresponseResponse
|
362
|
-
from openapi_client.models.log_detail import LogDetail
|
363
|
-
from openapi_client.models.log_details import LogDetails
|
364
362
|
from openapi_client.models.log_download_config import LogDownloadConfig
|
365
363
|
from openapi_client.models.log_download_request import LogDownloadRequest
|
366
364
|
from openapi_client.models.log_download_result import LogDownloadResult
|
@@ -369,7 +367,6 @@ from openapi_client.models.log_filter import LogFilter
|
|
369
367
|
from openapi_client.models.log_item import LogItem
|
370
368
|
from openapi_client.models.log_item_batch import LogItemBatch
|
371
369
|
from openapi_client.models.log_stream import LogStream
|
372
|
-
from openapi_client.models.logdetails_response import LogdetailsResponse
|
373
370
|
from openapi_client.models.logdownloadresult_response import LogdownloadresultResponse
|
374
371
|
from openapi_client.models.login_user_params import LoginUserParams
|
375
372
|
from openapi_client.models.logitembatch_response import LogitembatchResponse
|
@@ -384,6 +381,7 @@ from openapi_client.models.machine_info import MachineInfo
|
|
384
381
|
from openapi_client.models.machine_launch_failure import MachineLaunchFailure
|
385
382
|
from openapi_client.models.machine_pool import MachinePool
|
386
383
|
from openapi_client.models.machine_state_info import MachineStateInfo
|
384
|
+
from openapi_client.models.metric import Metric
|
387
385
|
from openapi_client.models.metronome_customer_info_model import MetronomeCustomerInfoModel
|
388
386
|
from openapi_client.models.metronome_dashboard_type import MetronomeDashboardType
|
389
387
|
from openapi_client.models.metronomecustomerinfomodel_list_response import MetronomecustomerinfomodelListResponse
|
@@ -416,6 +414,7 @@ from openapi_client.models.notification_channel_email_config import Notification
|
|
416
414
|
from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
|
417
415
|
from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
|
418
416
|
from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
|
417
|
+
from openapi_client.models.operator_metrics import OperatorMetrics
|
419
418
|
from openapi_client.models.organization import Organization
|
420
419
|
from openapi_client.models.organization_availability import OrganizationAvailability
|
421
420
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
@@ -473,8 +472,6 @@ from openapi_client.models.projects_sort_field import ProjectsSortField
|
|
473
472
|
from openapi_client.models.projects_violating_tree_hierarchy_response import ProjectsViolatingTreeHierarchyResponse
|
474
473
|
from openapi_client.models.projectsviolatingtreehierarchyresponse_response import ProjectsviolatingtreehierarchyresponseResponse
|
475
474
|
from openapi_client.models.protocols import Protocols
|
476
|
-
from openapi_client.models.provider_metadata import ProviderMetadata
|
477
|
-
from openapi_client.models.providermetadata_response import ProvidermetadataResponse
|
478
475
|
from openapi_client.models.python_modules import PythonModules
|
479
476
|
from openapi_client.models.quota import Quota
|
480
477
|
from openapi_client.models.ray_gcs_external_storage_config import RayGCSExternalStorageConfig
|
@@ -562,7 +559,6 @@ from openapi_client.models.sessiondetails_response import SessiondetailsResponse
|
|
562
559
|
from openapi_client.models.sessionhistoryitem_list_response import SessionhistoryitemListResponse
|
563
560
|
from openapi_client.models.sessions_sort_field import SessionsSortField
|
564
561
|
from openapi_client.models.sessionsshkey_response import SessionsshkeyResponse
|
565
|
-
from openapi_client.models.setup_initialize_session_options import SetupInitializeSessionOptions
|
566
562
|
from openapi_client.models.show_otp_source_return_api_model import ShowOTPSourceReturnApiModel
|
567
563
|
from openapi_client.models.showotpsourcereturnapimodel_response import ShowotpsourcereturnapimodelResponse
|
568
564
|
from openapi_client.models.snapshot_create_message import SnapshotCreateMessage
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class BackendServerApiProductModelsDatasetRunsDatasetResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,46 +33,46 @@ class AnyscaleVersionResponse(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 AnyscaleVersionResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, BackendServerApiProductModelsDatasetRunsDatasetResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, BackendServerApiProductModelsDatasetRunsDatasetResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class BackendServerApiProductRoutersDatasetsRouterDatasetResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -41,7 +41,7 @@ class DatasetResponse(object):
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""
|
44
|
+
"""BackendServerApiProductRoutersDatasetsRouterDatasetResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
@@ -53,20 +53,20 @@ class DatasetResponse(object):
|
|
53
53
|
|
54
54
|
@property
|
55
55
|
def result(self):
|
56
|
-
"""Gets the result of this
|
56
|
+
"""Gets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The result of this
|
59
|
+
:return: The result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
60
60
|
:rtype: Dataset
|
61
61
|
"""
|
62
62
|
return self._result
|
63
63
|
|
64
64
|
@result.setter
|
65
65
|
def result(self, result):
|
66
|
-
"""Sets the result of this
|
66
|
+
"""Sets the result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param result: The result of this
|
69
|
+
:param result: The result of this BackendServerApiProductRoutersDatasetsRouterDatasetResponse. # noqa: E501
|
70
70
|
:type: Dataset
|
71
71
|
"""
|
72
72
|
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
@@ -108,14 +108,14 @@ class DatasetResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, BackendServerApiProductRoutersDatasetsRouterDatasetResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, BackendServerApiProductRoutersDatasetsRouterDatasetResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class DatasetJobs(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,46 +33,46 @@ class LogdetailsResponse(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 LogdetailsResponse(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()
|