anyscale 0.26.69__py3-none-any.whl → 0.26.71__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 +126 -3
- anyscale/_private/anyscale_client/common.py +51 -2
- anyscale/_private/anyscale_client/fake_anyscale_client.py +103 -11
- anyscale/client/README.md +43 -4
- anyscale/client/openapi_client/__init__.py +30 -4
- anyscale/client/openapi_client/api/default_api.py +1769 -27
- anyscale/client/openapi_client/models/__init__.py +30 -4
- anyscale/client/openapi_client/models/api_key_info.py +29 -3
- anyscale/client/openapi_client/models/apply_autoscaling_config_update_model.py +350 -0
- anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
- anyscale/client/openapi_client/models/apply_production_service_multi_version_v2_model.py +207 -0
- anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/client/openapi_client/models/apply_version_weight_update_model.py +181 -0
- anyscale/client/openapi_client/models/backend_server_api_product_models_catalog_client_models_table_metadata.py +546 -0
- anyscale/client/openapi_client/models/backend_server_api_product_models_data_catalogs_table_metadata.py +178 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +139 -1
- anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
- anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
- anyscale/client/openapi_client/models/{oauthconnectionresponse_response.py → clouddeployment_response.py} +11 -11
- anyscale/client/openapi_client/models/column_info.py +265 -0
- anyscale/client/openapi_client/models/compute_node_type.py +29 -1
- anyscale/client/openapi_client/models/connection_metadata.py +206 -0
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_workspace_from_template.py +29 -1
- anyscale/client/openapi_client/models/create_workspace_template_version.py +59 -3
- anyscale/client/openapi_client/models/data_catalog.py +45 -31
- anyscale/client/openapi_client/models/data_catalog_connection.py +74 -58
- anyscale/client/openapi_client/models/{ha_job_event_level.py → data_catalog_object_type.py} +7 -8
- anyscale/client/openapi_client/models/data_catalog_schema.py +324 -0
- anyscale/client/openapi_client/models/data_catalog_table.py +437 -0
- anyscale/client/openapi_client/models/data_catalog_volume.py +437 -0
- anyscale/client/openapi_client/models/datacatalogschema_list_response.py +147 -0
- anyscale/client/openapi_client/models/datacatalogtable_list_response.py +147 -0
- anyscale/client/openapi_client/models/datacatalogvolume_list_response.py +147 -0
- anyscale/client/openapi_client/models/decorated_list_service_api_model.py +58 -1
- anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +60 -3
- anyscale/client/openapi_client/models/decorated_serve_deployment.py +27 -1
- anyscale/client/openapi_client/models/decorated_service_event_api_model.py +3 -3
- anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +33 -5
- anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
- anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +33 -5
- anyscale/client/openapi_client/models/{service_event_level.py → entity_type.py} +9 -9
- anyscale/client/openapi_client/models/event_level.py +2 -1
- anyscale/client/openapi_client/models/job_event_fields.py +206 -0
- anyscale/client/openapi_client/models/machine_type_partition_filter.py +152 -0
- anyscale/client/openapi_client/models/partition_info.py +30 -1
- anyscale/client/openapi_client/models/physical_resources.py +178 -0
- anyscale/client/openapi_client/models/production_job_event.py +3 -3
- anyscale/client/openapi_client/models/rollout_strategy.py +2 -1
- anyscale/client/openapi_client/models/schema_metadata.py +150 -0
- anyscale/client/openapi_client/models/service_event_fields.py +318 -0
- anyscale/client/openapi_client/models/sso_config.py +18 -18
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +139 -1
- anyscale/client/openapi_client/models/table_data_preview.py +209 -0
- anyscale/client/openapi_client/models/task_summary_config.py +29 -3
- anyscale/client/openapi_client/models/task_table_config.py +29 -3
- anyscale/client/openapi_client/models/unified_event.py +377 -0
- anyscale/client/openapi_client/models/unified_origin_filter.py +113 -0
- anyscale/client/openapi_client/models/unifiedevent_list_response.py +147 -0
- anyscale/client/openapi_client/models/volume_metadata.py +150 -0
- anyscale/client/openapi_client/models/worker_node_type.py +29 -1
- anyscale/client/openapi_client/models/workspace_event_fields.py +122 -0
- anyscale/client/openapi_client/models/workspace_template_version.py +58 -1
- anyscale/client/openapi_client/models/workspace_template_version_data_object.py +58 -1
- anyscale/cloud/models.py +2 -2
- anyscale/commands/cloud_commands.py +133 -2
- anyscale/commands/job_commands.py +121 -1
- anyscale/commands/job_queue_commands.py +99 -2
- anyscale/commands/service_commands.py +267 -67
- anyscale/commands/setup_k8s.py +546 -31
- anyscale/commands/util.py +104 -1
- anyscale/commands/workspace_commands.py +123 -5
- anyscale/commands/workspace_commands_v2.py +17 -1
- anyscale/compute_config/_private/compute_config_sdk.py +25 -12
- anyscale/compute_config/models.py +15 -0
- anyscale/controllers/cloud_controller.py +15 -2
- anyscale/controllers/job_controller.py +12 -0
- anyscale/controllers/kubernetes_verifier.py +80 -66
- anyscale/controllers/workspace_controller.py +67 -5
- anyscale/job/_private/job_sdk.py +50 -2
- anyscale/job/commands.py +3 -0
- anyscale/job/models.py +16 -0
- anyscale/job_queue/__init__.py +37 -1
- anyscale/job_queue/_private/job_queue_sdk.py +28 -1
- anyscale/job_queue/commands.py +61 -1
- anyscale/sdk/anyscale_client/__init__.py +1 -0
- anyscale/sdk/anyscale_client/api/default_api.py +12 -2
- anyscale/sdk/anyscale_client/models/__init__.py +1 -0
- anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
- anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +139 -1
- anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
- anyscale/sdk/anyscale_client/models/physical_resources.py +178 -0
- anyscale/sdk/anyscale_client/models/rollout_strategy.py +2 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +139 -1
- anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
- anyscale/service/__init__.py +51 -3
- anyscale/service/_private/service_sdk.py +481 -58
- anyscale/service/commands.py +90 -4
- anyscale/service/models.py +56 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace/_private/workspace_sdk.py +1 -0
- anyscale/workspace/models.py +19 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/METADATA +1 -1
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/RECORD +112 -85
- anyscale/client/openapi_client/models/o_auth_connection_response.py +0 -229
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/WHEEL +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.69.dist-info → anyscale-0.26.71.dist-info}/top_level.txt +0 -0
|
@@ -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 DatacatalogtableListResponse(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[DataCatalogTable]',
|
|
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
|
+
"""DatacatalogtableListResponse - 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 DatacatalogtableListResponse. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The results of this DatacatalogtableListResponse. # noqa: E501
|
|
65
|
+
:rtype: list[DataCatalogTable]
|
|
66
|
+
"""
|
|
67
|
+
return self._results
|
|
68
|
+
|
|
69
|
+
@results.setter
|
|
70
|
+
def results(self, results):
|
|
71
|
+
"""Sets the results of this DatacatalogtableListResponse.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param results: The results of this DatacatalogtableListResponse. # noqa: E501
|
|
75
|
+
:type: list[DataCatalogTable]
|
|
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 DatacatalogtableListResponse. # noqa: E501
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:return: The metadata of this DatacatalogtableListResponse. # 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 DatacatalogtableListResponse.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param metadata: The metadata of this DatacatalogtableListResponse. # 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, DatacatalogtableListResponse):
|
|
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, DatacatalogtableListResponse):
|
|
145
|
+
return True
|
|
146
|
+
|
|
147
|
+
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 DatacatalogvolumeListResponse(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[DataCatalogVolume]',
|
|
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
|
+
"""DatacatalogvolumeListResponse - 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 DatacatalogvolumeListResponse. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The results of this DatacatalogvolumeListResponse. # noqa: E501
|
|
65
|
+
:rtype: list[DataCatalogVolume]
|
|
66
|
+
"""
|
|
67
|
+
return self._results
|
|
68
|
+
|
|
69
|
+
@results.setter
|
|
70
|
+
def results(self, results):
|
|
71
|
+
"""Sets the results of this DatacatalogvolumeListResponse.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param results: The results of this DatacatalogvolumeListResponse. # noqa: E501
|
|
75
|
+
:type: list[DataCatalogVolume]
|
|
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 DatacatalogvolumeListResponse. # noqa: E501
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:return: The metadata of this DatacatalogvolumeListResponse. # 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 DatacatalogvolumeListResponse.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param metadata: The metadata of this DatacatalogvolumeListResponse. # 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, DatacatalogvolumeListResponse):
|
|
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, DatacatalogvolumeListResponse):
|
|
145
|
+
return True
|
|
146
|
+
|
|
147
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -52,6 +52,8 @@ class DecoratedListServiceAPIModel(object):
|
|
|
52
52
|
'base_url': 'str',
|
|
53
53
|
'ended_at': 'datetime',
|
|
54
54
|
'creator': 'MiniUser',
|
|
55
|
+
'is_multi_version': 'bool',
|
|
56
|
+
'error_message': 'str',
|
|
55
57
|
'type': 'ServiceType'
|
|
56
58
|
}
|
|
57
59
|
|
|
@@ -75,10 +77,12 @@ class DecoratedListServiceAPIModel(object):
|
|
|
75
77
|
'base_url': 'base_url',
|
|
76
78
|
'ended_at': 'ended_at',
|
|
77
79
|
'creator': 'creator',
|
|
80
|
+
'is_multi_version': 'is_multi_version',
|
|
81
|
+
'error_message': 'error_message',
|
|
78
82
|
'type': 'type'
|
|
79
83
|
}
|
|
80
84
|
|
|
81
|
-
def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, type=None, local_vars_configuration=None): # noqa: E501
|
|
85
|
+
def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, is_multi_version=None, error_message=None, type=None, local_vars_configuration=None): # noqa: E501
|
|
82
86
|
"""DecoratedListServiceAPIModel - a model defined in OpenAPI""" # noqa: E501
|
|
83
87
|
if local_vars_configuration is None:
|
|
84
88
|
local_vars_configuration = Configuration()
|
|
@@ -103,6 +107,8 @@ class DecoratedListServiceAPIModel(object):
|
|
|
103
107
|
self._base_url = None
|
|
104
108
|
self._ended_at = None
|
|
105
109
|
self._creator = None
|
|
110
|
+
self._is_multi_version = None
|
|
111
|
+
self._error_message = None
|
|
106
112
|
self._type = None
|
|
107
113
|
self.discriminator = None
|
|
108
114
|
|
|
@@ -129,6 +135,9 @@ class DecoratedListServiceAPIModel(object):
|
|
|
129
135
|
if ended_at is not None:
|
|
130
136
|
self.ended_at = ended_at
|
|
131
137
|
self.creator = creator
|
|
138
|
+
self.is_multi_version = is_multi_version
|
|
139
|
+
if error_message is not None:
|
|
140
|
+
self.error_message = error_message
|
|
132
141
|
self.type = type
|
|
133
142
|
|
|
134
143
|
@property
|
|
@@ -598,6 +607,54 @@ class DecoratedListServiceAPIModel(object):
|
|
|
598
607
|
|
|
599
608
|
self._creator = creator
|
|
600
609
|
|
|
610
|
+
@property
|
|
611
|
+
def is_multi_version(self):
|
|
612
|
+
"""Gets the is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
|
|
613
|
+
|
|
614
|
+
Whether the service is a multi-version service. # noqa: E501
|
|
615
|
+
|
|
616
|
+
:return: The is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
|
|
617
|
+
:rtype: bool
|
|
618
|
+
"""
|
|
619
|
+
return self._is_multi_version
|
|
620
|
+
|
|
621
|
+
@is_multi_version.setter
|
|
622
|
+
def is_multi_version(self, is_multi_version):
|
|
623
|
+
"""Sets the is_multi_version of this DecoratedListServiceAPIModel.
|
|
624
|
+
|
|
625
|
+
Whether the service is a multi-version service. # noqa: E501
|
|
626
|
+
|
|
627
|
+
:param is_multi_version: The is_multi_version of this DecoratedListServiceAPIModel. # noqa: E501
|
|
628
|
+
:type: bool
|
|
629
|
+
"""
|
|
630
|
+
if self.local_vars_configuration.client_side_validation and is_multi_version is None: # noqa: E501
|
|
631
|
+
raise ValueError("Invalid value for `is_multi_version`, must not be `None`") # noqa: E501
|
|
632
|
+
|
|
633
|
+
self._is_multi_version = is_multi_version
|
|
634
|
+
|
|
635
|
+
@property
|
|
636
|
+
def error_message(self):
|
|
637
|
+
"""Gets the error_message of this DecoratedListServiceAPIModel. # noqa: E501
|
|
638
|
+
|
|
639
|
+
Error message occurred while processing the API request. # noqa: E501
|
|
640
|
+
|
|
641
|
+
:return: The error_message of this DecoratedListServiceAPIModel. # noqa: E501
|
|
642
|
+
:rtype: str
|
|
643
|
+
"""
|
|
644
|
+
return self._error_message
|
|
645
|
+
|
|
646
|
+
@error_message.setter
|
|
647
|
+
def error_message(self, error_message):
|
|
648
|
+
"""Sets the error_message of this DecoratedListServiceAPIModel.
|
|
649
|
+
|
|
650
|
+
Error message occurred while processing the API request. # noqa: E501
|
|
651
|
+
|
|
652
|
+
:param error_message: The error_message of this DecoratedListServiceAPIModel. # noqa: E501
|
|
653
|
+
:type: str
|
|
654
|
+
"""
|
|
655
|
+
|
|
656
|
+
self._error_message = error_message
|
|
657
|
+
|
|
601
658
|
@property
|
|
602
659
|
def type(self):
|
|
603
660
|
"""Gets the type of this DecoratedListServiceAPIModel. # noqa: E501
|
|
@@ -51,7 +51,9 @@ class DecoratedProductionServiceV2APIModel(object):
|
|
|
51
51
|
'service_observability_urls': 'ServiceObservabilityUrls',
|
|
52
52
|
'base_url': 'str',
|
|
53
53
|
'ended_at': 'datetime',
|
|
54
|
-
'creator': 'MiniUser'
|
|
54
|
+
'creator': 'MiniUser',
|
|
55
|
+
'is_multi_version': 'bool',
|
|
56
|
+
'error_message': 'str'
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
attribute_map = {
|
|
@@ -73,10 +75,12 @@ class DecoratedProductionServiceV2APIModel(object):
|
|
|
73
75
|
'service_observability_urls': 'service_observability_urls',
|
|
74
76
|
'base_url': 'base_url',
|
|
75
77
|
'ended_at': 'ended_at',
|
|
76
|
-
'creator': 'creator'
|
|
78
|
+
'creator': 'creator',
|
|
79
|
+
'is_multi_version': 'is_multi_version',
|
|
80
|
+
'error_message': 'error_message'
|
|
77
81
|
}
|
|
78
82
|
|
|
79
|
-
def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, local_vars_configuration=None): # noqa: E501
|
|
83
|
+
def __init__(self, id=None, name=None, description=None, project_id=None, cloud_id=None, creator_id=None, created_at=None, hostname=None, current_state=None, goal_state=None, auth_token=None, auto_rollout_enabled=None, versions=None, primary_version=None, canary_version=None, service_observability_urls=None, base_url=None, ended_at=None, creator=None, is_multi_version=None, error_message=None, local_vars_configuration=None): # noqa: E501
|
|
80
84
|
"""DecoratedProductionServiceV2APIModel - a model defined in OpenAPI""" # noqa: E501
|
|
81
85
|
if local_vars_configuration is None:
|
|
82
86
|
local_vars_configuration = Configuration()
|
|
@@ -101,6 +105,8 @@ class DecoratedProductionServiceV2APIModel(object):
|
|
|
101
105
|
self._base_url = None
|
|
102
106
|
self._ended_at = None
|
|
103
107
|
self._creator = None
|
|
108
|
+
self._is_multi_version = None
|
|
109
|
+
self._error_message = None
|
|
104
110
|
self.discriminator = None
|
|
105
111
|
|
|
106
112
|
self.id = id
|
|
@@ -126,6 +132,9 @@ class DecoratedProductionServiceV2APIModel(object):
|
|
|
126
132
|
if ended_at is not None:
|
|
127
133
|
self.ended_at = ended_at
|
|
128
134
|
self.creator = creator
|
|
135
|
+
self.is_multi_version = is_multi_version
|
|
136
|
+
if error_message is not None:
|
|
137
|
+
self.error_message = error_message
|
|
129
138
|
|
|
130
139
|
@property
|
|
131
140
|
def id(self):
|
|
@@ -594,6 +603,54 @@ class DecoratedProductionServiceV2APIModel(object):
|
|
|
594
603
|
|
|
595
604
|
self._creator = creator
|
|
596
605
|
|
|
606
|
+
@property
|
|
607
|
+
def is_multi_version(self):
|
|
608
|
+
"""Gets the is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
609
|
+
|
|
610
|
+
Whether the service is a multi-version service. # noqa: E501
|
|
611
|
+
|
|
612
|
+
:return: The is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
613
|
+
:rtype: bool
|
|
614
|
+
"""
|
|
615
|
+
return self._is_multi_version
|
|
616
|
+
|
|
617
|
+
@is_multi_version.setter
|
|
618
|
+
def is_multi_version(self, is_multi_version):
|
|
619
|
+
"""Sets the is_multi_version of this DecoratedProductionServiceV2APIModel.
|
|
620
|
+
|
|
621
|
+
Whether the service is a multi-version service. # noqa: E501
|
|
622
|
+
|
|
623
|
+
:param is_multi_version: The is_multi_version of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
624
|
+
:type: bool
|
|
625
|
+
"""
|
|
626
|
+
if self.local_vars_configuration.client_side_validation and is_multi_version is None: # noqa: E501
|
|
627
|
+
raise ValueError("Invalid value for `is_multi_version`, must not be `None`") # noqa: E501
|
|
628
|
+
|
|
629
|
+
self._is_multi_version = is_multi_version
|
|
630
|
+
|
|
631
|
+
@property
|
|
632
|
+
def error_message(self):
|
|
633
|
+
"""Gets the error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
634
|
+
|
|
635
|
+
Error message occurred while processing the API request. # noqa: E501
|
|
636
|
+
|
|
637
|
+
:return: The error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
638
|
+
:rtype: str
|
|
639
|
+
"""
|
|
640
|
+
return self._error_message
|
|
641
|
+
|
|
642
|
+
@error_message.setter
|
|
643
|
+
def error_message(self, error_message):
|
|
644
|
+
"""Sets the error_message of this DecoratedProductionServiceV2APIModel.
|
|
645
|
+
|
|
646
|
+
Error message occurred while processing the API request. # noqa: E501
|
|
647
|
+
|
|
648
|
+
:param error_message: The error_message of this DecoratedProductionServiceV2APIModel. # noqa: E501
|
|
649
|
+
:type: str
|
|
650
|
+
"""
|
|
651
|
+
|
|
652
|
+
self._error_message = error_message
|
|
653
|
+
|
|
597
654
|
def to_dict(self):
|
|
598
655
|
"""Returns the model properties as a dict"""
|
|
599
656
|
result = {}
|
|
@@ -51,6 +51,7 @@ class DecoratedServeDeployment(object):
|
|
|
51
51
|
'message': 'str',
|
|
52
52
|
'replica_details': 'list[ReplicaDetails]',
|
|
53
53
|
'required_resources': 'dict(str, float)',
|
|
54
|
+
'deployment_config': 'object',
|
|
54
55
|
'cluster': 'MiniCluster',
|
|
55
56
|
'creator': 'MiniUser',
|
|
56
57
|
'namespace': 'MiniNamespace',
|
|
@@ -77,6 +78,7 @@ class DecoratedServeDeployment(object):
|
|
|
77
78
|
'message': 'message',
|
|
78
79
|
'replica_details': 'replica_details',
|
|
79
80
|
'required_resources': 'required_resources',
|
|
81
|
+
'deployment_config': 'deployment_config',
|
|
80
82
|
'cluster': 'cluster',
|
|
81
83
|
'creator': 'creator',
|
|
82
84
|
'namespace': 'namespace',
|
|
@@ -84,7 +86,7 @@ class DecoratedServeDeployment(object):
|
|
|
84
86
|
'fast_api_docs_url': 'fast_api_docs_url'
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
def __init__(self, id=None, status=None, name=None, application_name=None, cluster_id=None, job_id=None, creator_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', created_at=None, finished_at=None, http_route=None, grafana_dashboard_url=None, class_name=None, grafana_dashboard_state=None, version=None, message=None, replica_details=None, required_resources=None, cluster=None, creator=None, namespace=None, num_actors=0, fast_api_docs_url=None, local_vars_configuration=None): # noqa: E501
|
|
89
|
+
def __init__(self, id=None, status=None, name=None, application_name=None, cluster_id=None, job_id=None, creator_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', created_at=None, finished_at=None, http_route=None, grafana_dashboard_url=None, class_name=None, grafana_dashboard_state=None, version=None, message=None, replica_details=None, required_resources=None, deployment_config=None, cluster=None, creator=None, namespace=None, num_actors=0, fast_api_docs_url=None, local_vars_configuration=None): # noqa: E501
|
|
88
90
|
"""DecoratedServeDeployment - a model defined in OpenAPI""" # noqa: E501
|
|
89
91
|
if local_vars_configuration is None:
|
|
90
92
|
local_vars_configuration = Configuration()
|
|
@@ -108,6 +110,7 @@ class DecoratedServeDeployment(object):
|
|
|
108
110
|
self._message = None
|
|
109
111
|
self._replica_details = None
|
|
110
112
|
self._required_resources = None
|
|
113
|
+
self._deployment_config = None
|
|
111
114
|
self._cluster = None
|
|
112
115
|
self._creator = None
|
|
113
116
|
self._namespace = None
|
|
@@ -145,6 +148,8 @@ class DecoratedServeDeployment(object):
|
|
|
145
148
|
self.replica_details = replica_details
|
|
146
149
|
if required_resources is not None:
|
|
147
150
|
self.required_resources = required_resources
|
|
151
|
+
if deployment_config is not None:
|
|
152
|
+
self.deployment_config = deployment_config
|
|
148
153
|
self.cluster = cluster
|
|
149
154
|
if creator is not None:
|
|
150
155
|
self.creator = creator
|
|
@@ -581,6 +586,27 @@ class DecoratedServeDeployment(object):
|
|
|
581
586
|
|
|
582
587
|
self._required_resources = required_resources
|
|
583
588
|
|
|
589
|
+
@property
|
|
590
|
+
def deployment_config(self):
|
|
591
|
+
"""Gets the deployment_config of this DecoratedServeDeployment. # noqa: E501
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
:return: The deployment_config of this DecoratedServeDeployment. # noqa: E501
|
|
595
|
+
:rtype: object
|
|
596
|
+
"""
|
|
597
|
+
return self._deployment_config
|
|
598
|
+
|
|
599
|
+
@deployment_config.setter
|
|
600
|
+
def deployment_config(self, deployment_config):
|
|
601
|
+
"""Sets the deployment_config of this DecoratedServeDeployment.
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
:param deployment_config: The deployment_config of this DecoratedServeDeployment. # noqa: E501
|
|
605
|
+
:type: object
|
|
606
|
+
"""
|
|
607
|
+
|
|
608
|
+
self._deployment_config = deployment_config
|
|
609
|
+
|
|
584
610
|
@property
|
|
585
611
|
def cluster(self):
|
|
586
612
|
"""Gets the cluster of this DecoratedServeDeployment. # noqa: E501
|
|
@@ -38,7 +38,7 @@ class DecoratedServiceEventAPIModel(object):
|
|
|
38
38
|
'event_type': 'ServiceEventType',
|
|
39
39
|
'current_state': 'ServiceEventCurrentState',
|
|
40
40
|
'goal_state': 'ServiceGoalStates',
|
|
41
|
-
'level': '
|
|
41
|
+
'level': 'EventLevel',
|
|
42
42
|
'message': 'str',
|
|
43
43
|
'origin': 'ServiceEventOrigin',
|
|
44
44
|
'service_id': 'str',
|
|
@@ -244,7 +244,7 @@ class DecoratedServiceEventAPIModel(object):
|
|
|
244
244
|
|
|
245
245
|
|
|
246
246
|
:return: The level of this DecoratedServiceEventAPIModel. # noqa: E501
|
|
247
|
-
:rtype:
|
|
247
|
+
:rtype: EventLevel
|
|
248
248
|
"""
|
|
249
249
|
return self._level
|
|
250
250
|
|
|
@@ -254,7 +254,7 @@ class DecoratedServiceEventAPIModel(object):
|
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
:param level: The level of this DecoratedServiceEventAPIModel. # noqa: E501
|
|
257
|
-
:type:
|
|
257
|
+
:type: EventLevel
|
|
258
258
|
"""
|
|
259
259
|
|
|
260
260
|
self._level = level
|