anyscale 0.26.8__py3-none-any.whl → 0.26.9__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.
Files changed (48) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +17 -1
  2. anyscale/_private/anyscale_client/common.py +12 -2
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +20 -3
  4. anyscale/_private/docgen/__main__.py +4 -0
  5. anyscale/_private/docgen/models.md +11 -2
  6. anyscale/client/README.md +6 -23
  7. anyscale/client/openapi_client/__init__.py +4 -15
  8. anyscale/client/openapi_client/api/default_api.py +410 -1091
  9. anyscale/client/openapi_client/models/__init__.py +4 -15
  10. anyscale/client/openapi_client/models/baseimagesenum.py +69 -1
  11. anyscale/client/openapi_client/models/{jobslogs_response.py → cluster_state.py} +21 -34
  12. anyscale/client/openapi_client/models/describe_system_workload_response.py +226 -0
  13. anyscale/client/openapi_client/models/{interactivesessionlogs_response.py → describesystemworkloadresponse_response.py} +11 -11
  14. anyscale/client/openapi_client/models/operator_metrics.py +54 -1
  15. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +69 -1
  16. anyscale/client/openapi_client/models/{job_submissions_sort_field.py → system_workload_name.py} +6 -8
  17. anyscale/commands/command_examples.py +4 -0
  18. anyscale/commands/service_commands.py +62 -27
  19. anyscale/job/_private/job_sdk.py +1 -3
  20. anyscale/sdk/anyscale_client/__init__.py +1 -0
  21. anyscale/sdk/anyscale_client/models/__init__.py +1 -0
  22. anyscale/sdk/anyscale_client/models/baseimagesenum.py +69 -1
  23. anyscale/sdk/anyscale_client/models/cluster.py +60 -3
  24. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +69 -1
  25. anyscale/{client/openapi_client/models/job_status.py → sdk/anyscale_client/models/system_workload_name.py} +8 -14
  26. anyscale/service/__init__.py +19 -0
  27. anyscale/service/_private/service_sdk.py +26 -2
  28. anyscale/service/commands.py +48 -9
  29. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  30. anyscale/version.py +1 -1
  31. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/METADATA +1 -1
  32. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/RECORD +37 -47
  33. anyscale/client/openapi_client/models/decorated_job_submission.py +0 -547
  34. anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +0 -147
  35. anyscale/client/openapi_client/models/decoratedjobsubmission_response.py +0 -121
  36. anyscale/client/openapi_client/models/interactive_session_logs.py +0 -152
  37. anyscale/client/openapi_client/models/jobs_logs.py +0 -152
  38. anyscale/client/openapi_client/models/jobs_logs_query_info.py +0 -181
  39. anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +0 -121
  40. anyscale/client/openapi_client/models/serve_deployment_logs.py +0 -152
  41. anyscale/client/openapi_client/models/servedeploymentlogs_response.py +0 -121
  42. anyscale/client/openapi_client/models/timestamped_logs_output.py +0 -148
  43. anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +0 -121
  44. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/LICENSE +0 -0
  45. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/NOTICE +0 -0
  46. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/WHEEL +0 -0
  47. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/entry_points.txt +0 -0
  48. {anyscale-0.26.8.dist-info → anyscale-0.26.9.dist-info}/top_level.txt +0 -0
@@ -9411,6 +9411,134 @@ class DefaultApi(object):
9411
9411
  _request_timeout=local_var_params.get('_request_timeout'),
9412
9412
  collection_formats=collection_formats)
9413
9413
 
9414
+ def describe_system_workload_api_v2_system_workload_cloud_id_describe_post(self, cloud_id, workload_name, **kwargs): # noqa: E501
9415
+ """Describe System Workload # noqa: E501
9416
+
9417
+ Get details of system workload cluster and optionally start cluster. # noqa: E501
9418
+ This method makes a synchronous HTTP request by default. To make an
9419
+ asynchronous HTTP request, please pass async_req=True
9420
+ >>> thread = api.describe_system_workload_api_v2_system_workload_cloud_id_describe_post(cloud_id, workload_name, async_req=True)
9421
+ >>> result = thread.get()
9422
+
9423
+ :param async_req bool: execute request asynchronously
9424
+ :param str cloud_id: (required)
9425
+ :param SystemWorkloadName workload_name: (required)
9426
+ :param bool start_cluster:
9427
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
9428
+ be returned without reading/decoding response
9429
+ data. Default is True.
9430
+ :param _request_timeout: timeout setting for this request. If one
9431
+ number provided, it will be total request
9432
+ timeout. It can also be a pair (tuple) of
9433
+ (connection, read) timeouts.
9434
+ :return: DescribesystemworkloadresponseResponse
9435
+ If the method is called asynchronously,
9436
+ returns the request thread.
9437
+ """
9438
+ kwargs['_return_http_data_only'] = True
9439
+ return self.describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(cloud_id, workload_name, **kwargs) # noqa: E501
9440
+
9441
+ def describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(self, cloud_id, workload_name, **kwargs): # noqa: E501
9442
+ """Describe System Workload # noqa: E501
9443
+
9444
+ Get details of system workload cluster and optionally start cluster. # noqa: E501
9445
+ This method makes a synchronous HTTP request by default. To make an
9446
+ asynchronous HTTP request, please pass async_req=True
9447
+ >>> thread = api.describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(cloud_id, workload_name, async_req=True)
9448
+ >>> result = thread.get()
9449
+
9450
+ :param async_req bool: execute request asynchronously
9451
+ :param str cloud_id: (required)
9452
+ :param SystemWorkloadName workload_name: (required)
9453
+ :param bool start_cluster:
9454
+ :param _return_http_data_only: response data without head status code
9455
+ and headers
9456
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
9457
+ be returned without reading/decoding response
9458
+ data. Default is True.
9459
+ :param _request_timeout: timeout setting for this request. If one
9460
+ number provided, it will be total request
9461
+ timeout. It can also be a pair (tuple) of
9462
+ (connection, read) timeouts.
9463
+ :return: tuple(DescribesystemworkloadresponseResponse, status_code(int), headers(HTTPHeaderDict))
9464
+ If the method is called asynchronously,
9465
+ returns the request thread.
9466
+ """
9467
+
9468
+ local_var_params = locals()
9469
+
9470
+ all_params = [
9471
+ 'cloud_id',
9472
+ 'workload_name',
9473
+ 'start_cluster'
9474
+ ]
9475
+ all_params.extend(
9476
+ [
9477
+ 'async_req',
9478
+ '_return_http_data_only',
9479
+ '_preload_content',
9480
+ '_request_timeout'
9481
+ ]
9482
+ )
9483
+
9484
+ for key, val in six.iteritems(local_var_params['kwargs']):
9485
+ if key not in all_params:
9486
+ raise ApiTypeError(
9487
+ "Got an unexpected keyword argument '%s'"
9488
+ " to method describe_system_workload_api_v2_system_workload_cloud_id_describe_post" % key
9489
+ )
9490
+ local_var_params[key] = val
9491
+ del local_var_params['kwargs']
9492
+ # verify the required parameter 'cloud_id' is set
9493
+ if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
9494
+ local_var_params['cloud_id'] is None): # noqa: E501
9495
+ raise ApiValueError("Missing the required parameter `cloud_id` when calling `describe_system_workload_api_v2_system_workload_cloud_id_describe_post`") # noqa: E501
9496
+ # verify the required parameter 'workload_name' is set
9497
+ if self.api_client.client_side_validation and ('workload_name' not in local_var_params or # noqa: E501
9498
+ local_var_params['workload_name'] is None): # noqa: E501
9499
+ raise ApiValueError("Missing the required parameter `workload_name` when calling `describe_system_workload_api_v2_system_workload_cloud_id_describe_post`") # noqa: E501
9500
+
9501
+ collection_formats = {}
9502
+
9503
+ path_params = {}
9504
+ if 'cloud_id' in local_var_params:
9505
+ path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
9506
+
9507
+ query_params = []
9508
+ if 'workload_name' in local_var_params and local_var_params['workload_name'] is not None: # noqa: E501
9509
+ query_params.append(('workload_name', local_var_params['workload_name'])) # noqa: E501
9510
+ if 'start_cluster' in local_var_params and local_var_params['start_cluster'] is not None: # noqa: E501
9511
+ query_params.append(('start_cluster', local_var_params['start_cluster'])) # noqa: E501
9512
+
9513
+ header_params = {}
9514
+
9515
+ form_params = []
9516
+ local_var_files = {}
9517
+
9518
+ body_params = None
9519
+ # HTTP header `Accept`
9520
+ header_params['Accept'] = self.api_client.select_header_accept(
9521
+ ['application/json']) # noqa: E501
9522
+
9523
+ # Authentication setting
9524
+ auth_settings = [] # noqa: E501
9525
+
9526
+ return self.api_client.call_api(
9527
+ '/api/v2/system_workload/{cloud_id}/describe', 'POST',
9528
+ path_params,
9529
+ query_params,
9530
+ header_params,
9531
+ body=body_params,
9532
+ post_params=form_params,
9533
+ files=local_var_files,
9534
+ response_type='DescribesystemworkloadresponseResponse', # noqa: E501
9535
+ auth_settings=auth_settings,
9536
+ async_req=local_var_params.get('async_req'),
9537
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
9538
+ _preload_content=local_var_params.get('_preload_content', True),
9539
+ _request_timeout=local_var_params.get('_request_timeout'),
9540
+ collection_formats=collection_formats)
9541
+
9414
9542
  def detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post(self, detach_machine_pool_from_cloud_request, **kwargs): # noqa: E501
9415
9543
  """Detach Machine Pool From Cloud # noqa: E501
9416
9544
 
@@ -14910,17 +15038,17 @@ class DefaultApi(object):
14910
15038
  _request_timeout=local_var_params.get('_request_timeout'),
14911
15039
  collection_formats=collection_formats)
14912
15040
 
14913
- def get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get(self, interactive_session_id, **kwargs): # noqa: E501
14914
- """Get Decorated Interactive Session Logs # noqa: E501
15041
+ def get_decorated_job_api_v2_decorated_jobs_job_id_get(self, job_id, **kwargs): # noqa: E501
15042
+ """Get Decorated Job # noqa: E501
14915
15043
 
14916
- Get a interactive session id logs by db id # noqa: E501
15044
+ Get one specific decorated job by it's db id # noqa: E501
14917
15045
  This method makes a synchronous HTTP request by default. To make an
14918
15046
  asynchronous HTTP request, please pass async_req=True
14919
- >>> thread = api.get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get(interactive_session_id, async_req=True)
15047
+ >>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get(job_id, async_req=True)
14920
15048
  >>> result = thread.get()
14921
15049
 
14922
15050
  :param async_req bool: execute request asynchronously
14923
- :param str interactive_session_id: (required)
15051
+ :param str job_id: (required)
14924
15052
  :param _preload_content: if False, the urllib3.HTTPResponse object will
14925
15053
  be returned without reading/decoding response
14926
15054
  data. Default is True.
@@ -14928,24 +15056,24 @@ class DefaultApi(object):
14928
15056
  number provided, it will be total request
14929
15057
  timeout. It can also be a pair (tuple) of
14930
15058
  (connection, read) timeouts.
14931
- :return: InteractivesessionlogsResponse
15059
+ :return: DecoratedjobResponse
14932
15060
  If the method is called asynchronously,
14933
15061
  returns the request thread.
14934
15062
  """
14935
15063
  kwargs['_return_http_data_only'] = True
14936
- return self.get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get_with_http_info(interactive_session_id, **kwargs) # noqa: E501
15064
+ return self.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
14937
15065
 
14938
- def get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get_with_http_info(self, interactive_session_id, **kwargs): # noqa: E501
14939
- """Get Decorated Interactive Session Logs # noqa: E501
15066
+ def get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
15067
+ """Get Decorated Job # noqa: E501
14940
15068
 
14941
- Get a interactive session id logs by db id # noqa: E501
15069
+ Get one specific decorated job by it's db id # noqa: E501
14942
15070
  This method makes a synchronous HTTP request by default. To make an
14943
15071
  asynchronous HTTP request, please pass async_req=True
14944
- >>> thread = api.get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get_with_http_info(interactive_session_id, async_req=True)
15072
+ >>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, async_req=True)
14945
15073
  >>> result = thread.get()
14946
15074
 
14947
15075
  :param async_req bool: execute request asynchronously
14948
- :param str interactive_session_id: (required)
15076
+ :param str job_id: (required)
14949
15077
  :param _return_http_data_only: response data without head status code
14950
15078
  and headers
14951
15079
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -14955,7 +15083,7 @@ class DefaultApi(object):
14955
15083
  number provided, it will be total request
14956
15084
  timeout. It can also be a pair (tuple) of
14957
15085
  (connection, read) timeouts.
14958
- :return: tuple(InteractivesessionlogsResponse, status_code(int), headers(HTTPHeaderDict))
15086
+ :return: tuple(DecoratedjobResponse, status_code(int), headers(HTTPHeaderDict))
14959
15087
  If the method is called asynchronously,
14960
15088
  returns the request thread.
14961
15089
  """
@@ -14963,7 +15091,7 @@ class DefaultApi(object):
14963
15091
  local_var_params = locals()
14964
15092
 
14965
15093
  all_params = [
14966
- 'interactive_session_id'
15094
+ 'job_id'
14967
15095
  ]
14968
15096
  all_params.extend(
14969
15097
  [
@@ -14978,20 +15106,20 @@ class DefaultApi(object):
14978
15106
  if key not in all_params:
14979
15107
  raise ApiTypeError(
14980
15108
  "Got an unexpected keyword argument '%s'"
14981
- " to method get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get" % key
15109
+ " to method get_decorated_job_api_v2_decorated_jobs_job_id_get" % key
14982
15110
  )
14983
15111
  local_var_params[key] = val
14984
15112
  del local_var_params['kwargs']
14985
- # verify the required parameter 'interactive_session_id' is set
14986
- if self.api_client.client_side_validation and ('interactive_session_id' not in local_var_params or # noqa: E501
14987
- local_var_params['interactive_session_id'] is None): # noqa: E501
14988
- raise ApiValueError("Missing the required parameter `interactive_session_id` when calling `get_decorated_interactive_session_logs_api_v2_decorated_interactive_sessions_interactive_session_id_logs_get`") # noqa: E501
15113
+ # verify the required parameter 'job_id' is set
15114
+ if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
15115
+ local_var_params['job_id'] is None): # noqa: E501
15116
+ raise ApiValueError("Missing the required parameter `job_id` when calling `get_decorated_job_api_v2_decorated_jobs_job_id_get`") # noqa: E501
14989
15117
 
14990
15118
  collection_formats = {}
14991
15119
 
14992
15120
  path_params = {}
14993
- if 'interactive_session_id' in local_var_params:
14994
- path_params['interactive_session_id'] = local_var_params['interactive_session_id'] # noqa: E501
15121
+ if 'job_id' in local_var_params:
15122
+ path_params['job_id'] = local_var_params['job_id'] # noqa: E501
14995
15123
 
14996
15124
  query_params = []
14997
15125
 
@@ -15009,14 +15137,14 @@ class DefaultApi(object):
15009
15137
  auth_settings = [] # noqa: E501
15010
15138
 
15011
15139
  return self.api_client.call_api(
15012
- '/api/v2/decorated_interactive_sessions/{interactive_session_id}/logs', 'GET',
15140
+ '/api/v2/decorated_jobs/{job_id}', 'GET',
15013
15141
  path_params,
15014
15142
  query_params,
15015
15143
  header_params,
15016
15144
  body=body_params,
15017
15145
  post_params=form_params,
15018
15146
  files=local_var_files,
15019
- response_type='InteractivesessionlogsResponse', # noqa: E501
15147
+ response_type='DecoratedjobResponse', # noqa: E501
15020
15148
  auth_settings=auth_settings,
15021
15149
  async_req=local_var_params.get('async_req'),
15022
15150
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -15024,17 +15152,17 @@ class DefaultApi(object):
15024
15152
  _request_timeout=local_var_params.get('_request_timeout'),
15025
15153
  collection_formats=collection_formats)
15026
15154
 
15027
- def get_decorated_job_api_v2_decorated_jobs_job_id_get(self, job_id, **kwargs): # noqa: E501
15028
- """Get Decorated Job # noqa: E501
15155
+ def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(self, runtime_env_id, **kwargs): # noqa: E501
15156
+ """Get Decorated Runtime Env # noqa: E501
15029
15157
 
15030
- Get one specific decorated job by it's db id # noqa: E501
15158
+ Get a single Runtime Environment by id # noqa: E501
15031
15159
  This method makes a synchronous HTTP request by default. To make an
15032
15160
  asynchronous HTTP request, please pass async_req=True
15033
- >>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get(job_id, async_req=True)
15161
+ >>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(runtime_env_id, async_req=True)
15034
15162
  >>> result = thread.get()
15035
15163
 
15036
15164
  :param async_req bool: execute request asynchronously
15037
- :param str job_id: (required)
15165
+ :param str runtime_env_id: (required)
15038
15166
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15039
15167
  be returned without reading/decoding response
15040
15168
  data. Default is True.
@@ -15042,24 +15170,24 @@ class DefaultApi(object):
15042
15170
  number provided, it will be total request
15043
15171
  timeout. It can also be a pair (tuple) of
15044
15172
  (connection, read) timeouts.
15045
- :return: DecoratedjobResponse
15173
+ :return: DecoratedruntimeenvResponse
15046
15174
  If the method is called asynchronously,
15047
15175
  returns the request thread.
15048
15176
  """
15049
15177
  kwargs['_return_http_data_only'] = True
15050
- return self.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
15178
+ return self.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, **kwargs) # noqa: E501
15051
15179
 
15052
- def get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
15053
- """Get Decorated Job # noqa: E501
15180
+ def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(self, runtime_env_id, **kwargs): # noqa: E501
15181
+ """Get Decorated Runtime Env # noqa: E501
15054
15182
 
15055
- Get one specific decorated job by it's db id # noqa: E501
15183
+ Get a single Runtime Environment by id # noqa: E501
15056
15184
  This method makes a synchronous HTTP request by default. To make an
15057
15185
  asynchronous HTTP request, please pass async_req=True
15058
- >>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, async_req=True)
15186
+ >>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, async_req=True)
15059
15187
  >>> result = thread.get()
15060
15188
 
15061
15189
  :param async_req bool: execute request asynchronously
15062
- :param str job_id: (required)
15190
+ :param str runtime_env_id: (required)
15063
15191
  :param _return_http_data_only: response data without head status code
15064
15192
  and headers
15065
15193
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -15069,7 +15197,7 @@ class DefaultApi(object):
15069
15197
  number provided, it will be total request
15070
15198
  timeout. It can also be a pair (tuple) of
15071
15199
  (connection, read) timeouts.
15072
- :return: tuple(DecoratedjobResponse, status_code(int), headers(HTTPHeaderDict))
15200
+ :return: tuple(DecoratedruntimeenvResponse, status_code(int), headers(HTTPHeaderDict))
15073
15201
  If the method is called asynchronously,
15074
15202
  returns the request thread.
15075
15203
  """
@@ -15077,7 +15205,7 @@ class DefaultApi(object):
15077
15205
  local_var_params = locals()
15078
15206
 
15079
15207
  all_params = [
15080
- 'job_id'
15208
+ 'runtime_env_id'
15081
15209
  ]
15082
15210
  all_params.extend(
15083
15211
  [
@@ -15092,20 +15220,20 @@ class DefaultApi(object):
15092
15220
  if key not in all_params:
15093
15221
  raise ApiTypeError(
15094
15222
  "Got an unexpected keyword argument '%s'"
15095
- " to method get_decorated_job_api_v2_decorated_jobs_job_id_get" % key
15223
+ " to method get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get" % key
15096
15224
  )
15097
15225
  local_var_params[key] = val
15098
15226
  del local_var_params['kwargs']
15099
- # verify the required parameter 'job_id' is set
15100
- if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
15101
- local_var_params['job_id'] is None): # noqa: E501
15102
- raise ApiValueError("Missing the required parameter `job_id` when calling `get_decorated_job_api_v2_decorated_jobs_job_id_get`") # noqa: E501
15227
+ # verify the required parameter 'runtime_env_id' is set
15228
+ if self.api_client.client_side_validation and ('runtime_env_id' not in local_var_params or # noqa: E501
15229
+ local_var_params['runtime_env_id'] is None): # noqa: E501
15230
+ raise ApiValueError("Missing the required parameter `runtime_env_id` when calling `get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get`") # noqa: E501
15103
15231
 
15104
15232
  collection_formats = {}
15105
15233
 
15106
15234
  path_params = {}
15107
- if 'job_id' in local_var_params:
15108
- path_params['job_id'] = local_var_params['job_id'] # noqa: E501
15235
+ if 'runtime_env_id' in local_var_params:
15236
+ path_params['runtime_env_id'] = local_var_params['runtime_env_id'] # noqa: E501
15109
15237
 
15110
15238
  query_params = []
15111
15239
 
@@ -15123,14 +15251,14 @@ class DefaultApi(object):
15123
15251
  auth_settings = [] # noqa: E501
15124
15252
 
15125
15253
  return self.api_client.call_api(
15126
- '/api/v2/decorated_jobs/{job_id}', 'GET',
15254
+ '/api/v2/decorated_runtime_envs/{runtime_env_id}', 'GET',
15127
15255
  path_params,
15128
15256
  query_params,
15129
15257
  header_params,
15130
15258
  body=body_params,
15131
15259
  post_params=form_params,
15132
15260
  files=local_var_files,
15133
- response_type='DecoratedjobResponse', # noqa: E501
15261
+ response_type='DecoratedruntimeenvResponse', # noqa: E501
15134
15262
  auth_settings=auth_settings,
15135
15263
  async_req=local_var_params.get('async_req'),
15136
15264
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -15138,17 +15266,17 @@ class DefaultApi(object):
15138
15266
  _request_timeout=local_var_params.get('_request_timeout'),
15139
15267
  collection_formats=collection_formats)
15140
15268
 
15141
- def get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get(self, job_id, **kwargs): # noqa: E501
15142
- """Get Decorated Job Logs # noqa: E501
15269
+ def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(self, serve_deloyment_id, **kwargs): # noqa: E501
15270
+ """Get Decorated Serve Deployment # noqa: E501
15143
15271
 
15144
- Get a jobs logs by db id # noqa: E501
15272
+ Get a decorated serve deployment # noqa: E501
15145
15273
  This method makes a synchronous HTTP request by default. To make an
15146
15274
  asynchronous HTTP request, please pass async_req=True
15147
- >>> thread = api.get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get(job_id, async_req=True)
15275
+ >>> thread = api.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(serve_deloyment_id, async_req=True)
15148
15276
  >>> result = thread.get()
15149
15277
 
15150
15278
  :param async_req bool: execute request asynchronously
15151
- :param str job_id: (required)
15279
+ :param str serve_deloyment_id: (required)
15152
15280
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15153
15281
  be returned without reading/decoding response
15154
15282
  data. Default is True.
@@ -15156,24 +15284,24 @@ class DefaultApi(object):
15156
15284
  number provided, it will be total request
15157
15285
  timeout. It can also be a pair (tuple) of
15158
15286
  (connection, read) timeouts.
15159
- :return: JobslogsResponse
15287
+ :return: DecoratedservedeploymentResponse
15160
15288
  If the method is called asynchronously,
15161
15289
  returns the request thread.
15162
15290
  """
15163
15291
  kwargs['_return_http_data_only'] = True
15164
- return self.get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get_with_http_info(job_id, **kwargs) # noqa: E501
15292
+ return self.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(serve_deloyment_id, **kwargs) # noqa: E501
15165
15293
 
15166
- def get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get_with_http_info(self, job_id, **kwargs): # noqa: E501
15167
- """Get Decorated Job Logs # noqa: E501
15294
+ def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(self, serve_deloyment_id, **kwargs): # noqa: E501
15295
+ """Get Decorated Serve Deployment # noqa: E501
15168
15296
 
15169
- Get a jobs logs by db id # noqa: E501
15297
+ Get a decorated serve deployment # noqa: E501
15170
15298
  This method makes a synchronous HTTP request by default. To make an
15171
15299
  asynchronous HTTP request, please pass async_req=True
15172
- >>> thread = api.get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get_with_http_info(job_id, async_req=True)
15300
+ >>> thread = api.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(serve_deloyment_id, async_req=True)
15173
15301
  >>> result = thread.get()
15174
15302
 
15175
15303
  :param async_req bool: execute request asynchronously
15176
- :param str job_id: (required)
15304
+ :param str serve_deloyment_id: (required)
15177
15305
  :param _return_http_data_only: response data without head status code
15178
15306
  and headers
15179
15307
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -15183,7 +15311,7 @@ class DefaultApi(object):
15183
15311
  number provided, it will be total request
15184
15312
  timeout. It can also be a pair (tuple) of
15185
15313
  (connection, read) timeouts.
15186
- :return: tuple(JobslogsResponse, status_code(int), headers(HTTPHeaderDict))
15314
+ :return: tuple(DecoratedservedeploymentResponse, status_code(int), headers(HTTPHeaderDict))
15187
15315
  If the method is called asynchronously,
15188
15316
  returns the request thread.
15189
15317
  """
@@ -15191,7 +15319,7 @@ class DefaultApi(object):
15191
15319
  local_var_params = locals()
15192
15320
 
15193
15321
  all_params = [
15194
- 'job_id'
15322
+ 'serve_deloyment_id'
15195
15323
  ]
15196
15324
  all_params.extend(
15197
15325
  [
@@ -15206,20 +15334,20 @@ class DefaultApi(object):
15206
15334
  if key not in all_params:
15207
15335
  raise ApiTypeError(
15208
15336
  "Got an unexpected keyword argument '%s'"
15209
- " to method get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get" % key
15337
+ " to method get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get" % key
15210
15338
  )
15211
15339
  local_var_params[key] = val
15212
15340
  del local_var_params['kwargs']
15213
- # verify the required parameter 'job_id' is set
15214
- if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
15215
- local_var_params['job_id'] is None): # noqa: E501
15216
- raise ApiValueError("Missing the required parameter `job_id` when calling `get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get`") # noqa: E501
15341
+ # verify the required parameter 'serve_deloyment_id' is set
15342
+ if self.api_client.client_side_validation and ('serve_deloyment_id' not in local_var_params or # noqa: E501
15343
+ local_var_params['serve_deloyment_id'] is None): # noqa: E501
15344
+ raise ApiValueError("Missing the required parameter `serve_deloyment_id` when calling `get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get`") # noqa: E501
15217
15345
 
15218
15346
  collection_formats = {}
15219
15347
 
15220
15348
  path_params = {}
15221
- if 'job_id' in local_var_params:
15222
- path_params['job_id'] = local_var_params['job_id'] # noqa: E501
15349
+ if 'serve_deloyment_id' in local_var_params:
15350
+ path_params['serve_deloyment_id'] = local_var_params['serve_deloyment_id'] # noqa: E501
15223
15351
 
15224
15352
  query_params = []
15225
15353
 
@@ -15237,14 +15365,14 @@ class DefaultApi(object):
15237
15365
  auth_settings = [] # noqa: E501
15238
15366
 
15239
15367
  return self.api_client.call_api(
15240
- '/api/v2/decorated_jobs/{job_id}/logs', 'GET',
15368
+ '/api/v2/decorated_serve_deployments/{serve_deloyment_id}', 'GET',
15241
15369
  path_params,
15242
15370
  query_params,
15243
15371
  header_params,
15244
15372
  body=body_params,
15245
15373
  post_params=form_params,
15246
15374
  files=local_var_files,
15247
- response_type='JobslogsResponse', # noqa: E501
15375
+ response_type='DecoratedservedeploymentResponse', # noqa: E501
15248
15376
  auth_settings=auth_settings,
15249
15377
  async_req=local_var_params.get('async_req'),
15250
15378
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -15252,17 +15380,17 @@ class DefaultApi(object):
15252
15380
  _request_timeout=local_var_params.get('_request_timeout'),
15253
15381
  collection_formats=collection_formats)
15254
15382
 
15255
- def get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get(self, ray_job_submission_db_id, **kwargs): # noqa: E501
15256
- """Get Decorated Job Submission # noqa: E501
15383
+ def get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get(self, serve_deployment_id, **kwargs): # noqa: E501
15384
+ """Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
15257
15385
 
15258
- Get the job submission based on its db id. Returns ------- Response[DecoratedJobSubmission] selected DecoratedJobSubmission based on the passed in db id Raises ------ HTTPException(status_code=400) if the provided job submision db id does not exist # noqa: E501
15386
+ Check if the fast api docs url is healthy # noqa: E501
15259
15387
  This method makes a synchronous HTTP request by default. To make an
15260
15388
  asynchronous HTTP request, please pass async_req=True
15261
- >>> thread = api.get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get(ray_job_submission_db_id, async_req=True)
15389
+ >>> thread = api.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get(serve_deployment_id, async_req=True)
15262
15390
  >>> result = thread.get()
15263
15391
 
15264
15392
  :param async_req bool: execute request asynchronously
15265
- :param str ray_job_submission_db_id: (required)
15393
+ :param str serve_deployment_id: (required)
15266
15394
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15267
15395
  be returned without reading/decoding response
15268
15396
  data. Default is True.
@@ -15270,24 +15398,24 @@ class DefaultApi(object):
15270
15398
  number provided, it will be total request
15271
15399
  timeout. It can also be a pair (tuple) of
15272
15400
  (connection, read) timeouts.
15273
- :return: DecoratedjobsubmissionResponse
15401
+ :return: ServedeploymentfastapidocsstatusResponse
15274
15402
  If the method is called asynchronously,
15275
15403
  returns the request thread.
15276
15404
  """
15277
15405
  kwargs['_return_http_data_only'] = True
15278
- return self.get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get_with_http_info(ray_job_submission_db_id, **kwargs) # noqa: E501
15406
+ return self.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(serve_deployment_id, **kwargs) # noqa: E501
15279
15407
 
15280
- def get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get_with_http_info(self, ray_job_submission_db_id, **kwargs): # noqa: E501
15281
- """Get Decorated Job Submission # noqa: E501
15408
+ def get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(self, serve_deployment_id, **kwargs): # noqa: E501
15409
+ """Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
15282
15410
 
15283
- Get the job submission based on its db id. Returns ------- Response[DecoratedJobSubmission] selected DecoratedJobSubmission based on the passed in db id Raises ------ HTTPException(status_code=400) if the provided job submision db id does not exist # noqa: E501
15411
+ Check if the fast api docs url is healthy # noqa: E501
15284
15412
  This method makes a synchronous HTTP request by default. To make an
15285
15413
  asynchronous HTTP request, please pass async_req=True
15286
- >>> thread = api.get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get_with_http_info(ray_job_submission_db_id, async_req=True)
15414
+ >>> thread = api.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(serve_deployment_id, async_req=True)
15287
15415
  >>> result = thread.get()
15288
15416
 
15289
15417
  :param async_req bool: execute request asynchronously
15290
- :param str ray_job_submission_db_id: (required)
15418
+ :param str serve_deployment_id: (required)
15291
15419
  :param _return_http_data_only: response data without head status code
15292
15420
  and headers
15293
15421
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -15297,7 +15425,7 @@ class DefaultApi(object):
15297
15425
  number provided, it will be total request
15298
15426
  timeout. It can also be a pair (tuple) of
15299
15427
  (connection, read) timeouts.
15300
- :return: tuple(DecoratedjobsubmissionResponse, status_code(int), headers(HTTPHeaderDict))
15428
+ :return: tuple(ServedeploymentfastapidocsstatusResponse, status_code(int), headers(HTTPHeaderDict))
15301
15429
  If the method is called asynchronously,
15302
15430
  returns the request thread.
15303
15431
  """
@@ -15305,7 +15433,7 @@ class DefaultApi(object):
15305
15433
  local_var_params = locals()
15306
15434
 
15307
15435
  all_params = [
15308
- 'ray_job_submission_db_id'
15436
+ 'serve_deployment_id'
15309
15437
  ]
15310
15438
  all_params.extend(
15311
15439
  [
@@ -15320,20 +15448,20 @@ class DefaultApi(object):
15320
15448
  if key not in all_params:
15321
15449
  raise ApiTypeError(
15322
15450
  "Got an unexpected keyword argument '%s'"
15323
- " to method get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get" % key
15451
+ " to method get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get" % key
15324
15452
  )
15325
15453
  local_var_params[key] = val
15326
15454
  del local_var_params['kwargs']
15327
- # verify the required parameter 'ray_job_submission_db_id' is set
15328
- if self.api_client.client_side_validation and ('ray_job_submission_db_id' not in local_var_params or # noqa: E501
15329
- local_var_params['ray_job_submission_db_id'] is None): # noqa: E501
15330
- raise ApiValueError("Missing the required parameter `ray_job_submission_db_id` when calling `get_decorated_job_submission_api_v2_decorated_job_submissions_ray_job_submission_db_id_get`") # noqa: E501
15455
+ # verify the required parameter 'serve_deployment_id' is set
15456
+ if self.api_client.client_side_validation and ('serve_deployment_id' not in local_var_params or # noqa: E501
15457
+ local_var_params['serve_deployment_id'] is None): # noqa: E501
15458
+ raise ApiValueError("Missing the required parameter `serve_deployment_id` when calling `get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get`") # noqa: E501
15331
15459
 
15332
15460
  collection_formats = {}
15333
15461
 
15334
15462
  path_params = {}
15335
- if 'ray_job_submission_db_id' in local_var_params:
15336
- path_params['ray_job_submission_db_id'] = local_var_params['ray_job_submission_db_id'] # noqa: E501
15463
+ if 'serve_deployment_id' in local_var_params:
15464
+ path_params['serve_deployment_id'] = local_var_params['serve_deployment_id'] # noqa: E501
15337
15465
 
15338
15466
  query_params = []
15339
15467
 
@@ -15351,14 +15479,14 @@ class DefaultApi(object):
15351
15479
  auth_settings = [] # noqa: E501
15352
15480
 
15353
15481
  return self.api_client.call_api(
15354
- '/api/v2/decorated_job_submissions/{ray_job_submission_db_id}', 'GET',
15482
+ '/api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status', 'GET',
15355
15483
  path_params,
15356
15484
  query_params,
15357
15485
  header_params,
15358
15486
  body=body_params,
15359
15487
  post_params=form_params,
15360
15488
  files=local_var_files,
15361
- response_type='DecoratedjobsubmissionResponse', # noqa: E501
15489
+ response_type='ServedeploymentfastapidocsstatusResponse', # noqa: E501
15362
15490
  auth_settings=auth_settings,
15363
15491
  async_req=local_var_params.get('async_req'),
15364
15492
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -15366,17 +15494,15 @@ class DefaultApi(object):
15366
15494
  _request_timeout=local_var_params.get('_request_timeout'),
15367
15495
  collection_formats=collection_formats)
15368
15496
 
15369
- def get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get(self, ray_job_submission_db_id, **kwargs): # noqa: E501
15370
- """Get Decorated Job Submission Logs # noqa: E501
15497
+ def get_decorated_support_request_for_user_organization_api_v2_support_requests_get(self, **kwargs): # noqa: E501
15498
+ """Get Decorated Support Request For User Organization # noqa: E501
15371
15499
 
15372
- Get a job submission logs by ray_job_submission_db_id # noqa: E501
15373
15500
  This method makes a synchronous HTTP request by default. To make an
15374
15501
  asynchronous HTTP request, please pass async_req=True
15375
- >>> thread = api.get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get(ray_job_submission_db_id, async_req=True)
15502
+ >>> thread = api.get_decorated_support_request_for_user_organization_api_v2_support_requests_get(async_req=True)
15376
15503
  >>> result = thread.get()
15377
15504
 
15378
15505
  :param async_req bool: execute request asynchronously
15379
- :param str ray_job_submission_db_id: (required)
15380
15506
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15381
15507
  be returned without reading/decoding response
15382
15508
  data. Default is True.
@@ -15384,24 +15510,22 @@ class DefaultApi(object):
15384
15510
  number provided, it will be total request
15385
15511
  timeout. It can also be a pair (tuple) of
15386
15512
  (connection, read) timeouts.
15387
- :return: InteractivesessionlogsResponse
15513
+ :return: DecoratedsupportrequestResponse
15388
15514
  If the method is called asynchronously,
15389
15515
  returns the request thread.
15390
15516
  """
15391
15517
  kwargs['_return_http_data_only'] = True
15392
- return self.get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get_with_http_info(ray_job_submission_db_id, **kwargs) # noqa: E501
15518
+ return self.get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(**kwargs) # noqa: E501
15393
15519
 
15394
- def get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get_with_http_info(self, ray_job_submission_db_id, **kwargs): # noqa: E501
15395
- """Get Decorated Job Submission Logs # noqa: E501
15520
+ def get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(self, **kwargs): # noqa: E501
15521
+ """Get Decorated Support Request For User Organization # noqa: E501
15396
15522
 
15397
- Get a job submission logs by ray_job_submission_db_id # noqa: E501
15398
15523
  This method makes a synchronous HTTP request by default. To make an
15399
15524
  asynchronous HTTP request, please pass async_req=True
15400
- >>> thread = api.get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get_with_http_info(ray_job_submission_db_id, async_req=True)
15525
+ >>> thread = api.get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(async_req=True)
15401
15526
  >>> result = thread.get()
15402
15527
 
15403
15528
  :param async_req bool: execute request asynchronously
15404
- :param str ray_job_submission_db_id: (required)
15405
15529
  :param _return_http_data_only: response data without head status code
15406
15530
  and headers
15407
15531
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -15411,7 +15535,7 @@ class DefaultApi(object):
15411
15535
  number provided, it will be total request
15412
15536
  timeout. It can also be a pair (tuple) of
15413
15537
  (connection, read) timeouts.
15414
- :return: tuple(InteractivesessionlogsResponse, status_code(int), headers(HTTPHeaderDict))
15538
+ :return: tuple(DecoratedsupportrequestResponse, status_code(int), headers(HTTPHeaderDict))
15415
15539
  If the method is called asynchronously,
15416
15540
  returns the request thread.
15417
15541
  """
@@ -15419,7 +15543,6 @@ class DefaultApi(object):
15419
15543
  local_var_params = locals()
15420
15544
 
15421
15545
  all_params = [
15422
- 'ray_job_submission_db_id'
15423
15546
  ]
15424
15547
  all_params.extend(
15425
15548
  [
@@ -15434,20 +15557,14 @@ class DefaultApi(object):
15434
15557
  if key not in all_params:
15435
15558
  raise ApiTypeError(
15436
15559
  "Got an unexpected keyword argument '%s'"
15437
- " to method get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get" % key
15560
+ " to method get_decorated_support_request_for_user_organization_api_v2_support_requests_get" % key
15438
15561
  )
15439
15562
  local_var_params[key] = val
15440
15563
  del local_var_params['kwargs']
15441
- # verify the required parameter 'ray_job_submission_db_id' is set
15442
- if self.api_client.client_side_validation and ('ray_job_submission_db_id' not in local_var_params or # noqa: E501
15443
- local_var_params['ray_job_submission_db_id'] is None): # noqa: E501
15444
- raise ApiValueError("Missing the required parameter `ray_job_submission_db_id` when calling `get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get`") # noqa: E501
15445
15564
 
15446
15565
  collection_formats = {}
15447
15566
 
15448
15567
  path_params = {}
15449
- if 'ray_job_submission_db_id' in local_var_params:
15450
- path_params['ray_job_submission_db_id'] = local_var_params['ray_job_submission_db_id'] # noqa: E501
15451
15568
 
15452
15569
  query_params = []
15453
15570
 
@@ -15465,14 +15582,14 @@ class DefaultApi(object):
15465
15582
  auth_settings = [] # noqa: E501
15466
15583
 
15467
15584
  return self.api_client.call_api(
15468
- '/api/v2/decorated_job_submissions/{ray_job_submission_db_id}/logs', 'GET',
15585
+ '/api/v2/support_requests/', 'GET',
15469
15586
  path_params,
15470
15587
  query_params,
15471
15588
  header_params,
15472
15589
  body=body_params,
15473
15590
  post_params=form_params,
15474
15591
  files=local_var_files,
15475
- response_type='InteractivesessionlogsResponse', # noqa: E501
15592
+ response_type='DecoratedsupportrequestResponse', # noqa: E501
15476
15593
  auth_settings=auth_settings,
15477
15594
  async_req=local_var_params.get('async_req'),
15478
15595
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -15480,17 +15597,18 @@ class DefaultApi(object):
15480
15597
  _request_timeout=local_var_params.get('_request_timeout'),
15481
15598
  collection_formats=collection_formats)
15482
15599
 
15483
- def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(self, runtime_env_id, **kwargs): # noqa: E501
15484
- """Get Decorated Runtime Env # noqa: E501
15600
+ def get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get(self, py_version, ray_version, **kwargs): # noqa: E501
15601
+ """Get Default Cluster Env Build # noqa: E501
15485
15602
 
15486
- Get a single Runtime Environment by id # noqa: E501
15603
+ Retrieves default build. # noqa: E501
15487
15604
  This method makes a synchronous HTTP request by default. To make an
15488
15605
  asynchronous HTTP request, please pass async_req=True
15489
- >>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(runtime_env_id, async_req=True)
15606
+ >>> thread = api.get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get(py_version, ray_version, async_req=True)
15490
15607
  >>> result = thread.get()
15491
15608
 
15492
15609
  :param async_req bool: execute request asynchronously
15493
- :param str runtime_env_id: (required)
15610
+ :param str py_version: (required)
15611
+ :param str ray_version: (required)
15494
15612
  :param _preload_content: if False, the urllib3.HTTPResponse object will
15495
15613
  be returned without reading/decoding response
15496
15614
  data. Default is True.
@@ -15498,577 +15616,7 @@ class DefaultApi(object):
15498
15616
  number provided, it will be total request
15499
15617
  timeout. It can also be a pair (tuple) of
15500
15618
  (connection, read) timeouts.
15501
- :return: DecoratedruntimeenvResponse
15502
- If the method is called asynchronously,
15503
- returns the request thread.
15504
- """
15505
- kwargs['_return_http_data_only'] = True
15506
- return self.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, **kwargs) # noqa: E501
15507
-
15508
- def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(self, runtime_env_id, **kwargs): # noqa: E501
15509
- """Get Decorated Runtime Env # noqa: E501
15510
-
15511
- Get a single Runtime Environment by id # noqa: E501
15512
- This method makes a synchronous HTTP request by default. To make an
15513
- asynchronous HTTP request, please pass async_req=True
15514
- >>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(runtime_env_id, async_req=True)
15515
- >>> result = thread.get()
15516
-
15517
- :param async_req bool: execute request asynchronously
15518
- :param str runtime_env_id: (required)
15519
- :param _return_http_data_only: response data without head status code
15520
- and headers
15521
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15522
- be returned without reading/decoding response
15523
- data. Default is True.
15524
- :param _request_timeout: timeout setting for this request. If one
15525
- number provided, it will be total request
15526
- timeout. It can also be a pair (tuple) of
15527
- (connection, read) timeouts.
15528
- :return: tuple(DecoratedruntimeenvResponse, status_code(int), headers(HTTPHeaderDict))
15529
- If the method is called asynchronously,
15530
- returns the request thread.
15531
- """
15532
-
15533
- local_var_params = locals()
15534
-
15535
- all_params = [
15536
- 'runtime_env_id'
15537
- ]
15538
- all_params.extend(
15539
- [
15540
- 'async_req',
15541
- '_return_http_data_only',
15542
- '_preload_content',
15543
- '_request_timeout'
15544
- ]
15545
- )
15546
-
15547
- for key, val in six.iteritems(local_var_params['kwargs']):
15548
- if key not in all_params:
15549
- raise ApiTypeError(
15550
- "Got an unexpected keyword argument '%s'"
15551
- " to method get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get" % key
15552
- )
15553
- local_var_params[key] = val
15554
- del local_var_params['kwargs']
15555
- # verify the required parameter 'runtime_env_id' is set
15556
- if self.api_client.client_side_validation and ('runtime_env_id' not in local_var_params or # noqa: E501
15557
- local_var_params['runtime_env_id'] is None): # noqa: E501
15558
- raise ApiValueError("Missing the required parameter `runtime_env_id` when calling `get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get`") # noqa: E501
15559
-
15560
- collection_formats = {}
15561
-
15562
- path_params = {}
15563
- if 'runtime_env_id' in local_var_params:
15564
- path_params['runtime_env_id'] = local_var_params['runtime_env_id'] # noqa: E501
15565
-
15566
- query_params = []
15567
-
15568
- header_params = {}
15569
-
15570
- form_params = []
15571
- local_var_files = {}
15572
-
15573
- body_params = None
15574
- # HTTP header `Accept`
15575
- header_params['Accept'] = self.api_client.select_header_accept(
15576
- ['application/json']) # noqa: E501
15577
-
15578
- # Authentication setting
15579
- auth_settings = [] # noqa: E501
15580
-
15581
- return self.api_client.call_api(
15582
- '/api/v2/decorated_runtime_envs/{runtime_env_id}', 'GET',
15583
- path_params,
15584
- query_params,
15585
- header_params,
15586
- body=body_params,
15587
- post_params=form_params,
15588
- files=local_var_files,
15589
- response_type='DecoratedruntimeenvResponse', # noqa: E501
15590
- auth_settings=auth_settings,
15591
- async_req=local_var_params.get('async_req'),
15592
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
15593
- _preload_content=local_var_params.get('_preload_content', True),
15594
- _request_timeout=local_var_params.get('_request_timeout'),
15595
- collection_formats=collection_formats)
15596
-
15597
- def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(self, serve_deloyment_id, **kwargs): # noqa: E501
15598
- """Get Decorated Serve Deployment # noqa: E501
15599
-
15600
- Get a decorated serve deployment # noqa: E501
15601
- This method makes a synchronous HTTP request by default. To make an
15602
- asynchronous HTTP request, please pass async_req=True
15603
- >>> thread = api.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(serve_deloyment_id, async_req=True)
15604
- >>> result = thread.get()
15605
-
15606
- :param async_req bool: execute request asynchronously
15607
- :param str serve_deloyment_id: (required)
15608
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15609
- be returned without reading/decoding response
15610
- data. Default is True.
15611
- :param _request_timeout: timeout setting for this request. If one
15612
- number provided, it will be total request
15613
- timeout. It can also be a pair (tuple) of
15614
- (connection, read) timeouts.
15615
- :return: DecoratedservedeploymentResponse
15616
- If the method is called asynchronously,
15617
- returns the request thread.
15618
- """
15619
- kwargs['_return_http_data_only'] = True
15620
- return self.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(serve_deloyment_id, **kwargs) # noqa: E501
15621
-
15622
- def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(self, serve_deloyment_id, **kwargs): # noqa: E501
15623
- """Get Decorated Serve Deployment # noqa: E501
15624
-
15625
- Get a decorated serve deployment # noqa: E501
15626
- This method makes a synchronous HTTP request by default. To make an
15627
- asynchronous HTTP request, please pass async_req=True
15628
- >>> thread = api.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(serve_deloyment_id, async_req=True)
15629
- >>> result = thread.get()
15630
-
15631
- :param async_req bool: execute request asynchronously
15632
- :param str serve_deloyment_id: (required)
15633
- :param _return_http_data_only: response data without head status code
15634
- and headers
15635
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15636
- be returned without reading/decoding response
15637
- data. Default is True.
15638
- :param _request_timeout: timeout setting for this request. If one
15639
- number provided, it will be total request
15640
- timeout. It can also be a pair (tuple) of
15641
- (connection, read) timeouts.
15642
- :return: tuple(DecoratedservedeploymentResponse, status_code(int), headers(HTTPHeaderDict))
15643
- If the method is called asynchronously,
15644
- returns the request thread.
15645
- """
15646
-
15647
- local_var_params = locals()
15648
-
15649
- all_params = [
15650
- 'serve_deloyment_id'
15651
- ]
15652
- all_params.extend(
15653
- [
15654
- 'async_req',
15655
- '_return_http_data_only',
15656
- '_preload_content',
15657
- '_request_timeout'
15658
- ]
15659
- )
15660
-
15661
- for key, val in six.iteritems(local_var_params['kwargs']):
15662
- if key not in all_params:
15663
- raise ApiTypeError(
15664
- "Got an unexpected keyword argument '%s'"
15665
- " to method get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get" % key
15666
- )
15667
- local_var_params[key] = val
15668
- del local_var_params['kwargs']
15669
- # verify the required parameter 'serve_deloyment_id' is set
15670
- if self.api_client.client_side_validation and ('serve_deloyment_id' not in local_var_params or # noqa: E501
15671
- local_var_params['serve_deloyment_id'] is None): # noqa: E501
15672
- raise ApiValueError("Missing the required parameter `serve_deloyment_id` when calling `get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get`") # noqa: E501
15673
-
15674
- collection_formats = {}
15675
-
15676
- path_params = {}
15677
- if 'serve_deloyment_id' in local_var_params:
15678
- path_params['serve_deloyment_id'] = local_var_params['serve_deloyment_id'] # noqa: E501
15679
-
15680
- query_params = []
15681
-
15682
- header_params = {}
15683
-
15684
- form_params = []
15685
- local_var_files = {}
15686
-
15687
- body_params = None
15688
- # HTTP header `Accept`
15689
- header_params['Accept'] = self.api_client.select_header_accept(
15690
- ['application/json']) # noqa: E501
15691
-
15692
- # Authentication setting
15693
- auth_settings = [] # noqa: E501
15694
-
15695
- return self.api_client.call_api(
15696
- '/api/v2/decorated_serve_deployments/{serve_deloyment_id}', 'GET',
15697
- path_params,
15698
- query_params,
15699
- header_params,
15700
- body=body_params,
15701
- post_params=form_params,
15702
- files=local_var_files,
15703
- response_type='DecoratedservedeploymentResponse', # noqa: E501
15704
- auth_settings=auth_settings,
15705
- async_req=local_var_params.get('async_req'),
15706
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
15707
- _preload_content=local_var_params.get('_preload_content', True),
15708
- _request_timeout=local_var_params.get('_request_timeout'),
15709
- collection_formats=collection_formats)
15710
-
15711
- def get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get(self, serve_deployment_id, **kwargs): # noqa: E501
15712
- """Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
15713
-
15714
- Check if the fast api docs url is healthy # noqa: E501
15715
- This method makes a synchronous HTTP request by default. To make an
15716
- asynchronous HTTP request, please pass async_req=True
15717
- >>> thread = api.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get(serve_deployment_id, async_req=True)
15718
- >>> result = thread.get()
15719
-
15720
- :param async_req bool: execute request asynchronously
15721
- :param str serve_deployment_id: (required)
15722
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15723
- be returned without reading/decoding response
15724
- data. Default is True.
15725
- :param _request_timeout: timeout setting for this request. If one
15726
- number provided, it will be total request
15727
- timeout. It can also be a pair (tuple) of
15728
- (connection, read) timeouts.
15729
- :return: ServedeploymentfastapidocsstatusResponse
15730
- If the method is called asynchronously,
15731
- returns the request thread.
15732
- """
15733
- kwargs['_return_http_data_only'] = True
15734
- return self.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(serve_deployment_id, **kwargs) # noqa: E501
15735
-
15736
- def get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(self, serve_deployment_id, **kwargs): # noqa: E501
15737
- """Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
15738
-
15739
- Check if the fast api docs url is healthy # noqa: E501
15740
- This method makes a synchronous HTTP request by default. To make an
15741
- asynchronous HTTP request, please pass async_req=True
15742
- >>> thread = api.get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get_with_http_info(serve_deployment_id, async_req=True)
15743
- >>> result = thread.get()
15744
-
15745
- :param async_req bool: execute request asynchronously
15746
- :param str serve_deployment_id: (required)
15747
- :param _return_http_data_only: response data without head status code
15748
- and headers
15749
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15750
- be returned without reading/decoding response
15751
- data. Default is True.
15752
- :param _request_timeout: timeout setting for this request. If one
15753
- number provided, it will be total request
15754
- timeout. It can also be a pair (tuple) of
15755
- (connection, read) timeouts.
15756
- :return: tuple(ServedeploymentfastapidocsstatusResponse, status_code(int), headers(HTTPHeaderDict))
15757
- If the method is called asynchronously,
15758
- returns the request thread.
15759
- """
15760
-
15761
- local_var_params = locals()
15762
-
15763
- all_params = [
15764
- 'serve_deployment_id'
15765
- ]
15766
- all_params.extend(
15767
- [
15768
- 'async_req',
15769
- '_return_http_data_only',
15770
- '_preload_content',
15771
- '_request_timeout'
15772
- ]
15773
- )
15774
-
15775
- for key, val in six.iteritems(local_var_params['kwargs']):
15776
- if key not in all_params:
15777
- raise ApiTypeError(
15778
- "Got an unexpected keyword argument '%s'"
15779
- " to method get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get" % key
15780
- )
15781
- local_var_params[key] = val
15782
- del local_var_params['kwargs']
15783
- # verify the required parameter 'serve_deployment_id' is set
15784
- if self.api_client.client_side_validation and ('serve_deployment_id' not in local_var_params or # noqa: E501
15785
- local_var_params['serve_deployment_id'] is None): # noqa: E501
15786
- raise ApiValueError("Missing the required parameter `serve_deployment_id` when calling `get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get`") # noqa: E501
15787
-
15788
- collection_formats = {}
15789
-
15790
- path_params = {}
15791
- if 'serve_deployment_id' in local_var_params:
15792
- path_params['serve_deployment_id'] = local_var_params['serve_deployment_id'] # noqa: E501
15793
-
15794
- query_params = []
15795
-
15796
- header_params = {}
15797
-
15798
- form_params = []
15799
- local_var_files = {}
15800
-
15801
- body_params = None
15802
- # HTTP header `Accept`
15803
- header_params['Accept'] = self.api_client.select_header_accept(
15804
- ['application/json']) # noqa: E501
15805
-
15806
- # Authentication setting
15807
- auth_settings = [] # noqa: E501
15808
-
15809
- return self.api_client.call_api(
15810
- '/api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status', 'GET',
15811
- path_params,
15812
- query_params,
15813
- header_params,
15814
- body=body_params,
15815
- post_params=form_params,
15816
- files=local_var_files,
15817
- response_type='ServedeploymentfastapidocsstatusResponse', # noqa: E501
15818
- auth_settings=auth_settings,
15819
- async_req=local_var_params.get('async_req'),
15820
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
15821
- _preload_content=local_var_params.get('_preload_content', True),
15822
- _request_timeout=local_var_params.get('_request_timeout'),
15823
- collection_formats=collection_formats)
15824
-
15825
- def get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get(self, serve_deployment_id, **kwargs): # noqa: E501
15826
- """Get Decorated Serve Deployment Logs # noqa: E501
15827
-
15828
- Get a serve deployment logs by db id # noqa: E501
15829
- This method makes a synchronous HTTP request by default. To make an
15830
- asynchronous HTTP request, please pass async_req=True
15831
- >>> thread = api.get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get(serve_deployment_id, async_req=True)
15832
- >>> result = thread.get()
15833
-
15834
- :param async_req bool: execute request asynchronously
15835
- :param str serve_deployment_id: (required)
15836
- :param str cluster_id: A cluster id to filter by
15837
- :param str deployment_name: A cluster id to filter by
15838
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15839
- be returned without reading/decoding response
15840
- data. Default is True.
15841
- :param _request_timeout: timeout setting for this request. If one
15842
- number provided, it will be total request
15843
- timeout. It can also be a pair (tuple) of
15844
- (connection, read) timeouts.
15845
- :return: ServedeploymentlogsResponse
15846
- If the method is called asynchronously,
15847
- returns the request thread.
15848
- """
15849
- kwargs['_return_http_data_only'] = True
15850
- return self.get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get_with_http_info(serve_deployment_id, **kwargs) # noqa: E501
15851
-
15852
- def get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get_with_http_info(self, serve_deployment_id, **kwargs): # noqa: E501
15853
- """Get Decorated Serve Deployment Logs # noqa: E501
15854
-
15855
- Get a serve deployment logs by db id # noqa: E501
15856
- This method makes a synchronous HTTP request by default. To make an
15857
- asynchronous HTTP request, please pass async_req=True
15858
- >>> thread = api.get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get_with_http_info(serve_deployment_id, async_req=True)
15859
- >>> result = thread.get()
15860
-
15861
- :param async_req bool: execute request asynchronously
15862
- :param str serve_deployment_id: (required)
15863
- :param str cluster_id: A cluster id to filter by
15864
- :param str deployment_name: A cluster id to filter by
15865
- :param _return_http_data_only: response data without head status code
15866
- and headers
15867
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15868
- be returned without reading/decoding response
15869
- data. Default is True.
15870
- :param _request_timeout: timeout setting for this request. If one
15871
- number provided, it will be total request
15872
- timeout. It can also be a pair (tuple) of
15873
- (connection, read) timeouts.
15874
- :return: tuple(ServedeploymentlogsResponse, status_code(int), headers(HTTPHeaderDict))
15875
- If the method is called asynchronously,
15876
- returns the request thread.
15877
- """
15878
-
15879
- local_var_params = locals()
15880
-
15881
- all_params = [
15882
- 'serve_deployment_id',
15883
- 'cluster_id',
15884
- 'deployment_name'
15885
- ]
15886
- all_params.extend(
15887
- [
15888
- 'async_req',
15889
- '_return_http_data_only',
15890
- '_preload_content',
15891
- '_request_timeout'
15892
- ]
15893
- )
15894
-
15895
- for key, val in six.iteritems(local_var_params['kwargs']):
15896
- if key not in all_params:
15897
- raise ApiTypeError(
15898
- "Got an unexpected keyword argument '%s'"
15899
- " to method get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get" % key
15900
- )
15901
- local_var_params[key] = val
15902
- del local_var_params['kwargs']
15903
- # verify the required parameter 'serve_deployment_id' is set
15904
- if self.api_client.client_side_validation and ('serve_deployment_id' not in local_var_params or # noqa: E501
15905
- local_var_params['serve_deployment_id'] is None): # noqa: E501
15906
- raise ApiValueError("Missing the required parameter `serve_deployment_id` when calling `get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get`") # noqa: E501
15907
-
15908
- collection_formats = {}
15909
-
15910
- path_params = {}
15911
- if 'serve_deployment_id' in local_var_params:
15912
- path_params['serve_deployment_id'] = local_var_params['serve_deployment_id'] # noqa: E501
15913
-
15914
- query_params = []
15915
- if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
15916
- query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
15917
- if 'deployment_name' in local_var_params and local_var_params['deployment_name'] is not None: # noqa: E501
15918
- query_params.append(('deployment_name', local_var_params['deployment_name'])) # noqa: E501
15919
-
15920
- header_params = {}
15921
-
15922
- form_params = []
15923
- local_var_files = {}
15924
-
15925
- body_params = None
15926
- # HTTP header `Accept`
15927
- header_params['Accept'] = self.api_client.select_header_accept(
15928
- ['application/json']) # noqa: E501
15929
-
15930
- # Authentication setting
15931
- auth_settings = [] # noqa: E501
15932
-
15933
- return self.api_client.call_api(
15934
- '/api/v2/decorated_serve_deployments/{serve_deployment_id}/logs', 'GET',
15935
- path_params,
15936
- query_params,
15937
- header_params,
15938
- body=body_params,
15939
- post_params=form_params,
15940
- files=local_var_files,
15941
- response_type='ServedeploymentlogsResponse', # noqa: E501
15942
- auth_settings=auth_settings,
15943
- async_req=local_var_params.get('async_req'),
15944
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
15945
- _preload_content=local_var_params.get('_preload_content', True),
15946
- _request_timeout=local_var_params.get('_request_timeout'),
15947
- collection_formats=collection_formats)
15948
-
15949
- def get_decorated_support_request_for_user_organization_api_v2_support_requests_get(self, **kwargs): # noqa: E501
15950
- """Get Decorated Support Request For User Organization # noqa: E501
15951
-
15952
- This method makes a synchronous HTTP request by default. To make an
15953
- asynchronous HTTP request, please pass async_req=True
15954
- >>> thread = api.get_decorated_support_request_for_user_organization_api_v2_support_requests_get(async_req=True)
15955
- >>> result = thread.get()
15956
-
15957
- :param async_req bool: execute request asynchronously
15958
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15959
- be returned without reading/decoding response
15960
- data. Default is True.
15961
- :param _request_timeout: timeout setting for this request. If one
15962
- number provided, it will be total request
15963
- timeout. It can also be a pair (tuple) of
15964
- (connection, read) timeouts.
15965
- :return: DecoratedsupportrequestResponse
15966
- If the method is called asynchronously,
15967
- returns the request thread.
15968
- """
15969
- kwargs['_return_http_data_only'] = True
15970
- return self.get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(**kwargs) # noqa: E501
15971
-
15972
- def get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(self, **kwargs): # noqa: E501
15973
- """Get Decorated Support Request For User Organization # noqa: E501
15974
-
15975
- This method makes a synchronous HTTP request by default. To make an
15976
- asynchronous HTTP request, please pass async_req=True
15977
- >>> thread = api.get_decorated_support_request_for_user_organization_api_v2_support_requests_get_with_http_info(async_req=True)
15978
- >>> result = thread.get()
15979
-
15980
- :param async_req bool: execute request asynchronously
15981
- :param _return_http_data_only: response data without head status code
15982
- and headers
15983
- :param _preload_content: if False, the urllib3.HTTPResponse object will
15984
- be returned without reading/decoding response
15985
- data. Default is True.
15986
- :param _request_timeout: timeout setting for this request. If one
15987
- number provided, it will be total request
15988
- timeout. It can also be a pair (tuple) of
15989
- (connection, read) timeouts.
15990
- :return: tuple(DecoratedsupportrequestResponse, status_code(int), headers(HTTPHeaderDict))
15991
- If the method is called asynchronously,
15992
- returns the request thread.
15993
- """
15994
-
15995
- local_var_params = locals()
15996
-
15997
- all_params = [
15998
- ]
15999
- all_params.extend(
16000
- [
16001
- 'async_req',
16002
- '_return_http_data_only',
16003
- '_preload_content',
16004
- '_request_timeout'
16005
- ]
16006
- )
16007
-
16008
- for key, val in six.iteritems(local_var_params['kwargs']):
16009
- if key not in all_params:
16010
- raise ApiTypeError(
16011
- "Got an unexpected keyword argument '%s'"
16012
- " to method get_decorated_support_request_for_user_organization_api_v2_support_requests_get" % key
16013
- )
16014
- local_var_params[key] = val
16015
- del local_var_params['kwargs']
16016
-
16017
- collection_formats = {}
16018
-
16019
- path_params = {}
16020
-
16021
- query_params = []
16022
-
16023
- header_params = {}
16024
-
16025
- form_params = []
16026
- local_var_files = {}
16027
-
16028
- body_params = None
16029
- # HTTP header `Accept`
16030
- header_params['Accept'] = self.api_client.select_header_accept(
16031
- ['application/json']) # noqa: E501
16032
-
16033
- # Authentication setting
16034
- auth_settings = [] # noqa: E501
16035
-
16036
- return self.api_client.call_api(
16037
- '/api/v2/support_requests/', 'GET',
16038
- path_params,
16039
- query_params,
16040
- header_params,
16041
- body=body_params,
16042
- post_params=form_params,
16043
- files=local_var_files,
16044
- response_type='DecoratedsupportrequestResponse', # noqa: E501
16045
- auth_settings=auth_settings,
16046
- async_req=local_var_params.get('async_req'),
16047
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
16048
- _preload_content=local_var_params.get('_preload_content', True),
16049
- _request_timeout=local_var_params.get('_request_timeout'),
16050
- collection_formats=collection_formats)
16051
-
16052
- def get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get(self, py_version, ray_version, **kwargs): # noqa: E501
16053
- """Get Default Cluster Env Build # noqa: E501
16054
-
16055
- Retrieves default build. # noqa: E501
16056
- This method makes a synchronous HTTP request by default. To make an
16057
- asynchronous HTTP request, please pass async_req=True
16058
- >>> thread = api.get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get(py_version, ray_version, async_req=True)
16059
- >>> result = thread.get()
16060
-
16061
- :param async_req bool: execute request asynchronously
16062
- :param str py_version: (required)
16063
- :param str ray_version: (required)
16064
- :param _preload_content: if False, the urllib3.HTTPResponse object will
16065
- be returned without reading/decoding response
16066
- data. Default is True.
16067
- :param _request_timeout: timeout setting for this request. If one
16068
- number provided, it will be total request
16069
- timeout. It can also be a pair (tuple) of
16070
- (connection, read) timeouts.
16071
- :return: DecoratedbuildResponse
15619
+ :return: DecoratedbuildResponse
16072
15620
  If the method is called asynchronously,
16073
15621
  returns the request thread.
16074
15622
  """
@@ -17854,120 +17402,6 @@ class DefaultApi(object):
17854
17402
  _request_timeout=local_var_params.get('_request_timeout'),
17855
17403
  collection_formats=collection_formats)
17856
17404
 
17857
- def get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get(self, production_job_id, **kwargs): # noqa: E501
17858
- """Get Job Logs Query Info # noqa: E501
17859
-
17860
- Retrieves necessary info to query the latest job run's log. # noqa: E501
17861
- This method makes a synchronous HTTP request by default. To make an
17862
- asynchronous HTTP request, please pass async_req=True
17863
- >>> thread = api.get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get(production_job_id, async_req=True)
17864
- >>> result = thread.get()
17865
-
17866
- :param async_req bool: execute request asynchronously
17867
- :param str production_job_id: ID of the production job to fetch logs for. (required)
17868
- :param _preload_content: if False, the urllib3.HTTPResponse object will
17869
- be returned without reading/decoding response
17870
- data. Default is True.
17871
- :param _request_timeout: timeout setting for this request. If one
17872
- number provided, it will be total request
17873
- timeout. It can also be a pair (tuple) of
17874
- (connection, read) timeouts.
17875
- :return: JobslogsqueryinfoResponse
17876
- If the method is called asynchronously,
17877
- returns the request thread.
17878
- """
17879
- kwargs['_return_http_data_only'] = True
17880
- return self.get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get_with_http_info(production_job_id, **kwargs) # noqa: E501
17881
-
17882
- def get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get_with_http_info(self, production_job_id, **kwargs): # noqa: E501
17883
- """Get Job Logs Query Info # noqa: E501
17884
-
17885
- Retrieves necessary info to query the latest job run's log. # noqa: E501
17886
- This method makes a synchronous HTTP request by default. To make an
17887
- asynchronous HTTP request, please pass async_req=True
17888
- >>> thread = api.get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get_with_http_info(production_job_id, async_req=True)
17889
- >>> result = thread.get()
17890
-
17891
- :param async_req bool: execute request asynchronously
17892
- :param str production_job_id: ID of the production job to fetch logs for. (required)
17893
- :param _return_http_data_only: response data without head status code
17894
- and headers
17895
- :param _preload_content: if False, the urllib3.HTTPResponse object will
17896
- be returned without reading/decoding response
17897
- data. Default is True.
17898
- :param _request_timeout: timeout setting for this request. If one
17899
- number provided, it will be total request
17900
- timeout. It can also be a pair (tuple) of
17901
- (connection, read) timeouts.
17902
- :return: tuple(JobslogsqueryinfoResponse, status_code(int), headers(HTTPHeaderDict))
17903
- If the method is called asynchronously,
17904
- returns the request thread.
17905
- """
17906
-
17907
- local_var_params = locals()
17908
-
17909
- all_params = [
17910
- 'production_job_id'
17911
- ]
17912
- all_params.extend(
17913
- [
17914
- 'async_req',
17915
- '_return_http_data_only',
17916
- '_preload_content',
17917
- '_request_timeout'
17918
- ]
17919
- )
17920
-
17921
- for key, val in six.iteritems(local_var_params['kwargs']):
17922
- if key not in all_params:
17923
- raise ApiTypeError(
17924
- "Got an unexpected keyword argument '%s'"
17925
- " to method get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get" % key
17926
- )
17927
- local_var_params[key] = val
17928
- del local_var_params['kwargs']
17929
- # verify the required parameter 'production_job_id' is set
17930
- if self.api_client.client_side_validation and ('production_job_id' not in local_var_params or # noqa: E501
17931
- local_var_params['production_job_id'] is None): # noqa: E501
17932
- raise ApiValueError("Missing the required parameter `production_job_id` when calling `get_job_logs_query_info_api_v2_decorated_ha_jobs_production_job_id_logs_query_get`") # noqa: E501
17933
-
17934
- collection_formats = {}
17935
-
17936
- path_params = {}
17937
- if 'production_job_id' in local_var_params:
17938
- path_params['production_job_id'] = local_var_params['production_job_id'] # noqa: E501
17939
-
17940
- query_params = []
17941
-
17942
- header_params = {}
17943
-
17944
- form_params = []
17945
- local_var_files = {}
17946
-
17947
- body_params = None
17948
- # HTTP header `Accept`
17949
- header_params['Accept'] = self.api_client.select_header_accept(
17950
- ['application/json']) # noqa: E501
17951
-
17952
- # Authentication setting
17953
- auth_settings = [] # noqa: E501
17954
-
17955
- return self.api_client.call_api(
17956
- '/api/v2/decorated_ha_jobs/{production_job_id}/logs_query', 'GET',
17957
- path_params,
17958
- query_params,
17959
- header_params,
17960
- body=body_params,
17961
- post_params=form_params,
17962
- files=local_var_files,
17963
- response_type='JobslogsqueryinfoResponse', # noqa: E501
17964
- auth_settings=auth_settings,
17965
- async_req=local_var_params.get('async_req'),
17966
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
17967
- _preload_content=local_var_params.get('_preload_content', True),
17968
- _request_timeout=local_var_params.get('_request_timeout'),
17969
- collection_formats=collection_formats)
17970
-
17971
17405
  def get_job_logs_stream_api_v2_logs_job_logs_stream_job_id_get(self, job_id, **kwargs): # noqa: E501
17972
17406
  """Get Job Logs Stream # noqa: E501
17973
17407
 
@@ -19373,7 +18807,132 @@ class DefaultApi(object):
19373
18807
  number provided, it will be total request
19374
18808
  timeout. It can also be a pair (tuple) of
19375
18809
  (connection, read) timeouts.
19376
- :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
18810
+ :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
18811
+ If the method is called asynchronously,
18812
+ returns the request thread.
18813
+ """
18814
+
18815
+ local_var_params = locals()
18816
+
18817
+ all_params = [
18818
+ 'session_id',
18819
+ 'extension'
18820
+ ]
18821
+ all_params.extend(
18822
+ [
18823
+ 'async_req',
18824
+ '_return_http_data_only',
18825
+ '_preload_content',
18826
+ '_request_timeout'
18827
+ ]
18828
+ )
18829
+
18830
+ for key, val in six.iteritems(local_var_params['kwargs']):
18831
+ if key not in all_params:
18832
+ raise ApiTypeError(
18833
+ "Got an unexpected keyword argument '%s'"
18834
+ " to method get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get" % key
18835
+ )
18836
+ local_var_params[key] = val
18837
+ del local_var_params['kwargs']
18838
+ # verify the required parameter 'session_id' is set
18839
+ if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
18840
+ local_var_params['session_id'] is None): # noqa: E501
18841
+ raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get`") # noqa: E501
18842
+
18843
+ collection_formats = {}
18844
+
18845
+ path_params = {}
18846
+ if 'session_id' in local_var_params:
18847
+ path_params['session_id'] = local_var_params['session_id'] # noqa: E501
18848
+
18849
+ query_params = []
18850
+ if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
18851
+ query_params.append(('extension', local_var_params['extension'])) # noqa: E501
18852
+
18853
+ header_params = {}
18854
+
18855
+ form_params = []
18856
+ local_var_files = {}
18857
+
18858
+ body_params = None
18859
+ # HTTP header `Accept`
18860
+ header_params['Accept'] = self.api_client.select_header_accept(
18861
+ ['application/json']) # noqa: E501
18862
+
18863
+ # Authentication setting
18864
+ auth_settings = [] # noqa: E501
18865
+
18866
+ return self.api_client.call_api(
18867
+ '/api/v2/logs/monitor_logs_download/{session_id}', 'GET',
18868
+ path_params,
18869
+ query_params,
18870
+ header_params,
18871
+ body=body_params,
18872
+ post_params=form_params,
18873
+ files=local_var_files,
18874
+ response_type='LogdownloadresultResponse', # noqa: E501
18875
+ auth_settings=auth_settings,
18876
+ async_req=local_var_params.get('async_req'),
18877
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
18878
+ _preload_content=local_var_params.get('_preload_content', True),
18879
+ _request_timeout=local_var_params.get('_request_timeout'),
18880
+ collection_formats=collection_formats)
18881
+
18882
+ def get_operator_metrics_api_v2_dataset_runs_operator_get(self, cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, **kwargs): # noqa: E501
18883
+ """Get Operator Metrics # noqa: E501
18884
+
18885
+ This method makes a synchronous HTTP request by default. To make an
18886
+ asynchronous HTTP request, please pass async_req=True
18887
+ >>> thread = api.get_operator_metrics_api_v2_dataset_runs_operator_get(cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, async_req=True)
18888
+ >>> result = thread.get()
18889
+
18890
+ :param async_req bool: execute request asynchronously
18891
+ :param str cluster_id: (required)
18892
+ :param str session_name: (required)
18893
+ :param str dataset_id: (required)
18894
+ :param str operator_id: (required)
18895
+ :param int dataset_start_time: (required)
18896
+ :param int dataset_end_time: (required)
18897
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
18898
+ be returned without reading/decoding response
18899
+ data. Default is True.
18900
+ :param _request_timeout: timeout setting for this request. If one
18901
+ number provided, it will be total request
18902
+ timeout. It can also be a pair (tuple) of
18903
+ (connection, read) timeouts.
18904
+ :return: OperatorMetrics
18905
+ If the method is called asynchronously,
18906
+ returns the request thread.
18907
+ """
18908
+ kwargs['_return_http_data_only'] = True
18909
+ return self.get_operator_metrics_api_v2_dataset_runs_operator_get_with_http_info(cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, **kwargs) # noqa: E501
18910
+
18911
+ def get_operator_metrics_api_v2_dataset_runs_operator_get_with_http_info(self, cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, **kwargs): # noqa: E501
18912
+ """Get Operator Metrics # noqa: E501
18913
+
18914
+ This method makes a synchronous HTTP request by default. To make an
18915
+ asynchronous HTTP request, please pass async_req=True
18916
+ >>> thread = api.get_operator_metrics_api_v2_dataset_runs_operator_get_with_http_info(cluster_id, session_name, dataset_id, operator_id, dataset_start_time, dataset_end_time, async_req=True)
18917
+ >>> result = thread.get()
18918
+
18919
+ :param async_req bool: execute request asynchronously
18920
+ :param str cluster_id: (required)
18921
+ :param str session_name: (required)
18922
+ :param str dataset_id: (required)
18923
+ :param str operator_id: (required)
18924
+ :param int dataset_start_time: (required)
18925
+ :param int dataset_end_time: (required)
18926
+ :param _return_http_data_only: response data without head status code
18927
+ and headers
18928
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
18929
+ be returned without reading/decoding response
18930
+ data. Default is True.
18931
+ :param _request_timeout: timeout setting for this request. If one
18932
+ number provided, it will be total request
18933
+ timeout. It can also be a pair (tuple) of
18934
+ (connection, read) timeouts.
18935
+ :return: tuple(OperatorMetrics, status_code(int), headers(HTTPHeaderDict))
19377
18936
  If the method is called asynchronously,
19378
18937
  returns the request thread.
19379
18938
  """
@@ -19381,8 +18940,12 @@ class DefaultApi(object):
19381
18940
  local_var_params = locals()
19382
18941
 
19383
18942
  all_params = [
19384
- 'session_id',
19385
- 'extension'
18943
+ 'cluster_id',
18944
+ 'session_name',
18945
+ 'dataset_id',
18946
+ 'operator_id',
18947
+ 'dataset_start_time',
18948
+ 'dataset_end_time'
19386
18949
  ]
19387
18950
  all_params.extend(
19388
18951
  [
@@ -19397,24 +18960,52 @@ class DefaultApi(object):
19397
18960
  if key not in all_params:
19398
18961
  raise ApiTypeError(
19399
18962
  "Got an unexpected keyword argument '%s'"
19400
- " to method get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get" % key
18963
+ " to method get_operator_metrics_api_v2_dataset_runs_operator_get" % key
19401
18964
  )
19402
18965
  local_var_params[key] = val
19403
18966
  del local_var_params['kwargs']
19404
- # verify the required parameter 'session_id' is set
19405
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
19406
- local_var_params['session_id'] is None): # noqa: E501
19407
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_monitor_logs_download_api_v2_logs_monitor_logs_download_session_id_get`") # noqa: E501
18967
+ # verify the required parameter 'cluster_id' is set
18968
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
18969
+ local_var_params['cluster_id'] is None): # noqa: E501
18970
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
18971
+ # verify the required parameter 'session_name' is set
18972
+ if self.api_client.client_side_validation and ('session_name' not in local_var_params or # noqa: E501
18973
+ local_var_params['session_name'] is None): # noqa: E501
18974
+ raise ApiValueError("Missing the required parameter `session_name` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
18975
+ # verify the required parameter 'dataset_id' is set
18976
+ if self.api_client.client_side_validation and ('dataset_id' not in local_var_params or # noqa: E501
18977
+ local_var_params['dataset_id'] is None): # noqa: E501
18978
+ raise ApiValueError("Missing the required parameter `dataset_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
18979
+ # verify the required parameter 'operator_id' is set
18980
+ if self.api_client.client_side_validation and ('operator_id' not in local_var_params or # noqa: E501
18981
+ local_var_params['operator_id'] is None): # noqa: E501
18982
+ raise ApiValueError("Missing the required parameter `operator_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
18983
+ # verify the required parameter 'dataset_start_time' is set
18984
+ if self.api_client.client_side_validation and ('dataset_start_time' not in local_var_params or # noqa: E501
18985
+ local_var_params['dataset_start_time'] is None): # noqa: E501
18986
+ raise ApiValueError("Missing the required parameter `dataset_start_time` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
18987
+ # verify the required parameter 'dataset_end_time' is set
18988
+ if self.api_client.client_side_validation and ('dataset_end_time' not in local_var_params or # noqa: E501
18989
+ local_var_params['dataset_end_time'] is None): # noqa: E501
18990
+ raise ApiValueError("Missing the required parameter `dataset_end_time` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
19408
18991
 
19409
18992
  collection_formats = {}
19410
18993
 
19411
18994
  path_params = {}
19412
- if 'session_id' in local_var_params:
19413
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
19414
18995
 
19415
18996
  query_params = []
19416
- if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
19417
- query_params.append(('extension', local_var_params['extension'])) # noqa: E501
18997
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
18998
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
18999
+ if 'session_name' in local_var_params and local_var_params['session_name'] is not None: # noqa: E501
19000
+ query_params.append(('session_name', local_var_params['session_name'])) # noqa: E501
19001
+ if 'dataset_id' in local_var_params and local_var_params['dataset_id'] is not None: # noqa: E501
19002
+ query_params.append(('dataset_id', local_var_params['dataset_id'])) # noqa: E501
19003
+ if 'operator_id' in local_var_params and local_var_params['operator_id'] is not None: # noqa: E501
19004
+ query_params.append(('operator_id', local_var_params['operator_id'])) # noqa: E501
19005
+ if 'dataset_start_time' in local_var_params and local_var_params['dataset_start_time'] is not None: # noqa: E501
19006
+ query_params.append(('dataset_start_time', local_var_params['dataset_start_time'])) # noqa: E501
19007
+ if 'dataset_end_time' in local_var_params and local_var_params['dataset_end_time'] is not None: # noqa: E501
19008
+ query_params.append(('dataset_end_time', local_var_params['dataset_end_time'])) # noqa: E501
19418
19009
 
19419
19010
  header_params = {}
19420
19011
 
@@ -19430,14 +19021,14 @@ class DefaultApi(object):
19430
19021
  auth_settings = [] # noqa: E501
19431
19022
 
19432
19023
  return self.api_client.call_api(
19433
- '/api/v2/logs/monitor_logs_download/{session_id}', 'GET',
19024
+ '/api/v2/dataset_runs/operator', 'GET',
19434
19025
  path_params,
19435
19026
  query_params,
19436
19027
  header_params,
19437
19028
  body=body_params,
19438
19029
  post_params=form_params,
19439
19030
  files=local_var_files,
19440
- response_type='LogdownloadresultResponse', # noqa: E501
19031
+ response_type='OperatorMetrics', # noqa: E501
19441
19032
  auth_settings=auth_settings,
19442
19033
  async_req=local_var_params.get('async_req'),
19443
19034
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -20764,128 +20355,6 @@ class DefaultApi(object):
20764
20355
  _request_timeout=local_var_params.get('_request_timeout'),
20765
20356
  collection_formats=collection_formats)
20766
20357
 
20767
- def get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get(self, session_id, **kwargs): # noqa: E501
20768
- """Get Runtime Env Logs # noqa: E501
20769
-
20770
- This method makes a synchronous HTTP request by default. To make an
20771
- asynchronous HTTP request, please pass async_req=True
20772
- >>> thread = api.get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get(session_id, async_req=True)
20773
- >>> result = thread.get()
20774
-
20775
- :param async_req bool: execute request asynchronously
20776
- :param str session_id: (required)
20777
- :param int start_timestamp_ns: The start timestamp in nanosecond for the log query search.
20778
- :param int timeout_seconds: Timeout in seconds for the log query request.
20779
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20780
- be returned without reading/decoding response
20781
- data. Default is True.
20782
- :param _request_timeout: timeout setting for this request. If one
20783
- number provided, it will be total request
20784
- timeout. It can also be a pair (tuple) of
20785
- (connection, read) timeouts.
20786
- :return: TimestampedlogsoutputResponse
20787
- If the method is called asynchronously,
20788
- returns the request thread.
20789
- """
20790
- kwargs['_return_http_data_only'] = True
20791
- return self.get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get_with_http_info(session_id, **kwargs) # noqa: E501
20792
-
20793
- def get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get_with_http_info(self, session_id, **kwargs): # noqa: E501
20794
- """Get Runtime Env Logs # noqa: E501
20795
-
20796
- This method makes a synchronous HTTP request by default. To make an
20797
- asynchronous HTTP request, please pass async_req=True
20798
- >>> thread = api.get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get_with_http_info(session_id, async_req=True)
20799
- >>> result = thread.get()
20800
-
20801
- :param async_req bool: execute request asynchronously
20802
- :param str session_id: (required)
20803
- :param int start_timestamp_ns: The start timestamp in nanosecond for the log query search.
20804
- :param int timeout_seconds: Timeout in seconds for the log query request.
20805
- :param _return_http_data_only: response data without head status code
20806
- and headers
20807
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20808
- be returned without reading/decoding response
20809
- data. Default is True.
20810
- :param _request_timeout: timeout setting for this request. If one
20811
- number provided, it will be total request
20812
- timeout. It can also be a pair (tuple) of
20813
- (connection, read) timeouts.
20814
- :return: tuple(TimestampedlogsoutputResponse, status_code(int), headers(HTTPHeaderDict))
20815
- If the method is called asynchronously,
20816
- returns the request thread.
20817
- """
20818
-
20819
- local_var_params = locals()
20820
-
20821
- all_params = [
20822
- 'session_id',
20823
- 'start_timestamp_ns',
20824
- 'timeout_seconds'
20825
- ]
20826
- all_params.extend(
20827
- [
20828
- 'async_req',
20829
- '_return_http_data_only',
20830
- '_preload_content',
20831
- '_request_timeout'
20832
- ]
20833
- )
20834
-
20835
- for key, val in six.iteritems(local_var_params['kwargs']):
20836
- if key not in all_params:
20837
- raise ApiTypeError(
20838
- "Got an unexpected keyword argument '%s'"
20839
- " to method get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get" % key
20840
- )
20841
- local_var_params[key] = val
20842
- del local_var_params['kwargs']
20843
- # verify the required parameter 'session_id' is set
20844
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
20845
- local_var_params['session_id'] is None): # noqa: E501
20846
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_runtime_env_logs_api_v2_sessions_session_id_runtime_env_logs_get`") # noqa: E501
20847
-
20848
- collection_formats = {}
20849
-
20850
- path_params = {}
20851
- if 'session_id' in local_var_params:
20852
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
20853
-
20854
- query_params = []
20855
- if 'start_timestamp_ns' in local_var_params and local_var_params['start_timestamp_ns'] is not None: # noqa: E501
20856
- query_params.append(('start_timestamp_ns', local_var_params['start_timestamp_ns'])) # noqa: E501
20857
- if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501
20858
- query_params.append(('timeout_seconds', local_var_params['timeout_seconds'])) # noqa: E501
20859
-
20860
- header_params = {}
20861
-
20862
- form_params = []
20863
- local_var_files = {}
20864
-
20865
- body_params = None
20866
- # HTTP header `Accept`
20867
- header_params['Accept'] = self.api_client.select_header_accept(
20868
- ['application/json']) # noqa: E501
20869
-
20870
- # Authentication setting
20871
- auth_settings = [] # noqa: E501
20872
-
20873
- return self.api_client.call_api(
20874
- '/api/v2/sessions/{session_id}/runtime_env_logs', 'GET',
20875
- path_params,
20876
- query_params,
20877
- header_params,
20878
- body=body_params,
20879
- post_params=form_params,
20880
- files=local_var_files,
20881
- response_type='TimestampedlogsoutputResponse', # noqa: E501
20882
- auth_settings=auth_settings,
20883
- async_req=local_var_params.get('async_req'),
20884
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
20885
- _preload_content=local_var_params.get('_preload_content', True),
20886
- _request_timeout=local_var_params.get('_request_timeout'),
20887
- collection_formats=collection_formats)
20888
-
20889
20358
  def get_runtime_env_logs_download_api_v2_logs_runtime_env_logs_download_session_id_get(self, session_id, **kwargs): # noqa: E501
20890
20359
  """Get Runtime Env Logs Download # noqa: E501
20891
20360
 
@@ -26642,156 +26111,6 @@ class DefaultApi(object):
26642
26111
  _request_timeout=local_var_params.get('_request_timeout'),
26643
26112
  collection_formats=collection_formats)
26644
26113
 
26645
- def list_decorated_job_submissions_api_v2_decorated_job_submissions_get(self, **kwargs): # noqa: E501
26646
- """List Decorated Job Submissions # noqa: E501
26647
-
26648
- Get all the job submissions based on the passed in criteria. Returns ------- ListResponse[DecoratedJobSubmission] selected DecoratedJobSubmission based on the passed in criteria, or empty ListResponse if there is nothing found # noqa: E501
26649
- This method makes a synchronous HTTP request by default. To make an
26650
- asynchronous HTTP request, please pass async_req=True
26651
- >>> thread = api.list_decorated_job_submissions_api_v2_decorated_job_submissions_get(async_req=True)
26652
- >>> result = thread.get()
26653
-
26654
- :param async_req bool: execute request asynchronously
26655
- :param str creator_id: creator_id to filter by
26656
- :param str name: ray_job_submission_id to filter by
26657
- :param str ha_job_id: ha_job_id to filter by
26658
- :param list[JobStatus] state_filter: A list of job submission states to filter by
26659
- :param JobSubmissionsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
26660
- :param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
26661
- :param str paging_token:
26662
- :param int count:
26663
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26664
- be returned without reading/decoding response
26665
- data. Default is True.
26666
- :param _request_timeout: timeout setting for this request. If one
26667
- number provided, it will be total request
26668
- timeout. It can also be a pair (tuple) of
26669
- (connection, read) timeouts.
26670
- :return: DecoratedjobsubmissionListResponse
26671
- If the method is called asynchronously,
26672
- returns the request thread.
26673
- """
26674
- kwargs['_return_http_data_only'] = True
26675
- return self.list_decorated_job_submissions_api_v2_decorated_job_submissions_get_with_http_info(**kwargs) # noqa: E501
26676
-
26677
- def list_decorated_job_submissions_api_v2_decorated_job_submissions_get_with_http_info(self, **kwargs): # noqa: E501
26678
- """List Decorated Job Submissions # noqa: E501
26679
-
26680
- Get all the job submissions based on the passed in criteria. Returns ------- ListResponse[DecoratedJobSubmission] selected DecoratedJobSubmission based on the passed in criteria, or empty ListResponse if there is nothing found # noqa: E501
26681
- This method makes a synchronous HTTP request by default. To make an
26682
- asynchronous HTTP request, please pass async_req=True
26683
- >>> thread = api.list_decorated_job_submissions_api_v2_decorated_job_submissions_get_with_http_info(async_req=True)
26684
- >>> result = thread.get()
26685
-
26686
- :param async_req bool: execute request asynchronously
26687
- :param str creator_id: creator_id to filter by
26688
- :param str name: ray_job_submission_id to filter by
26689
- :param str ha_job_id: ha_job_id to filter by
26690
- :param list[JobStatus] state_filter: A list of job submission states to filter by
26691
- :param JobSubmissionsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
26692
- :param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
26693
- :param str paging_token:
26694
- :param int count:
26695
- :param _return_http_data_only: response data without head status code
26696
- and headers
26697
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26698
- be returned without reading/decoding response
26699
- data. Default is True.
26700
- :param _request_timeout: timeout setting for this request. If one
26701
- number provided, it will be total request
26702
- timeout. It can also be a pair (tuple) of
26703
- (connection, read) timeouts.
26704
- :return: tuple(DecoratedjobsubmissionListResponse, status_code(int), headers(HTTPHeaderDict))
26705
- If the method is called asynchronously,
26706
- returns the request thread.
26707
- """
26708
-
26709
- local_var_params = locals()
26710
-
26711
- all_params = [
26712
- 'creator_id',
26713
- 'name',
26714
- 'ha_job_id',
26715
- 'state_filter',
26716
- 'sort_field',
26717
- 'sort_order',
26718
- 'paging_token',
26719
- 'count'
26720
- ]
26721
- all_params.extend(
26722
- [
26723
- 'async_req',
26724
- '_return_http_data_only',
26725
- '_preload_content',
26726
- '_request_timeout'
26727
- ]
26728
- )
26729
-
26730
- for key, val in six.iteritems(local_var_params['kwargs']):
26731
- if key not in all_params:
26732
- raise ApiTypeError(
26733
- "Got an unexpected keyword argument '%s'"
26734
- " to method list_decorated_job_submissions_api_v2_decorated_job_submissions_get" % key
26735
- )
26736
- local_var_params[key] = val
26737
- del local_var_params['kwargs']
26738
-
26739
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
26740
- raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_job_submissions_api_v2_decorated_job_submissions_get`, must be a value less than or equal to `50`") # noqa: E501
26741
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
26742
- raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_job_submissions_api_v2_decorated_job_submissions_get`, must be a value greater than or equal to `0`") # noqa: E501
26743
- collection_formats = {}
26744
-
26745
- path_params = {}
26746
-
26747
- query_params = []
26748
- if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
26749
- query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
26750
- if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
26751
- query_params.append(('name', local_var_params['name'])) # noqa: E501
26752
- if 'ha_job_id' in local_var_params and local_var_params['ha_job_id'] is not None: # noqa: E501
26753
- query_params.append(('ha_job_id', local_var_params['ha_job_id'])) # noqa: E501
26754
- if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
26755
- query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
26756
- collection_formats['state_filter'] = 'multi' # noqa: E501
26757
- if 'sort_field' in local_var_params and local_var_params['sort_field'] is not None: # noqa: E501
26758
- query_params.append(('sort_field', local_var_params['sort_field'])) # noqa: E501
26759
- if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
26760
- query_params.append(('sort_order', local_var_params['sort_order'])) # noqa: E501
26761
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
26762
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
26763
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
26764
- query_params.append(('count', local_var_params['count'])) # noqa: E501
26765
-
26766
- header_params = {}
26767
-
26768
- form_params = []
26769
- local_var_files = {}
26770
-
26771
- body_params = None
26772
- # HTTP header `Accept`
26773
- header_params['Accept'] = self.api_client.select_header_accept(
26774
- ['application/json']) # noqa: E501
26775
-
26776
- # Authentication setting
26777
- auth_settings = [] # noqa: E501
26778
-
26779
- return self.api_client.call_api(
26780
- '/api/v2/decorated_job_submissions/', 'GET',
26781
- path_params,
26782
- query_params,
26783
- header_params,
26784
- body=body_params,
26785
- post_params=form_params,
26786
- files=local_var_files,
26787
- response_type='DecoratedjobsubmissionListResponse', # noqa: E501
26788
- auth_settings=auth_settings,
26789
- async_req=local_var_params.get('async_req'),
26790
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
26791
- _preload_content=local_var_params.get('_preload_content', True),
26792
- _request_timeout=local_var_params.get('_request_timeout'),
26793
- collection_formats=collection_formats)
26794
-
26795
26114
  def list_decorated_jobs_api_v2_decorated_ha_jobs_get(self, **kwargs): # noqa: E501
26796
26115
  """List Decorated Jobs # noqa: E501
26797
26116