anyscale 0.26.54__py3-none-any.whl → 0.26.56__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/docgen/__main__.py +7 -0
- anyscale/_private/docgen/models.md +1 -0
- anyscale/client/README.md +3 -0
- anyscale/client/openapi_client/__init__.py +3 -0
- anyscale/client/openapi_client/models/__init__.py +3 -0
- anyscale/client/openapi_client/models/decorated_cloud_resource.py +30 -3
- anyscale/client/openapi_client/models/decorated_session.py +29 -1
- anyscale/client/openapi_client/models/operator_check_result.py +177 -0
- anyscale/client/openapi_client/models/operator_check_status.py +102 -0
- anyscale/client/openapi_client/models/operator_status.py +4 -4
- anyscale/client/openapi_client/models/operator_status_details.py +178 -0
- anyscale/client/openapi_client/models/task_table_row.py +27 -1
- anyscale/cloud/models.py +15 -11
- anyscale/cloud_resource.py +11 -11
- anyscale/commands/service_commands.py +10 -7
- anyscale/controllers/cloud_controller.py +35 -16
- anyscale/sdk/anyscale_client/models/session.py +29 -1
- anyscale/service/__init__.py +5 -2
- anyscale/service/_private/service_sdk.py +10 -10
- anyscale/service/commands.py +3 -2
- anyscale/service/models.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/METADATA +1 -1
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/RECORD +29 -26
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/WHEEL +0 -0
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.54.dist-info → anyscale-0.26.56.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Usage: python -m anyscale._private.docgen --help
|
4
4
|
"""
|
5
|
+
|
5
6
|
import os
|
6
7
|
|
7
8
|
import click
|
@@ -81,6 +82,8 @@ from anyscale.schedule.models import ScheduleConfig, ScheduleState, ScheduleStat
|
|
81
82
|
from anyscale.service.models import (
|
82
83
|
RayGCSExternalStorageConfig,
|
83
84
|
ServiceConfig,
|
85
|
+
ServiceSortField,
|
86
|
+
ServiceSortOrder,
|
84
87
|
ServiceState,
|
85
88
|
ServiceStatus,
|
86
89
|
ServiceVersionState,
|
@@ -253,6 +256,7 @@ ALL_MODULES = [
|
|
253
256
|
filename="service-api.md",
|
254
257
|
cli_prefix="anyscale service",
|
255
258
|
cli_commands=[
|
259
|
+
service_commands.list,
|
256
260
|
service_commands.deploy,
|
257
261
|
service_commands.status,
|
258
262
|
service_commands.wait,
|
@@ -263,6 +267,7 @@ ALL_MODULES = [
|
|
263
267
|
],
|
264
268
|
sdk_prefix="anyscale.service",
|
265
269
|
sdk_commands=[
|
270
|
+
anyscale.service.list,
|
266
271
|
anyscale.service.deploy,
|
267
272
|
anyscale.service.status,
|
268
273
|
anyscale.service.wait,
|
@@ -279,6 +284,8 @@ ALL_MODULES = [
|
|
279
284
|
ServiceState,
|
280
285
|
ServiceVersionStatus,
|
281
286
|
ServiceVersionState,
|
287
|
+
ServiceSortField,
|
288
|
+
ServiceSortOrder,
|
282
289
|
],
|
283
290
|
# The following commands are legacy
|
284
291
|
legacy_sdk_commands={
|
@@ -1620,6 +1620,7 @@ Name | Type | Description | Notes
|
|
1620
1620
|
**serve_metrics_dashboard_url** | **str** | URL for Serve Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
1621
1621
|
**serve_deployment_metrics_dashboard_url** | **str** | URL for Serve deployment Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
1622
1622
|
**serve_llm_metrics_dashboard_url** | **str** | URL for Serve LLM Grafana dashboard for this Session. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
1623
|
+
**supports_full_grafana_view** | **bool** | Whether the session supports full Grafana embedding view. This field will only be populated after the Session finishes starting. | [optional] [default to false]
|
1623
1624
|
**persistent_metrics_url** | **str** | URL for persistent Grafana (metrics) dashboard for this Session in the non-running cluster state. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
1624
1625
|
**connect_url** | **str** | URL for Anyscale connect for this Session. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
1625
1626
|
**jupyter_notebook_url** | **str** | URL for Jupyter Lab for this Session. This field will only be populated after the Session finishes starting. | [optional] [default to null]
|
anyscale/client/README.md
CHANGED
@@ -793,9 +793,12 @@ Class | Method | HTTP request | Description
|
|
793
793
|
- [OperationProgress](docs/OperationProgress.md)
|
794
794
|
- [OperationResult](docs/OperationResult.md)
|
795
795
|
- [OperatorBranch](docs/OperatorBranch.md)
|
796
|
+
- [OperatorCheckResult](docs/OperatorCheckResult.md)
|
797
|
+
- [OperatorCheckStatus](docs/OperatorCheckStatus.md)
|
796
798
|
- [OperatorId](docs/OperatorId.md)
|
797
799
|
- [OperatorMetrics](docs/OperatorMetrics.md)
|
798
800
|
- [OperatorStatus](docs/OperatorStatus.md)
|
801
|
+
- [OperatorStatusDetails](docs/OperatorStatusDetails.md)
|
799
802
|
- [Organization](docs/Organization.md)
|
800
803
|
- [OrganizationCollaborator](docs/OrganizationCollaborator.md)
|
801
804
|
- [OrganizationConfiguration](docs/OrganizationConfiguration.md)
|
@@ -432,9 +432,12 @@ from openapi_client.models.operation_error import OperationError
|
|
432
432
|
from openapi_client.models.operation_progress import OperationProgress
|
433
433
|
from openapi_client.models.operation_result import OperationResult
|
434
434
|
from openapi_client.models.operator_branch import OperatorBranch
|
435
|
+
from openapi_client.models.operator_check_result import OperatorCheckResult
|
436
|
+
from openapi_client.models.operator_check_status import OperatorCheckStatus
|
435
437
|
from openapi_client.models.operator_id import OperatorId
|
436
438
|
from openapi_client.models.operator_metrics import OperatorMetrics
|
437
439
|
from openapi_client.models.operator_status import OperatorStatus
|
440
|
+
from openapi_client.models.operator_status_details import OperatorStatusDetails
|
438
441
|
from openapi_client.models.organization import Organization
|
439
442
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
440
443
|
from openapi_client.models.organization_configuration import OrganizationConfiguration
|
@@ -418,9 +418,12 @@ from openapi_client.models.operation_error import OperationError
|
|
418
418
|
from openapi_client.models.operation_progress import OperationProgress
|
419
419
|
from openapi_client.models.operation_result import OperationResult
|
420
420
|
from openapi_client.models.operator_branch import OperatorBranch
|
421
|
+
from openapi_client.models.operator_check_result import OperatorCheckResult
|
422
|
+
from openapi_client.models.operator_check_status import OperatorCheckStatus
|
421
423
|
from openapi_client.models.operator_id import OperatorId
|
422
424
|
from openapi_client.models.operator_metrics import OperatorMetrics
|
423
425
|
from openapi_client.models.operator_status import OperatorStatus
|
426
|
+
from openapi_client.models.operator_status_details import OperatorStatusDetails
|
424
427
|
from openapi_client.models.organization import Organization
|
425
428
|
from openapi_client.models.organization_collaborator import OrganizationCollaborator
|
426
429
|
from openapi_client.models.organization_configuration import OrganizationConfiguration
|
@@ -47,7 +47,8 @@ class DecoratedCloudResource(object):
|
|
47
47
|
'kubernetes_config': 'KubernetesConfig',
|
48
48
|
'created_at': 'datetime',
|
49
49
|
'is_default': 'bool',
|
50
|
-
'operator_status': 'OperatorStatus'
|
50
|
+
'operator_status': 'OperatorStatus',
|
51
|
+
'operator_status_details': 'OperatorStatusDetails'
|
51
52
|
}
|
52
53
|
|
53
54
|
attribute_map = {
|
@@ -65,10 +66,11 @@ class DecoratedCloudResource(object):
|
|
65
66
|
'kubernetes_config': 'kubernetes_config',
|
66
67
|
'created_at': 'created_at',
|
67
68
|
'is_default': 'is_default',
|
68
|
-
'operator_status': 'operator_status'
|
69
|
+
'operator_status': 'operator_status',
|
70
|
+
'operator_status_details': 'operator_status_details'
|
69
71
|
}
|
70
72
|
|
71
|
-
def __init__(self, cloud_resource_id=None, cloud_deployment_id=None, name=None, provider=None, compute_stack=None, region=None, networking_mode=None, object_storage=None, file_storage=None, aws_config=None, gcp_config=None, kubernetes_config=None, created_at=None, is_default=False, operator_status=None, local_vars_configuration=None): # noqa: E501
|
73
|
+
def __init__(self, cloud_resource_id=None, cloud_deployment_id=None, name=None, provider=None, compute_stack=None, region=None, networking_mode=None, object_storage=None, file_storage=None, aws_config=None, gcp_config=None, kubernetes_config=None, created_at=None, is_default=False, operator_status=None, operator_status_details=None, local_vars_configuration=None): # noqa: E501
|
72
74
|
"""DecoratedCloudResource - a model defined in OpenAPI""" # noqa: E501
|
73
75
|
if local_vars_configuration is None:
|
74
76
|
local_vars_configuration = Configuration()
|
@@ -89,6 +91,7 @@ class DecoratedCloudResource(object):
|
|
89
91
|
self._created_at = None
|
90
92
|
self._is_default = None
|
91
93
|
self._operator_status = None
|
94
|
+
self._operator_status_details = None
|
92
95
|
self.discriminator = None
|
93
96
|
|
94
97
|
if cloud_resource_id is not None:
|
@@ -114,6 +117,7 @@ class DecoratedCloudResource(object):
|
|
114
117
|
if is_default is not None:
|
115
118
|
self.is_default = is_default
|
116
119
|
self.operator_status = operator_status
|
120
|
+
self.operator_status_details = operator_status_details
|
117
121
|
|
118
122
|
@property
|
119
123
|
def cloud_resource_id(self):
|
@@ -462,6 +466,29 @@ class DecoratedCloudResource(object):
|
|
462
466
|
|
463
467
|
self._operator_status = operator_status
|
464
468
|
|
469
|
+
@property
|
470
|
+
def operator_status_details(self):
|
471
|
+
"""Gets the operator_status_details of this DecoratedCloudResource. # noqa: E501
|
472
|
+
|
473
|
+
The details of the operator status. # noqa: E501
|
474
|
+
|
475
|
+
:return: The operator_status_details of this DecoratedCloudResource. # noqa: E501
|
476
|
+
:rtype: OperatorStatusDetails
|
477
|
+
"""
|
478
|
+
return self._operator_status_details
|
479
|
+
|
480
|
+
@operator_status_details.setter
|
481
|
+
def operator_status_details(self, operator_status_details):
|
482
|
+
"""Sets the operator_status_details of this DecoratedCloudResource.
|
483
|
+
|
484
|
+
The details of the operator status. # noqa: E501
|
485
|
+
|
486
|
+
:param operator_status_details: The operator_status_details of this DecoratedCloudResource. # noqa: E501
|
487
|
+
:type: OperatorStatusDetails
|
488
|
+
"""
|
489
|
+
|
490
|
+
self._operator_status_details = operator_status_details
|
491
|
+
|
465
492
|
def to_dict(self):
|
466
493
|
"""Returns the model properties as a dict"""
|
467
494
|
result = {}
|
@@ -61,6 +61,7 @@ class DecoratedSession(object):
|
|
61
61
|
'serve_metrics_dashboard_url': 'str',
|
62
62
|
'serve_deployment_metrics_dashboard_url': 'str',
|
63
63
|
'serve_llm_metrics_dashboard_url': 'str',
|
64
|
+
'supports_full_grafana_view': 'bool',
|
64
65
|
'persistent_metrics_url': 'str',
|
65
66
|
'connect_url': 'str',
|
66
67
|
'jupyter_notebook_url': 'str',
|
@@ -124,6 +125,7 @@ class DecoratedSession(object):
|
|
124
125
|
'serve_metrics_dashboard_url': 'serve_metrics_dashboard_url',
|
125
126
|
'serve_deployment_metrics_dashboard_url': 'serve_deployment_metrics_dashboard_url',
|
126
127
|
'serve_llm_metrics_dashboard_url': 'serve_llm_metrics_dashboard_url',
|
128
|
+
'supports_full_grafana_view': 'supports_full_grafana_view',
|
127
129
|
'persistent_metrics_url': 'persistent_metrics_url',
|
128
130
|
'connect_url': 'connect_url',
|
129
131
|
'jupyter_notebook_url': 'jupyter_notebook_url',
|
@@ -158,7 +160,7 @@ class DecoratedSession(object):
|
|
158
160
|
'latest_started_at': 'latest_started_at'
|
159
161
|
}
|
160
162
|
|
161
|
-
def __init__(self, name=None, project_id=None, cloud_id=None, cluster_config=None, build_id=None, compute_template_id=None, idle_timeout=120, uses_app_config=False, allow_public_internet_traffic=False, user_service_access=None, user_service_token=None, ha_job_id=None, id=None, state=None, pending_state=None, state_data=None, status=None, status_details=None, creator_id=None, created_at=None, archived_at=None, webterminal_auth_url=None, metrics_dashboard_url=None, data_metrics_dashboard_url=None, train_metrics_dashboard_url=None, serve_metrics_dashboard_url=None, serve_deployment_metrics_dashboard_url=None, serve_llm_metrics_dashboard_url=None, persistent_metrics_url=None, connect_url=None, jupyter_notebook_url=None, ray_dashboard_url=None, access_token=None, service_proxy_url=None, tensorboard_available=None, cluster_config_last_modified_at=None, host_name=None, head_node_ip=None, ssh_authorized_keys=None, ssh_private_key=None, anyscaled_config=None, anyscaled_config_generated_at=None, default_build_id=None, idle_timeout_last_activity_at=None, ray_version=None, ray_version_last_updated_at=None, user_service_url=None, ray_component_activities_last_reported_at=None, activity_details=None, maximum_uptime_will_terminate_cluster_at=None, idle_termination_status=None, ray_dashboard_snapshot_last_reported_at=None, build=None, cloud=None, creator=None, compute_template=None, idle_time_remaining_seconds=None, access=None, project=None, latest_started_at=None, local_vars_configuration=None): # noqa: E501
|
163
|
+
def __init__(self, name=None, project_id=None, cloud_id=None, cluster_config=None, build_id=None, compute_template_id=None, idle_timeout=120, uses_app_config=False, allow_public_internet_traffic=False, user_service_access=None, user_service_token=None, ha_job_id=None, id=None, state=None, pending_state=None, state_data=None, status=None, status_details=None, creator_id=None, created_at=None, archived_at=None, webterminal_auth_url=None, metrics_dashboard_url=None, data_metrics_dashboard_url=None, train_metrics_dashboard_url=None, serve_metrics_dashboard_url=None, serve_deployment_metrics_dashboard_url=None, serve_llm_metrics_dashboard_url=None, supports_full_grafana_view=False, persistent_metrics_url=None, connect_url=None, jupyter_notebook_url=None, ray_dashboard_url=None, access_token=None, service_proxy_url=None, tensorboard_available=None, cluster_config_last_modified_at=None, host_name=None, head_node_ip=None, ssh_authorized_keys=None, ssh_private_key=None, anyscaled_config=None, anyscaled_config_generated_at=None, default_build_id=None, idle_timeout_last_activity_at=None, ray_version=None, ray_version_last_updated_at=None, user_service_url=None, ray_component_activities_last_reported_at=None, activity_details=None, maximum_uptime_will_terminate_cluster_at=None, idle_termination_status=None, ray_dashboard_snapshot_last_reported_at=None, build=None, cloud=None, creator=None, compute_template=None, idle_time_remaining_seconds=None, access=None, project=None, latest_started_at=None, local_vars_configuration=None): # noqa: E501
|
162
164
|
"""DecoratedSession - a model defined in OpenAPI""" # noqa: E501
|
163
165
|
if local_vars_configuration is None:
|
164
166
|
local_vars_configuration = Configuration()
|
@@ -192,6 +194,7 @@ class DecoratedSession(object):
|
|
192
194
|
self._serve_metrics_dashboard_url = None
|
193
195
|
self._serve_deployment_metrics_dashboard_url = None
|
194
196
|
self._serve_llm_metrics_dashboard_url = None
|
197
|
+
self._supports_full_grafana_view = None
|
195
198
|
self._persistent_metrics_url = None
|
196
199
|
self._connect_url = None
|
197
200
|
self._jupyter_notebook_url = None
|
@@ -274,6 +277,8 @@ class DecoratedSession(object):
|
|
274
277
|
self.serve_deployment_metrics_dashboard_url = serve_deployment_metrics_dashboard_url
|
275
278
|
if serve_llm_metrics_dashboard_url is not None:
|
276
279
|
self.serve_llm_metrics_dashboard_url = serve_llm_metrics_dashboard_url
|
280
|
+
if supports_full_grafana_view is not None:
|
281
|
+
self.supports_full_grafana_view = supports_full_grafana_view
|
277
282
|
if persistent_metrics_url is not None:
|
278
283
|
self.persistent_metrics_url = persistent_metrics_url
|
279
284
|
if connect_url is not None:
|
@@ -992,6 +997,29 @@ class DecoratedSession(object):
|
|
992
997
|
|
993
998
|
self._serve_llm_metrics_dashboard_url = serve_llm_metrics_dashboard_url
|
994
999
|
|
1000
|
+
@property
|
1001
|
+
def supports_full_grafana_view(self):
|
1002
|
+
"""Gets the supports_full_grafana_view of this DecoratedSession. # noqa: E501
|
1003
|
+
|
1004
|
+
Whether the session supports full Grafana embedding view. This field will only be populated after the Session finishes starting. # noqa: E501
|
1005
|
+
|
1006
|
+
:return: The supports_full_grafana_view of this DecoratedSession. # noqa: E501
|
1007
|
+
:rtype: bool
|
1008
|
+
"""
|
1009
|
+
return self._supports_full_grafana_view
|
1010
|
+
|
1011
|
+
@supports_full_grafana_view.setter
|
1012
|
+
def supports_full_grafana_view(self, supports_full_grafana_view):
|
1013
|
+
"""Sets the supports_full_grafana_view of this DecoratedSession.
|
1014
|
+
|
1015
|
+
Whether the session supports full Grafana embedding view. This field will only be populated after the Session finishes starting. # noqa: E501
|
1016
|
+
|
1017
|
+
:param supports_full_grafana_view: The supports_full_grafana_view of this DecoratedSession. # noqa: E501
|
1018
|
+
:type: bool
|
1019
|
+
"""
|
1020
|
+
|
1021
|
+
self._supports_full_grafana_view = supports_full_grafana_view
|
1022
|
+
|
995
1023
|
@property
|
996
1024
|
def persistent_metrics_url(self):
|
997
1025
|
"""Gets the persistent_metrics_url of this DecoratedSession. # noqa: E501
|
@@ -0,0 +1,177 @@
|
|
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 OperatorCheckResult(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
|
+
'name': 'str',
|
37
|
+
'status': 'OperatorCheckStatus',
|
38
|
+
'details': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
attribute_map = {
|
42
|
+
'name': 'name',
|
43
|
+
'status': 'status',
|
44
|
+
'details': 'details'
|
45
|
+
}
|
46
|
+
|
47
|
+
def __init__(self, name=None, status=None, details=None, local_vars_configuration=None): # noqa: E501
|
48
|
+
"""OperatorCheckResult - a model defined in OpenAPI""" # noqa: E501
|
49
|
+
if local_vars_configuration is None:
|
50
|
+
local_vars_configuration = Configuration()
|
51
|
+
self.local_vars_configuration = local_vars_configuration
|
52
|
+
|
53
|
+
self._name = None
|
54
|
+
self._status = None
|
55
|
+
self._details = None
|
56
|
+
self.discriminator = None
|
57
|
+
|
58
|
+
if name is not None:
|
59
|
+
self.name = name
|
60
|
+
if status is not None:
|
61
|
+
self.status = status
|
62
|
+
self.details = details
|
63
|
+
|
64
|
+
@property
|
65
|
+
def name(self):
|
66
|
+
"""Gets the name of this OperatorCheckResult. # noqa: E501
|
67
|
+
|
68
|
+
The name of the operator check. # noqa: E501
|
69
|
+
|
70
|
+
:return: The name of this OperatorCheckResult. # noqa: E501
|
71
|
+
:rtype: str
|
72
|
+
"""
|
73
|
+
return self._name
|
74
|
+
|
75
|
+
@name.setter
|
76
|
+
def name(self, name):
|
77
|
+
"""Sets the name of this OperatorCheckResult.
|
78
|
+
|
79
|
+
The name of the operator check. # noqa: E501
|
80
|
+
|
81
|
+
:param name: The name of this OperatorCheckResult. # noqa: E501
|
82
|
+
:type: str
|
83
|
+
"""
|
84
|
+
|
85
|
+
self._name = name
|
86
|
+
|
87
|
+
@property
|
88
|
+
def status(self):
|
89
|
+
"""Gets the status of this OperatorCheckResult. # noqa: E501
|
90
|
+
|
91
|
+
The status of the operator check. # noqa: E501
|
92
|
+
|
93
|
+
:return: The status of this OperatorCheckResult. # noqa: E501
|
94
|
+
:rtype: OperatorCheckStatus
|
95
|
+
"""
|
96
|
+
return self._status
|
97
|
+
|
98
|
+
@status.setter
|
99
|
+
def status(self, status):
|
100
|
+
"""Sets the status of this OperatorCheckResult.
|
101
|
+
|
102
|
+
The status of the operator check. # noqa: E501
|
103
|
+
|
104
|
+
:param status: The status of this OperatorCheckResult. # noqa: E501
|
105
|
+
:type: OperatorCheckStatus
|
106
|
+
"""
|
107
|
+
|
108
|
+
self._status = status
|
109
|
+
|
110
|
+
@property
|
111
|
+
def details(self):
|
112
|
+
"""Gets the details of this OperatorCheckResult. # noqa: E501
|
113
|
+
|
114
|
+
The details of the operator check. # noqa: E501
|
115
|
+
|
116
|
+
:return: The details of this OperatorCheckResult. # noqa: E501
|
117
|
+
:rtype: str
|
118
|
+
"""
|
119
|
+
return self._details
|
120
|
+
|
121
|
+
@details.setter
|
122
|
+
def details(self, details):
|
123
|
+
"""Sets the details of this OperatorCheckResult.
|
124
|
+
|
125
|
+
The details of the operator check. # noqa: E501
|
126
|
+
|
127
|
+
:param details: The details of this OperatorCheckResult. # noqa: E501
|
128
|
+
:type: str
|
129
|
+
"""
|
130
|
+
|
131
|
+
self._details = details
|
132
|
+
|
133
|
+
def to_dict(self):
|
134
|
+
"""Returns the model properties as a dict"""
|
135
|
+
result = {}
|
136
|
+
|
137
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
138
|
+
value = getattr(self, attr)
|
139
|
+
if isinstance(value, list):
|
140
|
+
result[attr] = list(map(
|
141
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
142
|
+
value
|
143
|
+
))
|
144
|
+
elif hasattr(value, "to_dict"):
|
145
|
+
result[attr] = value.to_dict()
|
146
|
+
elif isinstance(value, dict):
|
147
|
+
result[attr] = dict(map(
|
148
|
+
lambda item: (item[0], item[1].to_dict())
|
149
|
+
if hasattr(item[1], "to_dict") else item,
|
150
|
+
value.items()
|
151
|
+
))
|
152
|
+
else:
|
153
|
+
result[attr] = value
|
154
|
+
|
155
|
+
return result
|
156
|
+
|
157
|
+
def to_str(self):
|
158
|
+
"""Returns the string representation of the model"""
|
159
|
+
return pprint.pformat(self.to_dict())
|
160
|
+
|
161
|
+
def __repr__(self):
|
162
|
+
"""For `print` and `pprint`"""
|
163
|
+
return self.to_str()
|
164
|
+
|
165
|
+
def __eq__(self, other):
|
166
|
+
"""Returns true if both objects are equal"""
|
167
|
+
if not isinstance(other, OperatorCheckResult):
|
168
|
+
return False
|
169
|
+
|
170
|
+
return self.to_dict() == other.to_dict()
|
171
|
+
|
172
|
+
def __ne__(self, other):
|
173
|
+
"""Returns true if both objects are not equal"""
|
174
|
+
if not isinstance(other, OperatorCheckResult):
|
175
|
+
return True
|
176
|
+
|
177
|
+
return self.to_dict() != other.to_dict()
|
@@ -0,0 +1,102 @@
|
|
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 OperatorCheckStatus(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
|
+
UNSPECIFIED = "UNSPECIFIED"
|
32
|
+
HEALTHY = "HEALTHY"
|
33
|
+
UNHEALTHY = "UNHEALTHY"
|
34
|
+
WARNING = "WARNING"
|
35
|
+
|
36
|
+
allowable_values = [UNSPECIFIED, HEALTHY, UNHEALTHY, WARNING] # noqa: E501
|
37
|
+
|
38
|
+
"""
|
39
|
+
Attributes:
|
40
|
+
openapi_types (dict): The key is attribute name
|
41
|
+
and the value is attribute type.
|
42
|
+
attribute_map (dict): The key is attribute name
|
43
|
+
and the value is json key in definition.
|
44
|
+
"""
|
45
|
+
openapi_types = {
|
46
|
+
}
|
47
|
+
|
48
|
+
attribute_map = {
|
49
|
+
}
|
50
|
+
|
51
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
52
|
+
"""OperatorCheckStatus - a model defined in OpenAPI""" # noqa: E501
|
53
|
+
if local_vars_configuration is None:
|
54
|
+
local_vars_configuration = Configuration()
|
55
|
+
self.local_vars_configuration = local_vars_configuration
|
56
|
+
self.discriminator = None
|
57
|
+
|
58
|
+
def to_dict(self):
|
59
|
+
"""Returns the model properties as a dict"""
|
60
|
+
result = {}
|
61
|
+
|
62
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
63
|
+
value = getattr(self, attr)
|
64
|
+
if isinstance(value, list):
|
65
|
+
result[attr] = list(map(
|
66
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
67
|
+
value
|
68
|
+
))
|
69
|
+
elif hasattr(value, "to_dict"):
|
70
|
+
result[attr] = value.to_dict()
|
71
|
+
elif isinstance(value, dict):
|
72
|
+
result[attr] = dict(map(
|
73
|
+
lambda item: (item[0], item[1].to_dict())
|
74
|
+
if hasattr(item[1], "to_dict") else item,
|
75
|
+
value.items()
|
76
|
+
))
|
77
|
+
else:
|
78
|
+
result[attr] = value
|
79
|
+
|
80
|
+
return result
|
81
|
+
|
82
|
+
def to_str(self):
|
83
|
+
"""Returns the string representation of the model"""
|
84
|
+
return pprint.pformat(self.to_dict())
|
85
|
+
|
86
|
+
def __repr__(self):
|
87
|
+
"""For `print` and `pprint`"""
|
88
|
+
return self.to_str()
|
89
|
+
|
90
|
+
def __eq__(self, other):
|
91
|
+
"""Returns true if both objects are equal"""
|
92
|
+
if not isinstance(other, OperatorCheckStatus):
|
93
|
+
return False
|
94
|
+
|
95
|
+
return self.to_dict() == other.to_dict()
|
96
|
+
|
97
|
+
def __ne__(self, other):
|
98
|
+
"""Returns true if both objects are not equal"""
|
99
|
+
if not isinstance(other, OperatorCheckStatus):
|
100
|
+
return True
|
101
|
+
|
102
|
+
return self.to_dict() != other.to_dict()
|
@@ -28,10 +28,10 @@ class OperatorStatus(object):
|
|
28
28
|
"""
|
29
29
|
allowed enum values
|
30
30
|
"""
|
31
|
-
UNSPECIFIED = "
|
32
|
-
HEALTHY = "
|
33
|
-
UNHEALTHY = "
|
34
|
-
DISCONNECTED = "
|
31
|
+
UNSPECIFIED = "UNSPECIFIED"
|
32
|
+
HEALTHY = "HEALTHY"
|
33
|
+
UNHEALTHY = "UNHEALTHY"
|
34
|
+
DISCONNECTED = "DISCONNECTED"
|
35
35
|
|
36
36
|
allowable_values = [UNSPECIFIED, HEALTHY, UNHEALTHY, DISCONNECTED] # noqa: E501
|
37
37
|
|