anyscale 0.24.88__py3-none-any.whl → 0.25.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/__init__.py +56 -0
- anyscale/_private/anyscale_client/anyscale_client.py +179 -28
- anyscale/_private/anyscale_client/common.py +109 -2
- anyscale/_private/anyscale_client/fake_anyscale_client.py +239 -1
- anyscale/_private/docgen/README.md +1 -1
- anyscale/_private/docgen/__main__.py +71 -21
- anyscale/_private/docgen/api.md +13 -20
- anyscale/_private/docgen/generator.py +3 -2
- anyscale/_private/docgen/models.md +4 -49
- anyscale/_private/workload/workload_config.py +21 -7
- anyscale/aggregated_instance_usage/__init__.py +1 -1
- anyscale/aggregated_instance_usage/commands.py +2 -4
- anyscale/aggregated_instance_usage/models.py +8 -8
- anyscale/client/README.md +25 -22
- anyscale/client/openapi_client/__init__.py +16 -14
- anyscale/client/openapi_client/api/default_api.py +1139 -959
- anyscale/client/openapi_client/models/__init__.py +16 -14
- anyscale/client/openapi_client/models/baseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/{session_event_types.py → cloud_deployment_config.py} +35 -24
- anyscale/client/openapi_client/models/{platformfinetuningjob_response.py → clouddeploymentconfig_response.py} +11 -11
- anyscale/client/openapi_client/models/{log_level_types.py → cluster_event_source.py} +12 -7
- anyscale/client/openapi_client/models/{company_size.py → cluster_size.py} +10 -10
- anyscale/client/openapi_client/models/cluster_status_details.py +2 -1
- anyscale/client/openapi_client/models/{sessionevent_list_response.py → clusterevent_list_response.py} +15 -15
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_notification_channel_record.py +29 -3
- anyscale/client/openapi_client/models/decorated_interactive_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_job.py +1 -57
- anyscale/client/openapi_client/models/decorated_job_submission.py +1 -29
- anyscale/client/openapi_client/models/decorated_production_job.py +1 -29
- anyscale/client/openapi_client/models/decorated_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_unified_job.py +1 -30
- anyscale/client/openapi_client/models/{resubmit_ft_job_request.py → describe_machine_pool_request.py} +21 -20
- anyscale/client/openapi_client/models/describe_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/describemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/ha_jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/internal_production_job.py +1 -29
- anyscale/client/openapi_client/models/jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/machine_allocation_state.py +3 -1
- anyscale/client/openapi_client/models/machine_state_info.py +326 -0
- anyscale/client/openapi_client/models/{fine_tuning_job_status.py → notification_channel_slack_config.py} +34 -16
- anyscale/client/openapi_client/models/organization_marketing_questions.py +80 -54
- anyscale/client/openapi_client/models/request_state_info.py +210 -0
- anyscale/client/openapi_client/models/{platformfinetuningjob_list_response.py → scheduler_info.py} +43 -38
- anyscale/client/openapi_client/models/serve_deployment_fast_api_docs_status.py +123 -0
- anyscale/client/openapi_client/models/serve_deployment_state.py +2 -1
- anyscale/client/openapi_client/models/servedeploymentfastapidocsstatus_response.py +121 -0
- anyscale/client/openapi_client/models/sessions_sort_field.py +1 -2
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/unified_job_sort_field.py +1 -2
- anyscale/client/openapi_client/models/update_cloud_collaborator.py +121 -0
- anyscale/client/openapi_client/models/usage_by_cluster.py +28 -1
- anyscale/client/openapi_client/models/usage_by_user.py +30 -3
- anyscale/client/openapi_client/models/workload_info.py +210 -0
- anyscale/cloud/__init__.py +83 -0
- anyscale/cloud/_private/cloud_sdk.py +25 -0
- anyscale/cloud/commands.py +45 -0
- anyscale/cloud/models.py +91 -0
- anyscale/cluster_compute.py +1 -1
- anyscale/commands/aggregated_instance_usage_commands.py +4 -4
- anyscale/commands/cloud_commands.py +87 -14
- anyscale/commands/command_examples.py +65 -0
- anyscale/commands/job_commands.py +15 -3
- anyscale/commands/machine_pool_commands.py +113 -1
- anyscale/commands/organization_invitation_commands.py +98 -0
- anyscale/commands/project_commands.py +52 -2
- anyscale/commands/resource_quota_commands.py +98 -11
- anyscale/commands/service_account_commands.py +65 -8
- anyscale/commands/service_commands.py +61 -1
- anyscale/commands/session_commands_hidden.py +5 -1
- anyscale/commands/user_commands.py +1 -1
- anyscale/commands/util.py +2 -2
- anyscale/commands/workspace_commands.py +1 -1
- anyscale/connect.py +1 -1
- anyscale/connect_utils/project.py +7 -4
- anyscale/controllers/cloud_controller.py +63 -30
- anyscale/controllers/cloud_functional_verification_controller.py +1 -1
- anyscale/controllers/cluster_controller.py +3 -11
- anyscale/controllers/compute_config_controller.py +1 -1
- anyscale/controllers/experimental_integrations_controller.py +1 -1
- anyscale/controllers/job_controller.py +8 -6
- anyscale/controllers/list_controller.py +2 -2
- anyscale/controllers/machine_pool_controller.py +12 -1
- anyscale/controllers/project_controller.py +4 -3
- anyscale/controllers/schedule_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -1
- anyscale/controllers/workspace_controller.py +1 -1
- anyscale/models/job_model.py +1 -1
- anyscale/organization_invitation/__init__.py +61 -0
- anyscale/organization_invitation/_private/organization_invitation_sdk.py +24 -0
- anyscale/organization_invitation/commands.py +84 -0
- anyscale/organization_invitation/models.py +45 -0
- anyscale/project/__init__.py +35 -0
- anyscale/project/_private/project_sdk.py +27 -0
- anyscale/project/commands.py +56 -0
- anyscale/project/models.py +91 -0
- anyscale/{project.py → project_utils.py} +3 -4
- anyscale/resource_quota/__init__.py +99 -0
- anyscale/resource_quota/_private/resource_quota_sdk.py +120 -0
- anyscale/resource_quota/commands.py +150 -0
- anyscale/resource_quota/models.py +303 -0
- anyscale/scripts.py +4 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -5
- anyscale/sdk/anyscale_client/api/default_api.py +119 -150
- anyscale/sdk/anyscale_client/models/__init__.py +0 -5
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +43 -1
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +2 -1
- anyscale/sdk/anyscale_client/models/jobs_sort_field.py +1 -2
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/sdk/anyscale_client/sdk.py +1 -1
- anyscale/service/__init__.py +21 -0
- anyscale/service/_private/service_sdk.py +13 -0
- anyscale/service/commands.py +35 -0
- anyscale/service_account/__init__.py +88 -0
- anyscale/service_account/_private/service_account_sdk.py +101 -0
- anyscale/service_account/commands.py +147 -0
- anyscale/service_account/models.py +66 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/shared_anyscale_utils/utils/id_gen.py +2 -0
- anyscale/user/__init__.py +1 -1
- anyscale/user/commands.py +1 -1
- anyscale/user/models.py +25 -15
- anyscale/util.py +23 -0
- anyscale/utils/cloud_utils.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace_utils.py +1 -1
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/METADATA +1 -5
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/RECORD +134 -119
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +0 -156
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +0 -353
- anyscale/client/openapi_client/models/finish_ft_job_request.py +0 -204
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +0 -577
- anyscale/client/openapi_client/models/session_event.py +0 -267
- anyscale/client/openapi_client/models/session_event_cause.py +0 -150
- anyscale/controllers/resource_quota_controller.py +0 -183
- anyscale/controllers/service_account_controller.py +0 -168
- anyscale/sdk/anyscale_client/models/log_level_types.py +0 -100
- anyscale/sdk/anyscale_client/models/session_event.py +0 -267
- anyscale/sdk/anyscale_client/models/session_event_cause.py +0 -150
- anyscale/sdk/anyscale_client/models/session_event_types.py +0 -111
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +0 -147
- anyscale/utils/imports/azure.py +0 -14
- /anyscale/{cloud.py → cloud_utils.py} +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/LICENSE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/NOTICE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/WHEEL +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/top_level.txt +0 -0
@@ -150,6 +150,120 @@ class DefaultApi(object):
|
|
150
150
|
_request_timeout=local_var_params.get('_request_timeout'),
|
151
151
|
collection_formats=collection_formats)
|
152
152
|
|
153
|
+
def archive_service(self, service_id, **kwargs): # noqa: E501
|
154
|
+
"""Archive Service # noqa: E501
|
155
|
+
|
156
|
+
Archives a Service. It is a no-op if already archived. # noqa: E501
|
157
|
+
This method makes a synchronous HTTP request by default. To make an
|
158
|
+
asynchronous HTTP request, please pass async_req=True
|
159
|
+
>>> thread = api.archive_service(service_id, async_req=True)
|
160
|
+
>>> result = thread.get()
|
161
|
+
|
162
|
+
:param async_req bool: execute request asynchronously
|
163
|
+
:param str service_id: (required)
|
164
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
165
|
+
be returned without reading/decoding response
|
166
|
+
data. Default is True.
|
167
|
+
:param _request_timeout: timeout setting for this request. If one
|
168
|
+
number provided, it will be total request
|
169
|
+
timeout. It can also be a pair (tuple) of
|
170
|
+
(connection, read) timeouts.
|
171
|
+
:return: None
|
172
|
+
If the method is called asynchronously,
|
173
|
+
returns the request thread.
|
174
|
+
"""
|
175
|
+
kwargs['_return_http_data_only'] = True
|
176
|
+
return self.archive_service_with_http_info(service_id, **kwargs) # noqa: E501
|
177
|
+
|
178
|
+
def archive_service_with_http_info(self, service_id, **kwargs): # noqa: E501
|
179
|
+
"""Archive Service # noqa: E501
|
180
|
+
|
181
|
+
Archives a Service. It is a no-op if already archived. # noqa: E501
|
182
|
+
This method makes a synchronous HTTP request by default. To make an
|
183
|
+
asynchronous HTTP request, please pass async_req=True
|
184
|
+
>>> thread = api.archive_service_with_http_info(service_id, async_req=True)
|
185
|
+
>>> result = thread.get()
|
186
|
+
|
187
|
+
:param async_req bool: execute request asynchronously
|
188
|
+
:param str service_id: (required)
|
189
|
+
:param _return_http_data_only: response data without head status code
|
190
|
+
and headers
|
191
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
192
|
+
be returned without reading/decoding response
|
193
|
+
data. Default is True.
|
194
|
+
:param _request_timeout: timeout setting for this request. If one
|
195
|
+
number provided, it will be total request
|
196
|
+
timeout. It can also be a pair (tuple) of
|
197
|
+
(connection, read) timeouts.
|
198
|
+
:return: None
|
199
|
+
If the method is called asynchronously,
|
200
|
+
returns the request thread.
|
201
|
+
"""
|
202
|
+
|
203
|
+
local_var_params = locals()
|
204
|
+
|
205
|
+
all_params = [
|
206
|
+
'service_id'
|
207
|
+
]
|
208
|
+
all_params.extend(
|
209
|
+
[
|
210
|
+
'async_req',
|
211
|
+
'_return_http_data_only',
|
212
|
+
'_preload_content',
|
213
|
+
'_request_timeout'
|
214
|
+
]
|
215
|
+
)
|
216
|
+
|
217
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
218
|
+
if key not in all_params:
|
219
|
+
raise ApiTypeError(
|
220
|
+
"Got an unexpected keyword argument '%s'"
|
221
|
+
" to method archive_service" % key
|
222
|
+
)
|
223
|
+
local_var_params[key] = val
|
224
|
+
del local_var_params['kwargs']
|
225
|
+
# verify the required parameter 'service_id' is set
|
226
|
+
if self.api_client.client_side_validation and ('service_id' not in local_var_params or # noqa: E501
|
227
|
+
local_var_params['service_id'] is None): # noqa: E501
|
228
|
+
raise ApiValueError("Missing the required parameter `service_id` when calling `archive_service`") # noqa: E501
|
229
|
+
|
230
|
+
collection_formats = {}
|
231
|
+
|
232
|
+
path_params = {}
|
233
|
+
if 'service_id' in local_var_params:
|
234
|
+
path_params['service_id'] = local_var_params['service_id'] # noqa: E501
|
235
|
+
|
236
|
+
query_params = []
|
237
|
+
|
238
|
+
header_params = {}
|
239
|
+
|
240
|
+
form_params = []
|
241
|
+
local_var_files = {}
|
242
|
+
|
243
|
+
body_params = None
|
244
|
+
# HTTP header `Accept`
|
245
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
246
|
+
['application/json']) # noqa: E501
|
247
|
+
|
248
|
+
# Authentication setting
|
249
|
+
auth_settings = [] # noqa: E501
|
250
|
+
|
251
|
+
return self.api_client.call_api(
|
252
|
+
'/services/{service_id}/archive', 'POST',
|
253
|
+
path_params,
|
254
|
+
query_params,
|
255
|
+
header_params,
|
256
|
+
body=body_params,
|
257
|
+
post_params=form_params,
|
258
|
+
files=local_var_files,
|
259
|
+
response_type=None, # noqa: E501
|
260
|
+
auth_settings=auth_settings,
|
261
|
+
async_req=local_var_params.get('async_req'),
|
262
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
263
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
264
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
265
|
+
collection_formats=collection_formats)
|
266
|
+
|
153
267
|
def create_app_config(self, create_app_config, **kwargs): # noqa: E501
|
154
268
|
"""Create App Config # noqa: E501
|
155
269
|
|
@@ -6140,156 +6254,6 @@ class DefaultApi(object):
|
|
6140
6254
|
_request_timeout=local_var_params.get('_request_timeout'),
|
6141
6255
|
collection_formats=collection_formats)
|
6142
6256
|
|
6143
|
-
def get_session_event_log(self, session_id, **kwargs): # noqa: E501
|
6144
|
-
"""Get Session Event Log # noqa: E501
|
6145
|
-
|
6146
|
-
Retrieves a session's event log. # noqa: E501
|
6147
|
-
This method makes a synchronous HTTP request by default. To make an
|
6148
|
-
asynchronous HTTP request, please pass async_req=True
|
6149
|
-
>>> thread = api.get_session_event_log(session_id, async_req=True)
|
6150
|
-
>>> result = thread.get()
|
6151
|
-
|
6152
|
-
:param async_req bool: execute request asynchronously
|
6153
|
-
:param str session_id: ID of the Session to retrieve event logs for. (required)
|
6154
|
-
:param datetime before: Filters events occurring before this datetime.
|
6155
|
-
:param datetime after: Filters events occurring after this datetime.
|
6156
|
-
:param list[SessionEventTypes] event_types: Filters events to these types.
|
6157
|
-
:param list[LogLevelTypes] log_level_types: Filters logs to these leves.
|
6158
|
-
:param str paging_token:
|
6159
|
-
:param int count:
|
6160
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6161
|
-
be returned without reading/decoding response
|
6162
|
-
data. Default is True.
|
6163
|
-
:param _request_timeout: timeout setting for this request. If one
|
6164
|
-
number provided, it will be total request
|
6165
|
-
timeout. It can also be a pair (tuple) of
|
6166
|
-
(connection, read) timeouts.
|
6167
|
-
:return: SessioneventListResponse
|
6168
|
-
If the method is called asynchronously,
|
6169
|
-
returns the request thread.
|
6170
|
-
"""
|
6171
|
-
kwargs['_return_http_data_only'] = True
|
6172
|
-
return self.get_session_event_log_with_http_info(session_id, **kwargs) # noqa: E501
|
6173
|
-
|
6174
|
-
def get_session_event_log_with_http_info(self, session_id, **kwargs): # noqa: E501
|
6175
|
-
"""Get Session Event Log # noqa: E501
|
6176
|
-
|
6177
|
-
Retrieves a session's event log. # noqa: E501
|
6178
|
-
This method makes a synchronous HTTP request by default. To make an
|
6179
|
-
asynchronous HTTP request, please pass async_req=True
|
6180
|
-
>>> thread = api.get_session_event_log_with_http_info(session_id, async_req=True)
|
6181
|
-
>>> result = thread.get()
|
6182
|
-
|
6183
|
-
:param async_req bool: execute request asynchronously
|
6184
|
-
:param str session_id: ID of the Session to retrieve event logs for. (required)
|
6185
|
-
:param datetime before: Filters events occurring before this datetime.
|
6186
|
-
:param datetime after: Filters events occurring after this datetime.
|
6187
|
-
:param list[SessionEventTypes] event_types: Filters events to these types.
|
6188
|
-
:param list[LogLevelTypes] log_level_types: Filters logs to these leves.
|
6189
|
-
:param str paging_token:
|
6190
|
-
:param int count:
|
6191
|
-
:param _return_http_data_only: response data without head status code
|
6192
|
-
and headers
|
6193
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6194
|
-
be returned without reading/decoding response
|
6195
|
-
data. Default is True.
|
6196
|
-
:param _request_timeout: timeout setting for this request. If one
|
6197
|
-
number provided, it will be total request
|
6198
|
-
timeout. It can also be a pair (tuple) of
|
6199
|
-
(connection, read) timeouts.
|
6200
|
-
:return: tuple(SessioneventListResponse, status_code(int), headers(HTTPHeaderDict))
|
6201
|
-
If the method is called asynchronously,
|
6202
|
-
returns the request thread.
|
6203
|
-
"""
|
6204
|
-
|
6205
|
-
local_var_params = locals()
|
6206
|
-
|
6207
|
-
all_params = [
|
6208
|
-
'session_id',
|
6209
|
-
'before',
|
6210
|
-
'after',
|
6211
|
-
'event_types',
|
6212
|
-
'log_level_types',
|
6213
|
-
'paging_token',
|
6214
|
-
'count'
|
6215
|
-
]
|
6216
|
-
all_params.extend(
|
6217
|
-
[
|
6218
|
-
'async_req',
|
6219
|
-
'_return_http_data_only',
|
6220
|
-
'_preload_content',
|
6221
|
-
'_request_timeout'
|
6222
|
-
]
|
6223
|
-
)
|
6224
|
-
|
6225
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
6226
|
-
if key not in all_params:
|
6227
|
-
raise ApiTypeError(
|
6228
|
-
"Got an unexpected keyword argument '%s'"
|
6229
|
-
" to method get_session_event_log" % key
|
6230
|
-
)
|
6231
|
-
local_var_params[key] = val
|
6232
|
-
del local_var_params['kwargs']
|
6233
|
-
# verify the required parameter 'session_id' is set
|
6234
|
-
if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
|
6235
|
-
local_var_params['session_id'] is None): # noqa: E501
|
6236
|
-
raise ApiValueError("Missing the required parameter `session_id` when calling `get_session_event_log`") # noqa: E501
|
6237
|
-
|
6238
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
|
6239
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_event_log`, must be a value less than or equal to `1000`") # noqa: E501
|
6240
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
6241
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `get_session_event_log`, must be a value greater than or equal to `0`") # noqa: E501
|
6242
|
-
collection_formats = {}
|
6243
|
-
|
6244
|
-
path_params = {}
|
6245
|
-
|
6246
|
-
query_params = []
|
6247
|
-
if 'session_id' in local_var_params and local_var_params['session_id'] is not None: # noqa: E501
|
6248
|
-
query_params.append(('session_id', local_var_params['session_id'])) # noqa: E501
|
6249
|
-
if 'before' in local_var_params and local_var_params['before'] is not None: # noqa: E501
|
6250
|
-
query_params.append(('before', local_var_params['before'])) # noqa: E501
|
6251
|
-
if 'after' in local_var_params and local_var_params['after'] is not None: # noqa: E501
|
6252
|
-
query_params.append(('after', local_var_params['after'])) # noqa: E501
|
6253
|
-
if 'event_types' in local_var_params and local_var_params['event_types'] is not None: # noqa: E501
|
6254
|
-
query_params.append(('event_types', local_var_params['event_types'])) # noqa: E501
|
6255
|
-
collection_formats['event_types'] = 'multi' # noqa: E501
|
6256
|
-
if 'log_level_types' in local_var_params and local_var_params['log_level_types'] is not None: # noqa: E501
|
6257
|
-
query_params.append(('log_level_types', local_var_params['log_level_types'])) # noqa: E501
|
6258
|
-
collection_formats['log_level_types'] = 'multi' # noqa: E501
|
6259
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
6260
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
6261
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
6262
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
6263
|
-
|
6264
|
-
header_params = {}
|
6265
|
-
|
6266
|
-
form_params = []
|
6267
|
-
local_var_files = {}
|
6268
|
-
|
6269
|
-
body_params = None
|
6270
|
-
# HTTP header `Accept`
|
6271
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
6272
|
-
['application/json']) # noqa: E501
|
6273
|
-
|
6274
|
-
# Authentication setting
|
6275
|
-
auth_settings = [] # noqa: E501
|
6276
|
-
|
6277
|
-
return self.api_client.call_api(
|
6278
|
-
'/session_events/', 'GET',
|
6279
|
-
path_params,
|
6280
|
-
query_params,
|
6281
|
-
header_params,
|
6282
|
-
body=body_params,
|
6283
|
-
post_params=form_params,
|
6284
|
-
files=local_var_files,
|
6285
|
-
response_type='SessioneventListResponse', # noqa: E501
|
6286
|
-
auth_settings=auth_settings,
|
6287
|
-
async_req=local_var_params.get('async_req'),
|
6288
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
6289
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
6290
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
6291
|
-
collection_formats=collection_formats)
|
6292
|
-
|
6293
6257
|
def get_session_for_job(self, production_job_id, **kwargs): # noqa: E501
|
6294
6258
|
"""Get Session For Job # noqa: E501
|
6295
6259
|
|
@@ -7416,6 +7380,7 @@ class DefaultApi(object):
|
|
7416
7380
|
:param str project_id: project_id to filter by
|
7417
7381
|
:param str name: name to filter by
|
7418
7382
|
:param list[ServiceEventCurrentState] state_filter: A list of Service states to filter by
|
7383
|
+
:param ArchiveStatus archive_status: The archive status to filter by. Defaults to unarchived.
|
7419
7384
|
:param str creator_id: creator_id to filter by
|
7420
7385
|
:param str cloud_id: cloud_id to filter by
|
7421
7386
|
:param ServiceSortField sort_field: If absent, the default sorting order is 1. status (active first).2. Last updated at (desc). 3. Name (asc).
|
@@ -7448,6 +7413,7 @@ class DefaultApi(object):
|
|
7448
7413
|
:param str project_id: project_id to filter by
|
7449
7414
|
:param str name: name to filter by
|
7450
7415
|
:param list[ServiceEventCurrentState] state_filter: A list of Service states to filter by
|
7416
|
+
:param ArchiveStatus archive_status: The archive status to filter by. Defaults to unarchived.
|
7451
7417
|
:param str creator_id: creator_id to filter by
|
7452
7418
|
:param str cloud_id: cloud_id to filter by
|
7453
7419
|
:param ServiceSortField sort_field: If absent, the default sorting order is 1. status (active first).2. Last updated at (desc). 3. Name (asc).
|
@@ -7474,6 +7440,7 @@ class DefaultApi(object):
|
|
7474
7440
|
'project_id',
|
7475
7441
|
'name',
|
7476
7442
|
'state_filter',
|
7443
|
+
'archive_status',
|
7477
7444
|
'creator_id',
|
7478
7445
|
'cloud_id',
|
7479
7446
|
'sort_field',
|
@@ -7515,6 +7482,8 @@ class DefaultApi(object):
|
|
7515
7482
|
if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
|
7516
7483
|
query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
|
7517
7484
|
collection_formats['state_filter'] = 'multi' # noqa: E501
|
7485
|
+
if 'archive_status' in local_var_params and local_var_params['archive_status'] is not None: # noqa: E501
|
7486
|
+
query_params.append(('archive_status', local_var_params['archive_status'])) # noqa: E501
|
7518
7487
|
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
7519
7488
|
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
7520
7489
|
if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
|
@@ -123,7 +123,6 @@ from anyscale_client.models.list_service_model import ListServiceModel
|
|
123
123
|
from anyscale_client.models.listservicemodel_list_response import ListservicemodelListResponse
|
124
124
|
from anyscale_client.models.log_download_result import LogDownloadResult
|
125
125
|
from anyscale_client.models.log_file_chunk import LogFileChunk
|
126
|
-
from anyscale_client.models.log_level_types import LogLevelTypes
|
127
126
|
from anyscale_client.models.log_stream import LogStream
|
128
127
|
from anyscale_client.models.logdownloadresult_response import LogdownloadresultResponse
|
129
128
|
from anyscale_client.models.logstream_response import LogstreamResponse
|
@@ -180,9 +179,6 @@ from anyscale_client.models.servicemodel_response import ServicemodelResponse
|
|
180
179
|
from anyscale_client.models.session import Session
|
181
180
|
from anyscale_client.models.session_command import SessionCommand
|
182
181
|
from anyscale_client.models.session_command_types import SessionCommandTypes
|
183
|
-
from anyscale_client.models.session_event import SessionEvent
|
184
|
-
from anyscale_client.models.session_event_cause import SessionEventCause
|
185
|
-
from anyscale_client.models.session_event_types import SessionEventTypes
|
186
182
|
from anyscale_client.models.session_list_response import SessionListResponse
|
187
183
|
from anyscale_client.models.session_operation import SessionOperation
|
188
184
|
from anyscale_client.models.session_operation_type import SessionOperationType
|
@@ -193,7 +189,6 @@ from anyscale_client.models.session_state_data import SessionStateData
|
|
193
189
|
from anyscale_client.models.session_stopping_data import SessionStoppingData
|
194
190
|
from anyscale_client.models.sessioncommand_list_response import SessioncommandListResponse
|
195
191
|
from anyscale_client.models.sessioncommand_response import SessioncommandResponse
|
196
|
-
from anyscale_client.models.sessionevent_list_response import SessioneventListResponse
|
197
192
|
from anyscale_client.models.sessionoperation_response import SessionoperationResponse
|
198
193
|
from anyscale_client.models.sessions_query import SessionsQuery
|
199
194
|
from anyscale_client.models.sort_by_clause_jobs_sort_field import SortByClauseJobsSortField
|