anyscale 0.26.70__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 +63 -6
- anyscale/_private/anyscale_client/common.py +33 -3
- anyscale/_private/anyscale_client/fake_anyscale_client.py +27 -2
- anyscale/client/README.md +29 -0
- anyscale/client/openapi_client/__init__.py +19 -0
- anyscale/client/openapi_client/api/default_api.py +1307 -4
- anyscale/client/openapi_client/models/__init__.py +19 -0
- anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
- 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 +70 -1
- anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
- 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_workspace_template_version.py +31 -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/data_catalog_object_type.py +100 -0
- 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_serve_deployment.py +27 -1
- anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
- anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +2 -2
- anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
- anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +2 -2
- anyscale/client/openapi_client/models/physical_resources.py +178 -0
- anyscale/client/openapi_client/models/schema_metadata.py +150 -0
- anyscale/client/openapi_client/models/sso_config.py +18 -18
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
- anyscale/client/openapi_client/models/table_data_preview.py +209 -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_template_version.py +29 -1
- anyscale/client/openapi_client/models/workspace_template_version_data_object.py +29 -1
- anyscale/commands/job_commands.py +120 -0
- anyscale/commands/job_queue_commands.py +99 -2
- anyscale/commands/service_commands.py +139 -2
- 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/job_controller.py +12 -0
- anyscale/controllers/workspace_controller.py +67 -5
- anyscale/job/_private/job_sdk.py +3 -1
- 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/baseimagesenum.py +70 -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/supportedbaseimagesenum.py +70 -1
- anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
- anyscale/service/__init__.py +40 -0
- anyscale/service/_private/service_sdk.py +121 -24
- anyscale/service/commands.py +75 -1
- anyscale/service/models.py +46 -2
- 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.70.dist-info → anyscale-0.26.71.dist-info}/METADATA +1 -1
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/RECORD +78 -58
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/WHEEL +0 -0
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/LICENSE +0 -0
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/NOTICE +0 -0
- {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/top_level.txt +0 -0
|
@@ -36,17 +36,19 @@ class CreateWorkspaceTemplateVersion(object):
|
|
|
36
36
|
'image_uri': 'str',
|
|
37
37
|
'compute_configs': 'dict(str, str)',
|
|
38
38
|
'artifacts': 'WorkspaceSystemArtifacts',
|
|
39
|
-
'source_workspace_id': 'str'
|
|
39
|
+
'source_workspace_id': 'str',
|
|
40
|
+
'idle_termination_minutes': 'int'
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
attribute_map = {
|
|
43
44
|
'image_uri': 'image_uri',
|
|
44
45
|
'compute_configs': 'compute_configs',
|
|
45
46
|
'artifacts': 'artifacts',
|
|
46
|
-
'source_workspace_id': 'source_workspace_id'
|
|
47
|
+
'source_workspace_id': 'source_workspace_id',
|
|
48
|
+
'idle_termination_minutes': 'idle_termination_minutes'
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, image_uri=None, compute_configs=None, artifacts=None, source_workspace_id=None, local_vars_configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, image_uri=None, compute_configs=None, artifacts=None, source_workspace_id=None, idle_termination_minutes=None, local_vars_configuration=None): # noqa: E501
|
|
50
52
|
"""CreateWorkspaceTemplateVersion - a model defined in OpenAPI""" # noqa: E501
|
|
51
53
|
if local_vars_configuration is None:
|
|
52
54
|
local_vars_configuration = Configuration()
|
|
@@ -56,6 +58,7 @@ class CreateWorkspaceTemplateVersion(object):
|
|
|
56
58
|
self._compute_configs = None
|
|
57
59
|
self._artifacts = None
|
|
58
60
|
self._source_workspace_id = None
|
|
61
|
+
self._idle_termination_minutes = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
|
|
61
64
|
if image_uri is not None:
|
|
@@ -66,6 +69,8 @@ class CreateWorkspaceTemplateVersion(object):
|
|
|
66
69
|
self.artifacts = artifacts
|
|
67
70
|
if source_workspace_id is not None:
|
|
68
71
|
self.source_workspace_id = source_workspace_id
|
|
72
|
+
if idle_termination_minutes is not None:
|
|
73
|
+
self.idle_termination_minutes = idle_termination_minutes
|
|
69
74
|
|
|
70
75
|
@property
|
|
71
76
|
def image_uri(self):
|
|
@@ -159,6 +164,29 @@ class CreateWorkspaceTemplateVersion(object):
|
|
|
159
164
|
|
|
160
165
|
self._source_workspace_id = source_workspace_id
|
|
161
166
|
|
|
167
|
+
@property
|
|
168
|
+
def idle_termination_minutes(self):
|
|
169
|
+
"""Gets the idle_termination_minutes of this CreateWorkspaceTemplateVersion. # noqa: E501
|
|
170
|
+
|
|
171
|
+
Idle termination minutes for this version # noqa: E501
|
|
172
|
+
|
|
173
|
+
:return: The idle_termination_minutes of this CreateWorkspaceTemplateVersion. # noqa: E501
|
|
174
|
+
:rtype: int
|
|
175
|
+
"""
|
|
176
|
+
return self._idle_termination_minutes
|
|
177
|
+
|
|
178
|
+
@idle_termination_minutes.setter
|
|
179
|
+
def idle_termination_minutes(self, idle_termination_minutes):
|
|
180
|
+
"""Sets the idle_termination_minutes of this CreateWorkspaceTemplateVersion.
|
|
181
|
+
|
|
182
|
+
Idle termination minutes for this version # noqa: E501
|
|
183
|
+
|
|
184
|
+
:param idle_termination_minutes: The idle_termination_minutes of this CreateWorkspaceTemplateVersion. # noqa: E501
|
|
185
|
+
:type: int
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._idle_termination_minutes = idle_termination_minutes
|
|
189
|
+
|
|
162
190
|
def to_dict(self):
|
|
163
191
|
"""Returns the model properties as a dict"""
|
|
164
192
|
result = {}
|
|
@@ -35,24 +35,24 @@ class DataCatalog(object):
|
|
|
35
35
|
openapi_types = {
|
|
36
36
|
'id': 'str',
|
|
37
37
|
'name': 'str',
|
|
38
|
-
'connection_id': 'str',
|
|
39
38
|
'description': 'str',
|
|
40
39
|
'created_at': 'str',
|
|
41
40
|
'updated_at': 'str',
|
|
42
|
-
'
|
|
41
|
+
'connection_id': 'str',
|
|
42
|
+
'metadata': 'CatalogMetadata'
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
attribute_map = {
|
|
46
46
|
'id': 'id',
|
|
47
47
|
'name': 'name',
|
|
48
|
-
'connection_id': 'connection_id',
|
|
49
48
|
'description': 'description',
|
|
50
49
|
'created_at': 'created_at',
|
|
51
50
|
'updated_at': 'updated_at',
|
|
51
|
+
'connection_id': 'connection_id',
|
|
52
52
|
'metadata': 'metadata'
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
def __init__(self, id=None, name=None,
|
|
55
|
+
def __init__(self, id=None, name=None, description=None, created_at=None, updated_at=None, connection_id=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
|
56
56
|
"""DataCatalog - a model defined in OpenAPI""" # noqa: E501
|
|
57
57
|
if local_vars_configuration is None:
|
|
58
58
|
local_vars_configuration = Configuration()
|
|
@@ -60,20 +60,20 @@ class DataCatalog(object):
|
|
|
60
60
|
|
|
61
61
|
self._id = None
|
|
62
62
|
self._name = None
|
|
63
|
-
self._connection_id = None
|
|
64
63
|
self._description = None
|
|
65
64
|
self._created_at = None
|
|
66
65
|
self._updated_at = None
|
|
66
|
+
self._connection_id = None
|
|
67
67
|
self._metadata = None
|
|
68
68
|
self.discriminator = None
|
|
69
69
|
|
|
70
70
|
self.id = id
|
|
71
71
|
self.name = name
|
|
72
|
-
self.connection_id = connection_id
|
|
73
72
|
if description is not None:
|
|
74
73
|
self.description = description
|
|
75
74
|
self.created_at = created_at
|
|
76
75
|
self.updated_at = updated_at
|
|
76
|
+
self.connection_id = connection_id
|
|
77
77
|
if metadata is not None:
|
|
78
78
|
self.metadata = metadata
|
|
79
79
|
|
|
@@ -81,6 +81,7 @@ class DataCatalog(object):
|
|
|
81
81
|
def id(self):
|
|
82
82
|
"""Gets the id of this DataCatalog. # noqa: E501
|
|
83
83
|
|
|
84
|
+
Unique identifier # noqa: E501
|
|
84
85
|
|
|
85
86
|
:return: The id of this DataCatalog. # noqa: E501
|
|
86
87
|
:rtype: str
|
|
@@ -91,6 +92,7 @@ class DataCatalog(object):
|
|
|
91
92
|
def id(self, id):
|
|
92
93
|
"""Sets the id of this DataCatalog.
|
|
93
94
|
|
|
95
|
+
Unique identifier # noqa: E501
|
|
94
96
|
|
|
95
97
|
:param id: The id of this DataCatalog. # noqa: E501
|
|
96
98
|
:type: str
|
|
@@ -104,6 +106,7 @@ class DataCatalog(object):
|
|
|
104
106
|
def name(self):
|
|
105
107
|
"""Gets the name of this DataCatalog. # noqa: E501
|
|
106
108
|
|
|
109
|
+
Display name # noqa: E501
|
|
107
110
|
|
|
108
111
|
:return: The name of this DataCatalog. # noqa: E501
|
|
109
112
|
:rtype: str
|
|
@@ -114,6 +117,7 @@ class DataCatalog(object):
|
|
|
114
117
|
def name(self, name):
|
|
115
118
|
"""Sets the name of this DataCatalog.
|
|
116
119
|
|
|
120
|
+
Display name # noqa: E501
|
|
117
121
|
|
|
118
122
|
:param name: The name of this DataCatalog. # noqa: E501
|
|
119
123
|
:type: str
|
|
@@ -123,33 +127,11 @@ class DataCatalog(object):
|
|
|
123
127
|
|
|
124
128
|
self._name = name
|
|
125
129
|
|
|
126
|
-
@property
|
|
127
|
-
def connection_id(self):
|
|
128
|
-
"""Gets the connection_id of this DataCatalog. # noqa: E501
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
:return: The connection_id of this DataCatalog. # noqa: E501
|
|
132
|
-
:rtype: str
|
|
133
|
-
"""
|
|
134
|
-
return self._connection_id
|
|
135
|
-
|
|
136
|
-
@connection_id.setter
|
|
137
|
-
def connection_id(self, connection_id):
|
|
138
|
-
"""Sets the connection_id of this DataCatalog.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
:param connection_id: The connection_id of this DataCatalog. # noqa: E501
|
|
142
|
-
:type: str
|
|
143
|
-
"""
|
|
144
|
-
if self.local_vars_configuration.client_side_validation and connection_id is None: # noqa: E501
|
|
145
|
-
raise ValueError("Invalid value for `connection_id`, must not be `None`") # noqa: E501
|
|
146
|
-
|
|
147
|
-
self._connection_id = connection_id
|
|
148
|
-
|
|
149
130
|
@property
|
|
150
131
|
def description(self):
|
|
151
132
|
"""Gets the description of this DataCatalog. # noqa: E501
|
|
152
133
|
|
|
134
|
+
Description # noqa: E501
|
|
153
135
|
|
|
154
136
|
:return: The description of this DataCatalog. # noqa: E501
|
|
155
137
|
:rtype: str
|
|
@@ -160,6 +142,7 @@ class DataCatalog(object):
|
|
|
160
142
|
def description(self, description):
|
|
161
143
|
"""Sets the description of this DataCatalog.
|
|
162
144
|
|
|
145
|
+
Description # noqa: E501
|
|
163
146
|
|
|
164
147
|
:param description: The description of this DataCatalog. # noqa: E501
|
|
165
148
|
:type: str
|
|
@@ -171,6 +154,7 @@ class DataCatalog(object):
|
|
|
171
154
|
def created_at(self):
|
|
172
155
|
"""Gets the created_at of this DataCatalog. # noqa: E501
|
|
173
156
|
|
|
157
|
+
Creation timestamp in ISO 8601 format # noqa: E501
|
|
174
158
|
|
|
175
159
|
:return: The created_at of this DataCatalog. # noqa: E501
|
|
176
160
|
:rtype: str
|
|
@@ -181,6 +165,7 @@ class DataCatalog(object):
|
|
|
181
165
|
def created_at(self, created_at):
|
|
182
166
|
"""Sets the created_at of this DataCatalog.
|
|
183
167
|
|
|
168
|
+
Creation timestamp in ISO 8601 format # noqa: E501
|
|
184
169
|
|
|
185
170
|
:param created_at: The created_at of this DataCatalog. # noqa: E501
|
|
186
171
|
:type: str
|
|
@@ -194,6 +179,7 @@ class DataCatalog(object):
|
|
|
194
179
|
def updated_at(self):
|
|
195
180
|
"""Gets the updated_at of this DataCatalog. # noqa: E501
|
|
196
181
|
|
|
182
|
+
Last update timestamp in ISO 8601 format # noqa: E501
|
|
197
183
|
|
|
198
184
|
:return: The updated_at of this DataCatalog. # noqa: E501
|
|
199
185
|
:rtype: str
|
|
@@ -204,6 +190,7 @@ class DataCatalog(object):
|
|
|
204
190
|
def updated_at(self, updated_at):
|
|
205
191
|
"""Sets the updated_at of this DataCatalog.
|
|
206
192
|
|
|
193
|
+
Last update timestamp in ISO 8601 format # noqa: E501
|
|
207
194
|
|
|
208
195
|
:param updated_at: The updated_at of this DataCatalog. # noqa: E501
|
|
209
196
|
:type: str
|
|
@@ -213,13 +200,39 @@ class DataCatalog(object):
|
|
|
213
200
|
|
|
214
201
|
self._updated_at = updated_at
|
|
215
202
|
|
|
203
|
+
@property
|
|
204
|
+
def connection_id(self):
|
|
205
|
+
"""Gets the connection_id of this DataCatalog. # noqa: E501
|
|
206
|
+
|
|
207
|
+
ID of the parent data catalog connection # noqa: E501
|
|
208
|
+
|
|
209
|
+
:return: The connection_id of this DataCatalog. # noqa: E501
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
212
|
+
return self._connection_id
|
|
213
|
+
|
|
214
|
+
@connection_id.setter
|
|
215
|
+
def connection_id(self, connection_id):
|
|
216
|
+
"""Sets the connection_id of this DataCatalog.
|
|
217
|
+
|
|
218
|
+
ID of the parent data catalog connection # noqa: E501
|
|
219
|
+
|
|
220
|
+
:param connection_id: The connection_id of this DataCatalog. # noqa: E501
|
|
221
|
+
:type: str
|
|
222
|
+
"""
|
|
223
|
+
if self.local_vars_configuration.client_side_validation and connection_id is None: # noqa: E501
|
|
224
|
+
raise ValueError("Invalid value for `connection_id`, must not be `None`") # noqa: E501
|
|
225
|
+
|
|
226
|
+
self._connection_id = connection_id
|
|
227
|
+
|
|
216
228
|
@property
|
|
217
229
|
def metadata(self):
|
|
218
230
|
"""Gets the metadata of this DataCatalog. # noqa: E501
|
|
219
231
|
|
|
232
|
+
Catalog-specific metadata # noqa: E501
|
|
220
233
|
|
|
221
234
|
:return: The metadata of this DataCatalog. # noqa: E501
|
|
222
|
-
:rtype:
|
|
235
|
+
:rtype: CatalogMetadata
|
|
223
236
|
"""
|
|
224
237
|
return self._metadata
|
|
225
238
|
|
|
@@ -227,9 +240,10 @@ class DataCatalog(object):
|
|
|
227
240
|
def metadata(self, metadata):
|
|
228
241
|
"""Sets the metadata of this DataCatalog.
|
|
229
242
|
|
|
243
|
+
Catalog-specific metadata # noqa: E501
|
|
230
244
|
|
|
231
245
|
:param metadata: The metadata of this DataCatalog. # noqa: E501
|
|
232
|
-
:type:
|
|
246
|
+
:type: CatalogMetadata
|
|
233
247
|
"""
|
|
234
248
|
|
|
235
249
|
self._metadata = metadata
|
|
@@ -35,26 +35,26 @@ class DataCatalogConnection(object):
|
|
|
35
35
|
openapi_types = {
|
|
36
36
|
'id': 'str',
|
|
37
37
|
'name': 'str',
|
|
38
|
-
'provider': 'DataCatalogProvider',
|
|
39
|
-
'connection_status': 'DataCatalogConnectionStatus',
|
|
40
38
|
'description': 'str',
|
|
41
39
|
'created_at': 'str',
|
|
42
40
|
'updated_at': 'str',
|
|
43
|
-
'
|
|
41
|
+
'provider': 'DataCatalogProvider',
|
|
42
|
+
'connection_status': 'DataCatalogConnectionStatus',
|
|
43
|
+
'metadata': 'ConnectionMetadata'
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
attribute_map = {
|
|
47
47
|
'id': 'id',
|
|
48
48
|
'name': 'name',
|
|
49
|
-
'provider': 'provider',
|
|
50
|
-
'connection_status': 'connection_status',
|
|
51
49
|
'description': 'description',
|
|
52
50
|
'created_at': 'created_at',
|
|
53
51
|
'updated_at': 'updated_at',
|
|
52
|
+
'provider': 'provider',
|
|
53
|
+
'connection_status': 'connection_status',
|
|
54
54
|
'metadata': 'metadata'
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
def __init__(self, id=None, name=None,
|
|
57
|
+
def __init__(self, id=None, name=None, description=None, created_at=None, updated_at=None, provider=None, connection_status=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
|
58
58
|
"""DataCatalogConnection - a model defined in OpenAPI""" # noqa: E501
|
|
59
59
|
if local_vars_configuration is None:
|
|
60
60
|
local_vars_configuration = Configuration()
|
|
@@ -62,22 +62,22 @@ class DataCatalogConnection(object):
|
|
|
62
62
|
|
|
63
63
|
self._id = None
|
|
64
64
|
self._name = None
|
|
65
|
-
self._provider = None
|
|
66
|
-
self._connection_status = None
|
|
67
65
|
self._description = None
|
|
68
66
|
self._created_at = None
|
|
69
67
|
self._updated_at = None
|
|
68
|
+
self._provider = None
|
|
69
|
+
self._connection_status = None
|
|
70
70
|
self._metadata = None
|
|
71
71
|
self.discriminator = None
|
|
72
72
|
|
|
73
73
|
self.id = id
|
|
74
74
|
self.name = name
|
|
75
|
-
self.provider = provider
|
|
76
|
-
self.connection_status = connection_status
|
|
77
75
|
if description is not None:
|
|
78
76
|
self.description = description
|
|
79
77
|
self.created_at = created_at
|
|
80
78
|
self.updated_at = updated_at
|
|
79
|
+
self.provider = provider
|
|
80
|
+
self.connection_status = connection_status
|
|
81
81
|
if metadata is not None:
|
|
82
82
|
self.metadata = metadata
|
|
83
83
|
|
|
@@ -85,6 +85,7 @@ class DataCatalogConnection(object):
|
|
|
85
85
|
def id(self):
|
|
86
86
|
"""Gets the id of this DataCatalogConnection. # noqa: E501
|
|
87
87
|
|
|
88
|
+
Unique identifier # noqa: E501
|
|
88
89
|
|
|
89
90
|
:return: The id of this DataCatalogConnection. # noqa: E501
|
|
90
91
|
:rtype: str
|
|
@@ -95,6 +96,7 @@ class DataCatalogConnection(object):
|
|
|
95
96
|
def id(self, id):
|
|
96
97
|
"""Sets the id of this DataCatalogConnection.
|
|
97
98
|
|
|
99
|
+
Unique identifier # noqa: E501
|
|
98
100
|
|
|
99
101
|
:param id: The id of this DataCatalogConnection. # noqa: E501
|
|
100
102
|
:type: str
|
|
@@ -108,6 +110,7 @@ class DataCatalogConnection(object):
|
|
|
108
110
|
def name(self):
|
|
109
111
|
"""Gets the name of this DataCatalogConnection. # noqa: E501
|
|
110
112
|
|
|
113
|
+
Display name # noqa: E501
|
|
111
114
|
|
|
112
115
|
:return: The name of this DataCatalogConnection. # noqa: E501
|
|
113
116
|
:rtype: str
|
|
@@ -118,6 +121,7 @@ class DataCatalogConnection(object):
|
|
|
118
121
|
def name(self, name):
|
|
119
122
|
"""Sets the name of this DataCatalogConnection.
|
|
120
123
|
|
|
124
|
+
Display name # noqa: E501
|
|
121
125
|
|
|
122
126
|
:param name: The name of this DataCatalogConnection. # noqa: E501
|
|
123
127
|
:type: str
|
|
@@ -127,56 +131,11 @@ class DataCatalogConnection(object):
|
|
|
127
131
|
|
|
128
132
|
self._name = name
|
|
129
133
|
|
|
130
|
-
@property
|
|
131
|
-
def provider(self):
|
|
132
|
-
"""Gets the provider of this DataCatalogConnection. # noqa: E501
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
:return: The provider of this DataCatalogConnection. # noqa: E501
|
|
136
|
-
:rtype: DataCatalogProvider
|
|
137
|
-
"""
|
|
138
|
-
return self._provider
|
|
139
|
-
|
|
140
|
-
@provider.setter
|
|
141
|
-
def provider(self, provider):
|
|
142
|
-
"""Sets the provider of this DataCatalogConnection.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
:param provider: The provider of this DataCatalogConnection. # noqa: E501
|
|
146
|
-
:type: DataCatalogProvider
|
|
147
|
-
"""
|
|
148
|
-
if self.local_vars_configuration.client_side_validation and provider is None: # noqa: E501
|
|
149
|
-
raise ValueError("Invalid value for `provider`, must not be `None`") # noqa: E501
|
|
150
|
-
|
|
151
|
-
self._provider = provider
|
|
152
|
-
|
|
153
|
-
@property
|
|
154
|
-
def connection_status(self):
|
|
155
|
-
"""Gets the connection_status of this DataCatalogConnection. # noqa: E501
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
:return: The connection_status of this DataCatalogConnection. # noqa: E501
|
|
159
|
-
:rtype: DataCatalogConnectionStatus
|
|
160
|
-
"""
|
|
161
|
-
return self._connection_status
|
|
162
|
-
|
|
163
|
-
@connection_status.setter
|
|
164
|
-
def connection_status(self, connection_status):
|
|
165
|
-
"""Sets the connection_status of this DataCatalogConnection.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
:param connection_status: The connection_status of this DataCatalogConnection. # noqa: E501
|
|
169
|
-
:type: DataCatalogConnectionStatus
|
|
170
|
-
"""
|
|
171
|
-
if self.local_vars_configuration.client_side_validation and connection_status is None: # noqa: E501
|
|
172
|
-
raise ValueError("Invalid value for `connection_status`, must not be `None`") # noqa: E501
|
|
173
|
-
|
|
174
|
-
self._connection_status = connection_status
|
|
175
|
-
|
|
176
134
|
@property
|
|
177
135
|
def description(self):
|
|
178
136
|
"""Gets the description of this DataCatalogConnection. # noqa: E501
|
|
179
137
|
|
|
138
|
+
Description # noqa: E501
|
|
180
139
|
|
|
181
140
|
:return: The description of this DataCatalogConnection. # noqa: E501
|
|
182
141
|
:rtype: str
|
|
@@ -187,6 +146,7 @@ class DataCatalogConnection(object):
|
|
|
187
146
|
def description(self, description):
|
|
188
147
|
"""Sets the description of this DataCatalogConnection.
|
|
189
148
|
|
|
149
|
+
Description # noqa: E501
|
|
190
150
|
|
|
191
151
|
:param description: The description of this DataCatalogConnection. # noqa: E501
|
|
192
152
|
:type: str
|
|
@@ -198,6 +158,7 @@ class DataCatalogConnection(object):
|
|
|
198
158
|
def created_at(self):
|
|
199
159
|
"""Gets the created_at of this DataCatalogConnection. # noqa: E501
|
|
200
160
|
|
|
161
|
+
Creation timestamp in ISO 8601 format # noqa: E501
|
|
201
162
|
|
|
202
163
|
:return: The created_at of this DataCatalogConnection. # noqa: E501
|
|
203
164
|
:rtype: str
|
|
@@ -208,6 +169,7 @@ class DataCatalogConnection(object):
|
|
|
208
169
|
def created_at(self, created_at):
|
|
209
170
|
"""Sets the created_at of this DataCatalogConnection.
|
|
210
171
|
|
|
172
|
+
Creation timestamp in ISO 8601 format # noqa: E501
|
|
211
173
|
|
|
212
174
|
:param created_at: The created_at of this DataCatalogConnection. # noqa: E501
|
|
213
175
|
:type: str
|
|
@@ -221,6 +183,7 @@ class DataCatalogConnection(object):
|
|
|
221
183
|
def updated_at(self):
|
|
222
184
|
"""Gets the updated_at of this DataCatalogConnection. # noqa: E501
|
|
223
185
|
|
|
186
|
+
Last update timestamp in ISO 8601 format # noqa: E501
|
|
224
187
|
|
|
225
188
|
:return: The updated_at of this DataCatalogConnection. # noqa: E501
|
|
226
189
|
:rtype: str
|
|
@@ -231,6 +194,7 @@ class DataCatalogConnection(object):
|
|
|
231
194
|
def updated_at(self, updated_at):
|
|
232
195
|
"""Sets the updated_at of this DataCatalogConnection.
|
|
233
196
|
|
|
197
|
+
Last update timestamp in ISO 8601 format # noqa: E501
|
|
234
198
|
|
|
235
199
|
:param updated_at: The updated_at of this DataCatalogConnection. # noqa: E501
|
|
236
200
|
:type: str
|
|
@@ -240,13 +204,64 @@ class DataCatalogConnection(object):
|
|
|
240
204
|
|
|
241
205
|
self._updated_at = updated_at
|
|
242
206
|
|
|
207
|
+
@property
|
|
208
|
+
def provider(self):
|
|
209
|
+
"""Gets the provider of this DataCatalogConnection. # noqa: E501
|
|
210
|
+
|
|
211
|
+
Type of catalog provider (e.g., Databricks, AWS Glue) # noqa: E501
|
|
212
|
+
|
|
213
|
+
:return: The provider of this DataCatalogConnection. # noqa: E501
|
|
214
|
+
:rtype: DataCatalogProvider
|
|
215
|
+
"""
|
|
216
|
+
return self._provider
|
|
217
|
+
|
|
218
|
+
@provider.setter
|
|
219
|
+
def provider(self, provider):
|
|
220
|
+
"""Sets the provider of this DataCatalogConnection.
|
|
221
|
+
|
|
222
|
+
Type of catalog provider (e.g., Databricks, AWS Glue) # noqa: E501
|
|
223
|
+
|
|
224
|
+
:param provider: The provider of this DataCatalogConnection. # noqa: E501
|
|
225
|
+
:type: DataCatalogProvider
|
|
226
|
+
"""
|
|
227
|
+
if self.local_vars_configuration.client_side_validation and provider is None: # noqa: E501
|
|
228
|
+
raise ValueError("Invalid value for `provider`, must not be `None`") # noqa: E501
|
|
229
|
+
|
|
230
|
+
self._provider = provider
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def connection_status(self):
|
|
234
|
+
"""Gets the connection_status of this DataCatalogConnection. # noqa: E501
|
|
235
|
+
|
|
236
|
+
Current status of the connection # noqa: E501
|
|
237
|
+
|
|
238
|
+
:return: The connection_status of this DataCatalogConnection. # noqa: E501
|
|
239
|
+
:rtype: DataCatalogConnectionStatus
|
|
240
|
+
"""
|
|
241
|
+
return self._connection_status
|
|
242
|
+
|
|
243
|
+
@connection_status.setter
|
|
244
|
+
def connection_status(self, connection_status):
|
|
245
|
+
"""Sets the connection_status of this DataCatalogConnection.
|
|
246
|
+
|
|
247
|
+
Current status of the connection # noqa: E501
|
|
248
|
+
|
|
249
|
+
:param connection_status: The connection_status of this DataCatalogConnection. # noqa: E501
|
|
250
|
+
:type: DataCatalogConnectionStatus
|
|
251
|
+
"""
|
|
252
|
+
if self.local_vars_configuration.client_side_validation and connection_status is None: # noqa: E501
|
|
253
|
+
raise ValueError("Invalid value for `connection_status`, must not be `None`") # noqa: E501
|
|
254
|
+
|
|
255
|
+
self._connection_status = connection_status
|
|
256
|
+
|
|
243
257
|
@property
|
|
244
258
|
def metadata(self):
|
|
245
259
|
"""Gets the metadata of this DataCatalogConnection. # noqa: E501
|
|
246
260
|
|
|
261
|
+
Connection-specific metadata # noqa: E501
|
|
247
262
|
|
|
248
263
|
:return: The metadata of this DataCatalogConnection. # noqa: E501
|
|
249
|
-
:rtype:
|
|
264
|
+
:rtype: ConnectionMetadata
|
|
250
265
|
"""
|
|
251
266
|
return self._metadata
|
|
252
267
|
|
|
@@ -254,9 +269,10 @@ class DataCatalogConnection(object):
|
|
|
254
269
|
def metadata(self, metadata):
|
|
255
270
|
"""Sets the metadata of this DataCatalogConnection.
|
|
256
271
|
|
|
272
|
+
Connection-specific metadata # noqa: E501
|
|
257
273
|
|
|
258
274
|
:param metadata: The metadata of this DataCatalogConnection. # noqa: E501
|
|
259
|
-
:type:
|
|
275
|
+
:type: ConnectionMetadata
|
|
260
276
|
"""
|
|
261
277
|
|
|
262
278
|
self._metadata = metadata
|
|
@@ -0,0 +1,100 @@
|
|
|
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 DataCatalogObjectType(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
|
+
TABLE = "table"
|
|
32
|
+
VOLUME = "volume"
|
|
33
|
+
|
|
34
|
+
allowable_values = [TABLE, VOLUME] # noqa: E501
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
openapi_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
openapi_types = {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
50
|
+
"""DataCatalogObjectType - a model defined in OpenAPI""" # noqa: E501
|
|
51
|
+
if local_vars_configuration is None:
|
|
52
|
+
local_vars_configuration = Configuration()
|
|
53
|
+
self.local_vars_configuration = local_vars_configuration
|
|
54
|
+
self.discriminator = None
|
|
55
|
+
|
|
56
|
+
def to_dict(self):
|
|
57
|
+
"""Returns the model properties as a dict"""
|
|
58
|
+
result = {}
|
|
59
|
+
|
|
60
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
61
|
+
value = getattr(self, attr)
|
|
62
|
+
if isinstance(value, list):
|
|
63
|
+
result[attr] = list(map(
|
|
64
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
65
|
+
value
|
|
66
|
+
))
|
|
67
|
+
elif hasattr(value, "to_dict"):
|
|
68
|
+
result[attr] = value.to_dict()
|
|
69
|
+
elif isinstance(value, dict):
|
|
70
|
+
result[attr] = dict(map(
|
|
71
|
+
lambda item: (item[0], item[1].to_dict())
|
|
72
|
+
if hasattr(item[1], "to_dict") else item,
|
|
73
|
+
value.items()
|
|
74
|
+
))
|
|
75
|
+
else:
|
|
76
|
+
result[attr] = value
|
|
77
|
+
|
|
78
|
+
return result
|
|
79
|
+
|
|
80
|
+
def to_str(self):
|
|
81
|
+
"""Returns the string representation of the model"""
|
|
82
|
+
return pprint.pformat(self.to_dict())
|
|
83
|
+
|
|
84
|
+
def __repr__(self):
|
|
85
|
+
"""For `print` and `pprint`"""
|
|
86
|
+
return self.to_str()
|
|
87
|
+
|
|
88
|
+
def __eq__(self, other):
|
|
89
|
+
"""Returns true if both objects are equal"""
|
|
90
|
+
if not isinstance(other, DataCatalogObjectType):
|
|
91
|
+
return False
|
|
92
|
+
|
|
93
|
+
return self.to_dict() == other.to_dict()
|
|
94
|
+
|
|
95
|
+
def __ne__(self, other):
|
|
96
|
+
"""Returns true if both objects are not equal"""
|
|
97
|
+
if not isinstance(other, DataCatalogObjectType):
|
|
98
|
+
return True
|
|
99
|
+
|
|
100
|
+
return self.to_dict() != other.to_dict()
|