anyscale 0.26.8__py3-none-any.whl → 0.26.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/_private/anyscale_client/anyscale_client.py +17 -1
- anyscale/_private/anyscale_client/common.py +12 -2
- anyscale/_private/anyscale_client/fake_anyscale_client.py +20 -3
- anyscale/_private/docgen/__main__.py +4 -0
- anyscale/_private/docgen/models.md +11 -2
- anyscale/anyscale_halo/LICENSE +21 -0
- anyscale/anyscale_halo/README.md +1 -0
- anyscale/anyscale_halo/__init__.py +10 -0
- anyscale/anyscale_halo/_utils.py +148 -0
- anyscale/anyscale_halo/cursor.py +48 -0
- anyscale/anyscale_halo/halo.py +609 -0
- anyscale/anyscale_halo/halo_notebook.py +122 -0
- anyscale/cli_logger.py +1 -1
- anyscale/client/README.md +6 -37
- anyscale/client/openapi_client/__init__.py +4 -24
- anyscale/client/openapi_client/api/default_api.py +447 -1693
- anyscale/client/openapi_client/models/__init__.py +4 -24
- anyscale/client/openapi_client/models/baseimagesenum.py +69 -1
- anyscale/client/openapi_client/models/{job_status.py → cluster_state.py} +16 -13
- anyscale/client/openapi_client/models/describe_system_workload_response.py +226 -0
- anyscale/client/openapi_client/models/{decoratedjobsubmission_response.py → describesystemworkloadresponse_response.py} +11 -11
- anyscale/client/openapi_client/models/operator_metrics.py +54 -1
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +69 -1
- anyscale/client/openapi_client/models/{dismissal_type.py → system_workload_name.py} +6 -7
- anyscale/commands/command_examples.py +4 -0
- anyscale/commands/service_commands.py +62 -27
- anyscale/job/_private/job_sdk.py +1 -3
- anyscale/sdk/anyscale_client/__init__.py +1 -0
- anyscale/sdk/anyscale_client/models/__init__.py +1 -0
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +69 -1
- anyscale/sdk/anyscale_client/models/cluster.py +60 -3
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +69 -1
- anyscale/{client/openapi_client/models/visibility.py → sdk/anyscale_client/models/system_workload_name.py} +8 -9
- anyscale/service/__init__.py +19 -0
- anyscale/service/_private/service_sdk.py +26 -2
- anyscale/service/commands.py +48 -9
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/METADATA +5 -2
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/RECORD +45 -57
- anyscale/client/openapi_client/models/card.py +0 -181
- anyscale/client/openapi_client/models/card_id.py +0 -108
- anyscale/client/openapi_client/models/card_list_response.py +0 -147
- anyscale/client/openapi_client/models/cluster_features.py +0 -152
- anyscale/client/openapi_client/models/clusterfeatures_response.py +0 -121
- anyscale/client/openapi_client/models/decorated_job_submission.py +0 -547
- anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +0 -147
- anyscale/client/openapi_client/models/feature_compatibility.py +0 -152
- anyscale/client/openapi_client/models/interactive_session_logs.py +0 -152
- anyscale/client/openapi_client/models/interactivesessionlogs_response.py +0 -121
- anyscale/client/openapi_client/models/job_submissions_sort_field.py +0 -101
- anyscale/client/openapi_client/models/jobs_logs.py +0 -152
- anyscale/client/openapi_client/models/jobs_logs_query_info.py +0 -181
- anyscale/client/openapi_client/models/jobslogs_response.py +0 -121
- anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +0 -121
- anyscale/client/openapi_client/models/onboarding_user_cards_query.py +0 -122
- anyscale/client/openapi_client/models/serve_deployment_logs.py +0 -152
- anyscale/client/openapi_client/models/servedeploymentlogs_response.py +0 -121
- anyscale/client/openapi_client/models/timestamped_logs_output.py +0 -148
- anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +0 -121
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/LICENSE +0 -0
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/NOTICE +0 -0
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/WHEEL +0 -0
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/top_level.txt +0 -0
@@ -4760,120 +4760,6 @@ class DefaultApi(object):
|
|
4760
4760
|
_request_timeout=local_var_params.get('_request_timeout'),
|
4761
4761
|
collection_formats=collection_formats)
|
4762
4762
|
|
4763
|
-
def create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post(self, organization_id, **kwargs): # noqa: E501
|
4764
|
-
"""Create Endpoint User For Org # noqa: E501
|
4765
|
-
|
4766
|
-
Converts an existing console org to an OA org with access to endpoints features by creating an endpoints user account for the organization. # noqa: E501
|
4767
|
-
This method makes a synchronous HTTP request by default. To make an
|
4768
|
-
asynchronous HTTP request, please pass async_req=True
|
4769
|
-
>>> thread = api.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post(organization_id, async_req=True)
|
4770
|
-
>>> result = thread.get()
|
4771
|
-
|
4772
|
-
:param async_req bool: execute request asynchronously
|
4773
|
-
:param str organization_id: (required)
|
4774
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4775
|
-
be returned without reading/decoding response
|
4776
|
-
data. Default is True.
|
4777
|
-
:param _request_timeout: timeout setting for this request. If one
|
4778
|
-
number provided, it will be total request
|
4779
|
-
timeout. It can also be a pair (tuple) of
|
4780
|
-
(connection, read) timeouts.
|
4781
|
-
:return: object
|
4782
|
-
If the method is called asynchronously,
|
4783
|
-
returns the request thread.
|
4784
|
-
"""
|
4785
|
-
kwargs['_return_http_data_only'] = True
|
4786
|
-
return self.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(organization_id, **kwargs) # noqa: E501
|
4787
|
-
|
4788
|
-
def create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(self, organization_id, **kwargs): # noqa: E501
|
4789
|
-
"""Create Endpoint User For Org # noqa: E501
|
4790
|
-
|
4791
|
-
Converts an existing console org to an OA org with access to endpoints features by creating an endpoints user account for the organization. # noqa: E501
|
4792
|
-
This method makes a synchronous HTTP request by default. To make an
|
4793
|
-
asynchronous HTTP request, please pass async_req=True
|
4794
|
-
>>> thread = api.create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post_with_http_info(organization_id, async_req=True)
|
4795
|
-
>>> result = thread.get()
|
4796
|
-
|
4797
|
-
:param async_req bool: execute request asynchronously
|
4798
|
-
:param str organization_id: (required)
|
4799
|
-
:param _return_http_data_only: response data without head status code
|
4800
|
-
and headers
|
4801
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
4802
|
-
be returned without reading/decoding response
|
4803
|
-
data. Default is True.
|
4804
|
-
:param _request_timeout: timeout setting for this request. If one
|
4805
|
-
number provided, it will be total request
|
4806
|
-
timeout. It can also be a pair (tuple) of
|
4807
|
-
(connection, read) timeouts.
|
4808
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
4809
|
-
If the method is called asynchronously,
|
4810
|
-
returns the request thread.
|
4811
|
-
"""
|
4812
|
-
|
4813
|
-
local_var_params = locals()
|
4814
|
-
|
4815
|
-
all_params = [
|
4816
|
-
'organization_id'
|
4817
|
-
]
|
4818
|
-
all_params.extend(
|
4819
|
-
[
|
4820
|
-
'async_req',
|
4821
|
-
'_return_http_data_only',
|
4822
|
-
'_preload_content',
|
4823
|
-
'_request_timeout'
|
4824
|
-
]
|
4825
|
-
)
|
4826
|
-
|
4827
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
4828
|
-
if key not in all_params:
|
4829
|
-
raise ApiTypeError(
|
4830
|
-
"Got an unexpected keyword argument '%s'"
|
4831
|
-
" to method create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post" % key
|
4832
|
-
)
|
4833
|
-
local_var_params[key] = val
|
4834
|
-
del local_var_params['kwargs']
|
4835
|
-
# verify the required parameter 'organization_id' is set
|
4836
|
-
if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
|
4837
|
-
local_var_params['organization_id'] is None): # noqa: E501
|
4838
|
-
raise ApiValueError("Missing the required parameter `organization_id` when calling `create_endpoint_user_for_org_api_v2_organizations_organization_id_create_endpoint_user_post`") # noqa: E501
|
4839
|
-
|
4840
|
-
collection_formats = {}
|
4841
|
-
|
4842
|
-
path_params = {}
|
4843
|
-
if 'organization_id' in local_var_params:
|
4844
|
-
path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
|
4845
|
-
|
4846
|
-
query_params = []
|
4847
|
-
|
4848
|
-
header_params = {}
|
4849
|
-
|
4850
|
-
form_params = []
|
4851
|
-
local_var_files = {}
|
4852
|
-
|
4853
|
-
body_params = None
|
4854
|
-
# HTTP header `Accept`
|
4855
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
4856
|
-
['application/json']) # noqa: E501
|
4857
|
-
|
4858
|
-
# Authentication setting
|
4859
|
-
auth_settings = [] # noqa: E501
|
4860
|
-
|
4861
|
-
return self.api_client.call_api(
|
4862
|
-
'/api/v2/organizations/{organization_id}/create_endpoint_user', 'POST',
|
4863
|
-
path_params,
|
4864
|
-
query_params,
|
4865
|
-
header_params,
|
4866
|
-
body=body_params,
|
4867
|
-
post_params=form_params,
|
4868
|
-
files=local_var_files,
|
4869
|
-
response_type='object', # noqa: E501
|
4870
|
-
auth_settings=auth_settings,
|
4871
|
-
async_req=local_var_params.get('async_req'),
|
4872
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
4873
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
4874
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
4875
|
-
collection_formats=collection_formats)
|
4876
|
-
|
4877
4763
|
def create_instance_usage_budget_api_v2_instance_usage_budgets_post(self, create_instance_usage_budget, **kwargs): # noqa: E501
|
4878
4764
|
"""Create Instance Usage Budget # noqa: E501
|
4879
4765
|
|
@@ -9411,17 +9297,19 @@ class DefaultApi(object):
|
|
9411
9297
|
_request_timeout=local_var_params.get('_request_timeout'),
|
9412
9298
|
collection_formats=collection_formats)
|
9413
9299
|
|
9414
|
-
def
|
9415
|
-
"""
|
9300
|
+
def describe_system_workload_api_v2_system_workload_cloud_id_describe_post(self, cloud_id, workload_name, **kwargs): # noqa: E501
|
9301
|
+
"""Describe System Workload # noqa: E501
|
9416
9302
|
|
9417
|
-
|
9303
|
+
Get details of system workload cluster and optionally start cluster. # noqa: E501
|
9418
9304
|
This method makes a synchronous HTTP request by default. To make an
|
9419
9305
|
asynchronous HTTP request, please pass async_req=True
|
9420
|
-
>>> thread = api.
|
9306
|
+
>>> thread = api.describe_system_workload_api_v2_system_workload_cloud_id_describe_post(cloud_id, workload_name, async_req=True)
|
9421
9307
|
>>> result = thread.get()
|
9422
9308
|
|
9423
9309
|
:param async_req bool: execute request asynchronously
|
9424
|
-
:param
|
9310
|
+
:param str cloud_id: (required)
|
9311
|
+
:param SystemWorkloadName workload_name: (required)
|
9312
|
+
:param bool start_cluster:
|
9425
9313
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
9426
9314
|
be returned without reading/decoding response
|
9427
9315
|
data. Default is True.
|
@@ -9429,24 +9317,26 @@ class DefaultApi(object):
|
|
9429
9317
|
number provided, it will be total request
|
9430
9318
|
timeout. It can also be a pair (tuple) of
|
9431
9319
|
(connection, read) timeouts.
|
9432
|
-
:return:
|
9320
|
+
:return: DescribesystemworkloadresponseResponse
|
9433
9321
|
If the method is called asynchronously,
|
9434
9322
|
returns the request thread.
|
9435
9323
|
"""
|
9436
9324
|
kwargs['_return_http_data_only'] = True
|
9437
|
-
return self.
|
9325
|
+
return self.describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(cloud_id, workload_name, **kwargs) # noqa: E501
|
9438
9326
|
|
9439
|
-
def
|
9440
|
-
"""
|
9327
|
+
def describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(self, cloud_id, workload_name, **kwargs): # noqa: E501
|
9328
|
+
"""Describe System Workload # noqa: E501
|
9441
9329
|
|
9442
|
-
|
9330
|
+
Get details of system workload cluster and optionally start cluster. # noqa: E501
|
9443
9331
|
This method makes a synchronous HTTP request by default. To make an
|
9444
9332
|
asynchronous HTTP request, please pass async_req=True
|
9445
|
-
>>> thread = api.
|
9333
|
+
>>> thread = api.describe_system_workload_api_v2_system_workload_cloud_id_describe_post_with_http_info(cloud_id, workload_name, async_req=True)
|
9446
9334
|
>>> result = thread.get()
|
9447
9335
|
|
9448
9336
|
:param async_req bool: execute request asynchronously
|
9449
|
-
:param
|
9337
|
+
:param str cloud_id: (required)
|
9338
|
+
:param SystemWorkloadName workload_name: (required)
|
9339
|
+
:param bool start_cluster:
|
9450
9340
|
:param _return_http_data_only: response data without head status code
|
9451
9341
|
and headers
|
9452
9342
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -9456,7 +9346,7 @@ class DefaultApi(object):
|
|
9456
9346
|
number provided, it will be total request
|
9457
9347
|
timeout. It can also be a pair (tuple) of
|
9458
9348
|
(connection, read) timeouts.
|
9459
|
-
:return: tuple(
|
9349
|
+
:return: tuple(DescribesystemworkloadresponseResponse, status_code(int), headers(HTTPHeaderDict))
|
9460
9350
|
If the method is called asynchronously,
|
9461
9351
|
returns the request thread.
|
9462
9352
|
"""
|
@@ -9464,7 +9354,9 @@ class DefaultApi(object):
|
|
9464
9354
|
local_var_params = locals()
|
9465
9355
|
|
9466
9356
|
all_params = [
|
9467
|
-
'
|
9357
|
+
'cloud_id',
|
9358
|
+
'workload_name',
|
9359
|
+
'start_cluster'
|
9468
9360
|
]
|
9469
9361
|
all_params.extend(
|
9470
9362
|
[
|
@@ -9479,20 +9371,30 @@ class DefaultApi(object):
|
|
9479
9371
|
if key not in all_params:
|
9480
9372
|
raise ApiTypeError(
|
9481
9373
|
"Got an unexpected keyword argument '%s'"
|
9482
|
-
" to method
|
9374
|
+
" to method describe_system_workload_api_v2_system_workload_cloud_id_describe_post" % key
|
9483
9375
|
)
|
9484
9376
|
local_var_params[key] = val
|
9485
9377
|
del local_var_params['kwargs']
|
9486
|
-
# verify the required parameter '
|
9487
|
-
if self.api_client.client_side_validation and ('
|
9488
|
-
local_var_params['
|
9489
|
-
raise ApiValueError("Missing the required parameter `
|
9378
|
+
# verify the required parameter 'cloud_id' is set
|
9379
|
+
if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
|
9380
|
+
local_var_params['cloud_id'] is None): # noqa: E501
|
9381
|
+
raise ApiValueError("Missing the required parameter `cloud_id` when calling `describe_system_workload_api_v2_system_workload_cloud_id_describe_post`") # noqa: E501
|
9382
|
+
# verify the required parameter 'workload_name' is set
|
9383
|
+
if self.api_client.client_side_validation and ('workload_name' not in local_var_params or # noqa: E501
|
9384
|
+
local_var_params['workload_name'] is None): # noqa: E501
|
9385
|
+
raise ApiValueError("Missing the required parameter `workload_name` when calling `describe_system_workload_api_v2_system_workload_cloud_id_describe_post`") # noqa: E501
|
9490
9386
|
|
9491
9387
|
collection_formats = {}
|
9492
9388
|
|
9493
9389
|
path_params = {}
|
9390
|
+
if 'cloud_id' in local_var_params:
|
9391
|
+
path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
|
9494
9392
|
|
9495
9393
|
query_params = []
|
9394
|
+
if 'workload_name' in local_var_params and local_var_params['workload_name'] is not None: # noqa: E501
|
9395
|
+
query_params.append(('workload_name', local_var_params['workload_name'])) # noqa: E501
|
9396
|
+
if 'start_cluster' in local_var_params and local_var_params['start_cluster'] is not None: # noqa: E501
|
9397
|
+
query_params.append(('start_cluster', local_var_params['start_cluster'])) # noqa: E501
|
9496
9398
|
|
9497
9399
|
header_params = {}
|
9498
9400
|
|
@@ -9500,28 +9402,22 @@ class DefaultApi(object):
|
|
9500
9402
|
local_var_files = {}
|
9501
9403
|
|
9502
9404
|
body_params = None
|
9503
|
-
if 'detach_machine_pool_from_cloud_request' in local_var_params:
|
9504
|
-
body_params = local_var_params['detach_machine_pool_from_cloud_request']
|
9505
9405
|
# HTTP header `Accept`
|
9506
9406
|
header_params['Accept'] = self.api_client.select_header_accept(
|
9507
9407
|
['application/json']) # noqa: E501
|
9508
9408
|
|
9509
|
-
# HTTP header `Content-Type`
|
9510
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
9511
|
-
['application/json']) # noqa: E501
|
9512
|
-
|
9513
9409
|
# Authentication setting
|
9514
9410
|
auth_settings = [] # noqa: E501
|
9515
9411
|
|
9516
9412
|
return self.api_client.call_api(
|
9517
|
-
'/api/v2/
|
9413
|
+
'/api/v2/system_workload/{cloud_id}/describe', 'POST',
|
9518
9414
|
path_params,
|
9519
9415
|
query_params,
|
9520
9416
|
header_params,
|
9521
9417
|
body=body_params,
|
9522
9418
|
post_params=form_params,
|
9523
9419
|
files=local_var_files,
|
9524
|
-
response_type='
|
9420
|
+
response_type='DescribesystemworkloadresponseResponse', # noqa: E501
|
9525
9421
|
auth_settings=auth_settings,
|
9526
9422
|
async_req=local_var_params.get('async_req'),
|
9527
9423
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -9529,17 +9425,17 @@ class DefaultApi(object):
|
|
9529
9425
|
_request_timeout=local_var_params.get('_request_timeout'),
|
9530
9426
|
collection_formats=collection_formats)
|
9531
9427
|
|
9532
|
-
def
|
9533
|
-
"""
|
9428
|
+
def detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post(self, detach_machine_pool_from_cloud_request, **kwargs): # noqa: E501
|
9429
|
+
"""Detach Machine Pool From Cloud # noqa: E501
|
9534
9430
|
|
9535
|
-
|
9431
|
+
Detach a machine pool from a cloud. # noqa: E501
|
9536
9432
|
This method makes a synchronous HTTP request by default. To make an
|
9537
9433
|
asynchronous HTTP request, please pass async_req=True
|
9538
|
-
>>> thread = api.
|
9434
|
+
>>> thread = api.detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post(detach_machine_pool_from_cloud_request, async_req=True)
|
9539
9435
|
>>> result = thread.get()
|
9540
9436
|
|
9541
9437
|
:param async_req bool: execute request asynchronously
|
9542
|
-
:param
|
9438
|
+
:param DetachMachinePoolFromCloudRequest detach_machine_pool_from_cloud_request: (required)
|
9543
9439
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
9544
9440
|
be returned without reading/decoding response
|
9545
9441
|
data. Default is True.
|
@@ -9547,24 +9443,24 @@ class DefaultApi(object):
|
|
9547
9443
|
number provided, it will be total request
|
9548
9444
|
timeout. It can also be a pair (tuple) of
|
9549
9445
|
(connection, read) timeouts.
|
9550
|
-
:return:
|
9446
|
+
:return: DetachmachinepoolfromcloudresponseResponse
|
9551
9447
|
If the method is called asynchronously,
|
9552
9448
|
returns the request thread.
|
9553
9449
|
"""
|
9554
9450
|
kwargs['_return_http_data_only'] = True
|
9555
|
-
return self.
|
9451
|
+
return self.detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post_with_http_info(detach_machine_pool_from_cloud_request, **kwargs) # noqa: E501
|
9556
9452
|
|
9557
|
-
def
|
9558
|
-
"""
|
9453
|
+
def detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post_with_http_info(self, detach_machine_pool_from_cloud_request, **kwargs): # noqa: E501
|
9454
|
+
"""Detach Machine Pool From Cloud # noqa: E501
|
9559
9455
|
|
9560
|
-
|
9456
|
+
Detach a machine pool from a cloud. # noqa: E501
|
9561
9457
|
This method makes a synchronous HTTP request by default. To make an
|
9562
9458
|
asynchronous HTTP request, please pass async_req=True
|
9563
|
-
>>> thread = api.
|
9459
|
+
>>> thread = api.detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post_with_http_info(detach_machine_pool_from_cloud_request, async_req=True)
|
9564
9460
|
>>> result = thread.get()
|
9565
9461
|
|
9566
9462
|
:param async_req bool: execute request asynchronously
|
9567
|
-
:param
|
9463
|
+
:param DetachMachinePoolFromCloudRequest detach_machine_pool_from_cloud_request: (required)
|
9568
9464
|
:param _return_http_data_only: response data without head status code
|
9569
9465
|
and headers
|
9570
9466
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -9574,7 +9470,7 @@ class DefaultApi(object):
|
|
9574
9470
|
number provided, it will be total request
|
9575
9471
|
timeout. It can also be a pair (tuple) of
|
9576
9472
|
(connection, read) timeouts.
|
9577
|
-
:return: tuple(
|
9473
|
+
:return: tuple(DetachmachinepoolfromcloudresponseResponse, status_code(int), headers(HTTPHeaderDict))
|
9578
9474
|
If the method is called asynchronously,
|
9579
9475
|
returns the request thread.
|
9580
9476
|
"""
|
@@ -9582,7 +9478,7 @@ class DefaultApi(object):
|
|
9582
9478
|
local_var_params = locals()
|
9583
9479
|
|
9584
9480
|
all_params = [
|
9585
|
-
'
|
9481
|
+
'detach_machine_pool_from_cloud_request'
|
9586
9482
|
]
|
9587
9483
|
all_params.extend(
|
9588
9484
|
[
|
@@ -9597,20 +9493,18 @@ class DefaultApi(object):
|
|
9597
9493
|
if key not in all_params:
|
9598
9494
|
raise ApiTypeError(
|
9599
9495
|
"Got an unexpected keyword argument '%s'"
|
9600
|
-
" to method
|
9496
|
+
" to method detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post" % key
|
9601
9497
|
)
|
9602
9498
|
local_var_params[key] = val
|
9603
9499
|
del local_var_params['kwargs']
|
9604
|
-
# verify the required parameter '
|
9605
|
-
if self.api_client.client_side_validation and ('
|
9606
|
-
local_var_params['
|
9607
|
-
raise ApiValueError("Missing the required parameter `
|
9500
|
+
# verify the required parameter 'detach_machine_pool_from_cloud_request' is set
|
9501
|
+
if self.api_client.client_side_validation and ('detach_machine_pool_from_cloud_request' not in local_var_params or # noqa: E501
|
9502
|
+
local_var_params['detach_machine_pool_from_cloud_request'] is None): # noqa: E501
|
9503
|
+
raise ApiValueError("Missing the required parameter `detach_machine_pool_from_cloud_request` when calling `detach_machine_pool_from_cloud_api_v2_machine_pools_detach_post`") # noqa: E501
|
9608
9504
|
|
9609
9505
|
collection_formats = {}
|
9610
9506
|
|
9611
9507
|
path_params = {}
|
9612
|
-
if 'card_id' in local_var_params:
|
9613
|
-
path_params['card_id'] = local_var_params['card_id'] # noqa: E501
|
9614
9508
|
|
9615
9509
|
query_params = []
|
9616
9510
|
|
@@ -9620,22 +9514,28 @@ class DefaultApi(object):
|
|
9620
9514
|
local_var_files = {}
|
9621
9515
|
|
9622
9516
|
body_params = None
|
9517
|
+
if 'detach_machine_pool_from_cloud_request' in local_var_params:
|
9518
|
+
body_params = local_var_params['detach_machine_pool_from_cloud_request']
|
9623
9519
|
# HTTP header `Accept`
|
9624
9520
|
header_params['Accept'] = self.api_client.select_header_accept(
|
9625
9521
|
['application/json']) # noqa: E501
|
9626
9522
|
|
9523
|
+
# HTTP header `Content-Type`
|
9524
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
9525
|
+
['application/json']) # noqa: E501
|
9526
|
+
|
9627
9527
|
# Authentication setting
|
9628
9528
|
auth_settings = [] # noqa: E501
|
9629
9529
|
|
9630
9530
|
return self.api_client.call_api(
|
9631
|
-
'/api/v2/
|
9531
|
+
'/api/v2/machine_pools/detach', 'POST',
|
9632
9532
|
path_params,
|
9633
9533
|
query_params,
|
9634
9534
|
header_params,
|
9635
9535
|
body=body_params,
|
9636
9536
|
post_params=form_params,
|
9637
9537
|
files=local_var_files,
|
9638
|
-
response_type='
|
9538
|
+
response_type='DetachmachinepoolfromcloudresponseResponse', # noqa: E501
|
9639
9539
|
auth_settings=auth_settings,
|
9640
9540
|
async_req=local_var_params.get('async_req'),
|
9641
9541
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -14910,17 +14810,17 @@ class DefaultApi(object):
|
|
14910
14810
|
_request_timeout=local_var_params.get('_request_timeout'),
|
14911
14811
|
collection_formats=collection_formats)
|
14912
14812
|
|
14913
|
-
def
|
14914
|
-
"""Get Decorated
|
14813
|
+
def get_decorated_job_api_v2_decorated_jobs_job_id_get(self, job_id, **kwargs): # noqa: E501
|
14814
|
+
"""Get Decorated Job # noqa: E501
|
14915
14815
|
|
14916
|
-
Get
|
14816
|
+
Get one specific decorated job by it's db id # noqa: E501
|
14917
14817
|
This method makes a synchronous HTTP request by default. To make an
|
14918
14818
|
asynchronous HTTP request, please pass async_req=True
|
14919
|
-
>>> thread = api.
|
14819
|
+
>>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get(job_id, async_req=True)
|
14920
14820
|
>>> result = thread.get()
|
14921
14821
|
|
14922
14822
|
:param async_req bool: execute request asynchronously
|
14923
|
-
:param str
|
14823
|
+
:param str job_id: (required)
|
14924
14824
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
14925
14825
|
be returned without reading/decoding response
|
14926
14826
|
data. Default is True.
|
@@ -14928,24 +14828,24 @@ class DefaultApi(object):
|
|
14928
14828
|
number provided, it will be total request
|
14929
14829
|
timeout. It can also be a pair (tuple) of
|
14930
14830
|
(connection, read) timeouts.
|
14931
|
-
:return:
|
14831
|
+
:return: DecoratedjobResponse
|
14932
14832
|
If the method is called asynchronously,
|
14933
14833
|
returns the request thread.
|
14934
14834
|
"""
|
14935
14835
|
kwargs['_return_http_data_only'] = True
|
14936
|
-
return self.
|
14836
|
+
return self.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
|
14937
14837
|
|
14938
|
-
def
|
14939
|
-
"""Get Decorated
|
14838
|
+
def get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
|
14839
|
+
"""Get Decorated Job # noqa: E501
|
14940
14840
|
|
14941
|
-
Get
|
14841
|
+
Get one specific decorated job by it's db id # noqa: E501
|
14942
14842
|
This method makes a synchronous HTTP request by default. To make an
|
14943
14843
|
asynchronous HTTP request, please pass async_req=True
|
14944
|
-
>>> thread = api.
|
14844
|
+
>>> thread = api.get_decorated_job_api_v2_decorated_jobs_job_id_get_with_http_info(job_id, async_req=True)
|
14945
14845
|
>>> result = thread.get()
|
14946
14846
|
|
14947
14847
|
:param async_req bool: execute request asynchronously
|
14948
|
-
:param str
|
14848
|
+
:param str job_id: (required)
|
14949
14849
|
:param _return_http_data_only: response data without head status code
|
14950
14850
|
and headers
|
14951
14851
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -14955,7 +14855,7 @@ class DefaultApi(object):
|
|
14955
14855
|
number provided, it will be total request
|
14956
14856
|
timeout. It can also be a pair (tuple) of
|
14957
14857
|
(connection, read) timeouts.
|
14958
|
-
:return: tuple(
|
14858
|
+
:return: tuple(DecoratedjobResponse, status_code(int), headers(HTTPHeaderDict))
|
14959
14859
|
If the method is called asynchronously,
|
14960
14860
|
returns the request thread.
|
14961
14861
|
"""
|
@@ -14963,7 +14863,7 @@ class DefaultApi(object):
|
|
14963
14863
|
local_var_params = locals()
|
14964
14864
|
|
14965
14865
|
all_params = [
|
14966
|
-
'
|
14866
|
+
'job_id'
|
14967
14867
|
]
|
14968
14868
|
all_params.extend(
|
14969
14869
|
[
|
@@ -14978,20 +14878,20 @@ class DefaultApi(object):
|
|
14978
14878
|
if key not in all_params:
|
14979
14879
|
raise ApiTypeError(
|
14980
14880
|
"Got an unexpected keyword argument '%s'"
|
14981
|
-
" to method
|
14881
|
+
" to method get_decorated_job_api_v2_decorated_jobs_job_id_get" % key
|
14982
14882
|
)
|
14983
14883
|
local_var_params[key] = val
|
14984
14884
|
del local_var_params['kwargs']
|
14985
|
-
# verify the required parameter '
|
14986
|
-
if self.api_client.client_side_validation and ('
|
14987
|
-
local_var_params['
|
14988
|
-
raise ApiValueError("Missing the required parameter `
|
14885
|
+
# verify the required parameter 'job_id' is set
|
14886
|
+
if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
|
14887
|
+
local_var_params['job_id'] is None): # noqa: E501
|
14888
|
+
raise ApiValueError("Missing the required parameter `job_id` when calling `get_decorated_job_api_v2_decorated_jobs_job_id_get`") # noqa: E501
|
14989
14889
|
|
14990
14890
|
collection_formats = {}
|
14991
14891
|
|
14992
14892
|
path_params = {}
|
14993
|
-
if '
|
14994
|
-
path_params['
|
14893
|
+
if 'job_id' in local_var_params:
|
14894
|
+
path_params['job_id'] = local_var_params['job_id'] # noqa: E501
|
14995
14895
|
|
14996
14896
|
query_params = []
|
14997
14897
|
|
@@ -15009,14 +14909,14 @@ class DefaultApi(object):
|
|
15009
14909
|
auth_settings = [] # noqa: E501
|
15010
14910
|
|
15011
14911
|
return self.api_client.call_api(
|
15012
|
-
'/api/v2/
|
14912
|
+
'/api/v2/decorated_jobs/{job_id}', 'GET',
|
15013
14913
|
path_params,
|
15014
14914
|
query_params,
|
15015
14915
|
header_params,
|
15016
14916
|
body=body_params,
|
15017
14917
|
post_params=form_params,
|
15018
14918
|
files=local_var_files,
|
15019
|
-
response_type='
|
14919
|
+
response_type='DecoratedjobResponse', # noqa: E501
|
15020
14920
|
auth_settings=auth_settings,
|
15021
14921
|
async_req=local_var_params.get('async_req'),
|
15022
14922
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -15024,17 +14924,17 @@ class DefaultApi(object):
|
|
15024
14924
|
_request_timeout=local_var_params.get('_request_timeout'),
|
15025
14925
|
collection_formats=collection_formats)
|
15026
14926
|
|
15027
|
-
def
|
15028
|
-
"""Get Decorated
|
14927
|
+
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(self, runtime_env_id, **kwargs): # noqa: E501
|
14928
|
+
"""Get Decorated Runtime Env # noqa: E501
|
15029
14929
|
|
15030
|
-
Get
|
14930
|
+
Get a single Runtime Environment by id # noqa: E501
|
15031
14931
|
This method makes a synchronous HTTP request by default. To make an
|
15032
14932
|
asynchronous HTTP request, please pass async_req=True
|
15033
|
-
>>> thread = api.
|
14933
|
+
>>> thread = api.get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get(runtime_env_id, async_req=True)
|
15034
14934
|
>>> result = thread.get()
|
15035
14935
|
|
15036
14936
|
:param async_req bool: execute request asynchronously
|
15037
|
-
:param str
|
14937
|
+
:param str runtime_env_id: (required)
|
15038
14938
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15039
14939
|
be returned without reading/decoding response
|
15040
14940
|
data. Default is True.
|
@@ -15042,24 +14942,24 @@ class DefaultApi(object):
|
|
15042
14942
|
number provided, it will be total request
|
15043
14943
|
timeout. It can also be a pair (tuple) of
|
15044
14944
|
(connection, read) timeouts.
|
15045
|
-
:return:
|
14945
|
+
:return: DecoratedruntimeenvResponse
|
15046
14946
|
If the method is called asynchronously,
|
15047
14947
|
returns the request thread.
|
15048
14948
|
"""
|
15049
14949
|
kwargs['_return_http_data_only'] = True
|
15050
|
-
return self.
|
14950
|
+
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
14951
|
|
15052
|
-
def
|
15053
|
-
"""Get Decorated
|
14952
|
+
def get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get_with_http_info(self, runtime_env_id, **kwargs): # noqa: E501
|
14953
|
+
"""Get Decorated Runtime Env # noqa: E501
|
15054
14954
|
|
15055
|
-
Get
|
14955
|
+
Get a single Runtime Environment by id # noqa: E501
|
15056
14956
|
This method makes a synchronous HTTP request by default. To make an
|
15057
14957
|
asynchronous HTTP request, please pass async_req=True
|
15058
|
-
>>> thread = api.
|
14958
|
+
>>> 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
14959
|
>>> result = thread.get()
|
15060
14960
|
|
15061
14961
|
:param async_req bool: execute request asynchronously
|
15062
|
-
:param str
|
14962
|
+
:param str runtime_env_id: (required)
|
15063
14963
|
:param _return_http_data_only: response data without head status code
|
15064
14964
|
and headers
|
15065
14965
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -15069,7 +14969,7 @@ class DefaultApi(object):
|
|
15069
14969
|
number provided, it will be total request
|
15070
14970
|
timeout. It can also be a pair (tuple) of
|
15071
14971
|
(connection, read) timeouts.
|
15072
|
-
:return: tuple(
|
14972
|
+
:return: tuple(DecoratedruntimeenvResponse, status_code(int), headers(HTTPHeaderDict))
|
15073
14973
|
If the method is called asynchronously,
|
15074
14974
|
returns the request thread.
|
15075
14975
|
"""
|
@@ -15077,7 +14977,7 @@ class DefaultApi(object):
|
|
15077
14977
|
local_var_params = locals()
|
15078
14978
|
|
15079
14979
|
all_params = [
|
15080
|
-
'
|
14980
|
+
'runtime_env_id'
|
15081
14981
|
]
|
15082
14982
|
all_params.extend(
|
15083
14983
|
[
|
@@ -15092,20 +14992,20 @@ class DefaultApi(object):
|
|
15092
14992
|
if key not in all_params:
|
15093
14993
|
raise ApiTypeError(
|
15094
14994
|
"Got an unexpected keyword argument '%s'"
|
15095
|
-
" to method
|
14995
|
+
" to method get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get" % key
|
15096
14996
|
)
|
15097
14997
|
local_var_params[key] = val
|
15098
14998
|
del local_var_params['kwargs']
|
15099
|
-
# verify the required parameter '
|
15100
|
-
if self.api_client.client_side_validation and ('
|
15101
|
-
local_var_params['
|
15102
|
-
raise ApiValueError("Missing the required parameter `
|
14999
|
+
# verify the required parameter 'runtime_env_id' is set
|
15000
|
+
if self.api_client.client_side_validation and ('runtime_env_id' not in local_var_params or # noqa: E501
|
15001
|
+
local_var_params['runtime_env_id'] is None): # noqa: E501
|
15002
|
+
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
15003
|
|
15104
15004
|
collection_formats = {}
|
15105
15005
|
|
15106
15006
|
path_params = {}
|
15107
|
-
if '
|
15108
|
-
path_params['
|
15007
|
+
if 'runtime_env_id' in local_var_params:
|
15008
|
+
path_params['runtime_env_id'] = local_var_params['runtime_env_id'] # noqa: E501
|
15109
15009
|
|
15110
15010
|
query_params = []
|
15111
15011
|
|
@@ -15123,14 +15023,14 @@ class DefaultApi(object):
|
|
15123
15023
|
auth_settings = [] # noqa: E501
|
15124
15024
|
|
15125
15025
|
return self.api_client.call_api(
|
15126
|
-
'/api/v2/
|
15026
|
+
'/api/v2/decorated_runtime_envs/{runtime_env_id}', 'GET',
|
15127
15027
|
path_params,
|
15128
15028
|
query_params,
|
15129
15029
|
header_params,
|
15130
15030
|
body=body_params,
|
15131
15031
|
post_params=form_params,
|
15132
15032
|
files=local_var_files,
|
15133
|
-
response_type='
|
15033
|
+
response_type='DecoratedruntimeenvResponse', # noqa: E501
|
15134
15034
|
auth_settings=auth_settings,
|
15135
15035
|
async_req=local_var_params.get('async_req'),
|
15136
15036
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -15138,17 +15038,17 @@ class DefaultApi(object):
|
|
15138
15038
|
_request_timeout=local_var_params.get('_request_timeout'),
|
15139
15039
|
collection_formats=collection_formats)
|
15140
15040
|
|
15141
|
-
def
|
15142
|
-
"""Get Decorated
|
15041
|
+
def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(self, serve_deloyment_id, **kwargs): # noqa: E501
|
15042
|
+
"""Get Decorated Serve Deployment # noqa: E501
|
15143
15043
|
|
15144
|
-
Get a
|
15044
|
+
Get a decorated serve deployment # noqa: E501
|
15145
15045
|
This method makes a synchronous HTTP request by default. To make an
|
15146
15046
|
asynchronous HTTP request, please pass async_req=True
|
15147
|
-
>>> thread = api.
|
15047
|
+
>>> thread = api.get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get(serve_deloyment_id, async_req=True)
|
15148
15048
|
>>> result = thread.get()
|
15149
15049
|
|
15150
15050
|
:param async_req bool: execute request asynchronously
|
15151
|
-
:param str
|
15051
|
+
:param str serve_deloyment_id: (required)
|
15152
15052
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15153
15053
|
be returned without reading/decoding response
|
15154
15054
|
data. Default is True.
|
@@ -15156,476 +15056,20 @@ class DefaultApi(object):
|
|
15156
15056
|
number provided, it will be total request
|
15157
15057
|
timeout. It can also be a pair (tuple) of
|
15158
15058
|
(connection, read) timeouts.
|
15159
|
-
:return:
|
15059
|
+
:return: DecoratedservedeploymentResponse
|
15160
15060
|
If the method is called asynchronously,
|
15161
15061
|
returns the request thread.
|
15162
15062
|
"""
|
15163
15063
|
kwargs['_return_http_data_only'] = True
|
15164
|
-
return self.
|
15064
|
+
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
15065
|
|
15166
|
-
def
|
15167
|
-
"""Get Decorated
|
15066
|
+
def get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get_with_http_info(self, serve_deloyment_id, **kwargs): # noqa: E501
|
15067
|
+
"""Get Decorated Serve Deployment # noqa: E501
|
15168
15068
|
|
15169
|
-
Get a
|
15069
|
+
Get a decorated serve deployment # noqa: E501
|
15170
15070
|
This method makes a synchronous HTTP request by default. To make an
|
15171
15071
|
asynchronous HTTP request, please pass async_req=True
|
15172
|
-
>>> thread = api.
|
15173
|
-
>>> result = thread.get()
|
15174
|
-
|
15175
|
-
:param async_req bool: execute request asynchronously
|
15176
|
-
:param str job_id: (required)
|
15177
|
-
:param _return_http_data_only: response data without head status code
|
15178
|
-
and headers
|
15179
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15180
|
-
be returned without reading/decoding response
|
15181
|
-
data. Default is True.
|
15182
|
-
:param _request_timeout: timeout setting for this request. If one
|
15183
|
-
number provided, it will be total request
|
15184
|
-
timeout. It can also be a pair (tuple) of
|
15185
|
-
(connection, read) timeouts.
|
15186
|
-
:return: tuple(JobslogsResponse, status_code(int), headers(HTTPHeaderDict))
|
15187
|
-
If the method is called asynchronously,
|
15188
|
-
returns the request thread.
|
15189
|
-
"""
|
15190
|
-
|
15191
|
-
local_var_params = locals()
|
15192
|
-
|
15193
|
-
all_params = [
|
15194
|
-
'job_id'
|
15195
|
-
]
|
15196
|
-
all_params.extend(
|
15197
|
-
[
|
15198
|
-
'async_req',
|
15199
|
-
'_return_http_data_only',
|
15200
|
-
'_preload_content',
|
15201
|
-
'_request_timeout'
|
15202
|
-
]
|
15203
|
-
)
|
15204
|
-
|
15205
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
15206
|
-
if key not in all_params:
|
15207
|
-
raise ApiTypeError(
|
15208
|
-
"Got an unexpected keyword argument '%s'"
|
15209
|
-
" to method get_decorated_job_logs_api_v2_decorated_jobs_job_id_logs_get" % key
|
15210
|
-
)
|
15211
|
-
local_var_params[key] = val
|
15212
|
-
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
|
15217
|
-
|
15218
|
-
collection_formats = {}
|
15219
|
-
|
15220
|
-
path_params = {}
|
15221
|
-
if 'job_id' in local_var_params:
|
15222
|
-
path_params['job_id'] = local_var_params['job_id'] # noqa: E501
|
15223
|
-
|
15224
|
-
query_params = []
|
15225
|
-
|
15226
|
-
header_params = {}
|
15227
|
-
|
15228
|
-
form_params = []
|
15229
|
-
local_var_files = {}
|
15230
|
-
|
15231
|
-
body_params = None
|
15232
|
-
# HTTP header `Accept`
|
15233
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15234
|
-
['application/json']) # noqa: E501
|
15235
|
-
|
15236
|
-
# Authentication setting
|
15237
|
-
auth_settings = [] # noqa: E501
|
15238
|
-
|
15239
|
-
return self.api_client.call_api(
|
15240
|
-
'/api/v2/decorated_jobs/{job_id}/logs', 'GET',
|
15241
|
-
path_params,
|
15242
|
-
query_params,
|
15243
|
-
header_params,
|
15244
|
-
body=body_params,
|
15245
|
-
post_params=form_params,
|
15246
|
-
files=local_var_files,
|
15247
|
-
response_type='JobslogsResponse', # noqa: E501
|
15248
|
-
auth_settings=auth_settings,
|
15249
|
-
async_req=local_var_params.get('async_req'),
|
15250
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15251
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
15252
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
15253
|
-
collection_formats=collection_formats)
|
15254
|
-
|
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
|
15257
|
-
|
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
|
15259
|
-
This method makes a synchronous HTTP request by default. To make an
|
15260
|
-
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)
|
15262
|
-
>>> result = thread.get()
|
15263
|
-
|
15264
|
-
:param async_req bool: execute request asynchronously
|
15265
|
-
:param str ray_job_submission_db_id: (required)
|
15266
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15267
|
-
be returned without reading/decoding response
|
15268
|
-
data. Default is True.
|
15269
|
-
:param _request_timeout: timeout setting for this request. If one
|
15270
|
-
number provided, it will be total request
|
15271
|
-
timeout. It can also be a pair (tuple) of
|
15272
|
-
(connection, read) timeouts.
|
15273
|
-
:return: DecoratedjobsubmissionResponse
|
15274
|
-
If the method is called asynchronously,
|
15275
|
-
returns the request thread.
|
15276
|
-
"""
|
15277
|
-
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
|
15279
|
-
|
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
|
15282
|
-
|
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
|
15284
|
-
This method makes a synchronous HTTP request by default. To make an
|
15285
|
-
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)
|
15287
|
-
>>> result = thread.get()
|
15288
|
-
|
15289
|
-
:param async_req bool: execute request asynchronously
|
15290
|
-
:param str ray_job_submission_db_id: (required)
|
15291
|
-
:param _return_http_data_only: response data without head status code
|
15292
|
-
and headers
|
15293
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15294
|
-
be returned without reading/decoding response
|
15295
|
-
data. Default is True.
|
15296
|
-
:param _request_timeout: timeout setting for this request. If one
|
15297
|
-
number provided, it will be total request
|
15298
|
-
timeout. It can also be a pair (tuple) of
|
15299
|
-
(connection, read) timeouts.
|
15300
|
-
:return: tuple(DecoratedjobsubmissionResponse, status_code(int), headers(HTTPHeaderDict))
|
15301
|
-
If the method is called asynchronously,
|
15302
|
-
returns the request thread.
|
15303
|
-
"""
|
15304
|
-
|
15305
|
-
local_var_params = locals()
|
15306
|
-
|
15307
|
-
all_params = [
|
15308
|
-
'ray_job_submission_db_id'
|
15309
|
-
]
|
15310
|
-
all_params.extend(
|
15311
|
-
[
|
15312
|
-
'async_req',
|
15313
|
-
'_return_http_data_only',
|
15314
|
-
'_preload_content',
|
15315
|
-
'_request_timeout'
|
15316
|
-
]
|
15317
|
-
)
|
15318
|
-
|
15319
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
15320
|
-
if key not in all_params:
|
15321
|
-
raise ApiTypeError(
|
15322
|
-
"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
|
15324
|
-
)
|
15325
|
-
local_var_params[key] = val
|
15326
|
-
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
|
15331
|
-
|
15332
|
-
collection_formats = {}
|
15333
|
-
|
15334
|
-
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
|
15337
|
-
|
15338
|
-
query_params = []
|
15339
|
-
|
15340
|
-
header_params = {}
|
15341
|
-
|
15342
|
-
form_params = []
|
15343
|
-
local_var_files = {}
|
15344
|
-
|
15345
|
-
body_params = None
|
15346
|
-
# HTTP header `Accept`
|
15347
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15348
|
-
['application/json']) # noqa: E501
|
15349
|
-
|
15350
|
-
# Authentication setting
|
15351
|
-
auth_settings = [] # noqa: E501
|
15352
|
-
|
15353
|
-
return self.api_client.call_api(
|
15354
|
-
'/api/v2/decorated_job_submissions/{ray_job_submission_db_id}', 'GET',
|
15355
|
-
path_params,
|
15356
|
-
query_params,
|
15357
|
-
header_params,
|
15358
|
-
body=body_params,
|
15359
|
-
post_params=form_params,
|
15360
|
-
files=local_var_files,
|
15361
|
-
response_type='DecoratedjobsubmissionResponse', # noqa: E501
|
15362
|
-
auth_settings=auth_settings,
|
15363
|
-
async_req=local_var_params.get('async_req'),
|
15364
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15365
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
15366
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
15367
|
-
collection_formats=collection_formats)
|
15368
|
-
|
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
|
15371
|
-
|
15372
|
-
Get a job submission logs by ray_job_submission_db_id # noqa: E501
|
15373
|
-
This method makes a synchronous HTTP request by default. To make an
|
15374
|
-
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)
|
15376
|
-
>>> result = thread.get()
|
15377
|
-
|
15378
|
-
:param async_req bool: execute request asynchronously
|
15379
|
-
:param str ray_job_submission_db_id: (required)
|
15380
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15381
|
-
be returned without reading/decoding response
|
15382
|
-
data. Default is True.
|
15383
|
-
:param _request_timeout: timeout setting for this request. If one
|
15384
|
-
number provided, it will be total request
|
15385
|
-
timeout. It can also be a pair (tuple) of
|
15386
|
-
(connection, read) timeouts.
|
15387
|
-
:return: InteractivesessionlogsResponse
|
15388
|
-
If the method is called asynchronously,
|
15389
|
-
returns the request thread.
|
15390
|
-
"""
|
15391
|
-
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
|
15393
|
-
|
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
|
15396
|
-
|
15397
|
-
Get a job submission logs by ray_job_submission_db_id # noqa: E501
|
15398
|
-
This method makes a synchronous HTTP request by default. To make an
|
15399
|
-
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)
|
15401
|
-
>>> result = thread.get()
|
15402
|
-
|
15403
|
-
:param async_req bool: execute request asynchronously
|
15404
|
-
:param str ray_job_submission_db_id: (required)
|
15405
|
-
:param _return_http_data_only: response data without head status code
|
15406
|
-
and headers
|
15407
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15408
|
-
be returned without reading/decoding response
|
15409
|
-
data. Default is True.
|
15410
|
-
:param _request_timeout: timeout setting for this request. If one
|
15411
|
-
number provided, it will be total request
|
15412
|
-
timeout. It can also be a pair (tuple) of
|
15413
|
-
(connection, read) timeouts.
|
15414
|
-
:return: tuple(InteractivesessionlogsResponse, status_code(int), headers(HTTPHeaderDict))
|
15415
|
-
If the method is called asynchronously,
|
15416
|
-
returns the request thread.
|
15417
|
-
"""
|
15418
|
-
|
15419
|
-
local_var_params = locals()
|
15420
|
-
|
15421
|
-
all_params = [
|
15422
|
-
'ray_job_submission_db_id'
|
15423
|
-
]
|
15424
|
-
all_params.extend(
|
15425
|
-
[
|
15426
|
-
'async_req',
|
15427
|
-
'_return_http_data_only',
|
15428
|
-
'_preload_content',
|
15429
|
-
'_request_timeout'
|
15430
|
-
]
|
15431
|
-
)
|
15432
|
-
|
15433
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
15434
|
-
if key not in all_params:
|
15435
|
-
raise ApiTypeError(
|
15436
|
-
"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
|
15438
|
-
)
|
15439
|
-
local_var_params[key] = val
|
15440
|
-
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
|
-
|
15446
|
-
collection_formats = {}
|
15447
|
-
|
15448
|
-
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
|
-
|
15452
|
-
query_params = []
|
15453
|
-
|
15454
|
-
header_params = {}
|
15455
|
-
|
15456
|
-
form_params = []
|
15457
|
-
local_var_files = {}
|
15458
|
-
|
15459
|
-
body_params = None
|
15460
|
-
# HTTP header `Accept`
|
15461
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
15462
|
-
['application/json']) # noqa: E501
|
15463
|
-
|
15464
|
-
# Authentication setting
|
15465
|
-
auth_settings = [] # noqa: E501
|
15466
|
-
|
15467
|
-
return self.api_client.call_api(
|
15468
|
-
'/api/v2/decorated_job_submissions/{ray_job_submission_db_id}/logs', 'GET',
|
15469
|
-
path_params,
|
15470
|
-
query_params,
|
15471
|
-
header_params,
|
15472
|
-
body=body_params,
|
15473
|
-
post_params=form_params,
|
15474
|
-
files=local_var_files,
|
15475
|
-
response_type='InteractivesessionlogsResponse', # noqa: E501
|
15476
|
-
auth_settings=auth_settings,
|
15477
|
-
async_req=local_var_params.get('async_req'),
|
15478
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15479
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
15480
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
15481
|
-
collection_formats=collection_formats)
|
15482
|
-
|
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
|
15485
|
-
|
15486
|
-
Get a single Runtime Environment by id # noqa: E501
|
15487
|
-
This method makes a synchronous HTTP request by default. To make an
|
15488
|
-
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)
|
15490
|
-
>>> result = thread.get()
|
15491
|
-
|
15492
|
-
:param async_req bool: execute request asynchronously
|
15493
|
-
:param str runtime_env_id: (required)
|
15494
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15495
|
-
be returned without reading/decoding response
|
15496
|
-
data. Default is True.
|
15497
|
-
:param _request_timeout: timeout setting for this request. If one
|
15498
|
-
number provided, it will be total request
|
15499
|
-
timeout. It can also be a pair (tuple) of
|
15500
|
-
(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)
|
15072
|
+
>>> 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
15073
|
>>> result = thread.get()
|
15630
15074
|
|
15631
15075
|
:param async_req bool: execute request asynchronously
|
@@ -15665,131 +15109,17 @@ class DefaultApi(object):
|
|
15665
15109
|
" to method get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get" % key
|
15666
15110
|
)
|
15667
15111
|
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
|
15112
|
+
del local_var_params['kwargs']
|
15113
|
+
# verify the required parameter 'serve_deloyment_id' is set
|
15114
|
+
if self.api_client.client_side_validation and ('serve_deloyment_id' not in local_var_params or # noqa: E501
|
15115
|
+
local_var_params['serve_deloyment_id'] is None): # noqa: E501
|
15116
|
+
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
|
15787
15117
|
|
15788
15118
|
collection_formats = {}
|
15789
15119
|
|
15790
15120
|
path_params = {}
|
15791
|
-
if '
|
15792
|
-
path_params['
|
15121
|
+
if 'serve_deloyment_id' in local_var_params:
|
15122
|
+
path_params['serve_deloyment_id'] = local_var_params['serve_deloyment_id'] # noqa: E501
|
15793
15123
|
|
15794
15124
|
query_params = []
|
15795
15125
|
|
@@ -15807,14 +15137,14 @@ class DefaultApi(object):
|
|
15807
15137
|
auth_settings = [] # noqa: E501
|
15808
15138
|
|
15809
15139
|
return self.api_client.call_api(
|
15810
|
-
'/api/v2/decorated_serve_deployments/{
|
15140
|
+
'/api/v2/decorated_serve_deployments/{serve_deloyment_id}', 'GET',
|
15811
15141
|
path_params,
|
15812
15142
|
query_params,
|
15813
15143
|
header_params,
|
15814
15144
|
body=body_params,
|
15815
15145
|
post_params=form_params,
|
15816
15146
|
files=local_var_files,
|
15817
|
-
response_type='
|
15147
|
+
response_type='DecoratedservedeploymentResponse', # noqa: E501
|
15818
15148
|
auth_settings=auth_settings,
|
15819
15149
|
async_req=local_var_params.get('async_req'),
|
15820
15150
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -15822,19 +15152,17 @@ class DefaultApi(object):
|
|
15822
15152
|
_request_timeout=local_var_params.get('_request_timeout'),
|
15823
15153
|
collection_formats=collection_formats)
|
15824
15154
|
|
15825
|
-
def
|
15826
|
-
"""Get Decorated Serve Deployment
|
15155
|
+
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
|
15156
|
+
"""Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
|
15827
15157
|
|
15828
|
-
|
15158
|
+
Check if the fast api docs url is healthy # noqa: E501
|
15829
15159
|
This method makes a synchronous HTTP request by default. To make an
|
15830
15160
|
asynchronous HTTP request, please pass async_req=True
|
15831
|
-
>>> thread = api.
|
15161
|
+
>>> 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)
|
15832
15162
|
>>> result = thread.get()
|
15833
15163
|
|
15834
15164
|
:param async_req bool: execute request asynchronously
|
15835
15165
|
: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
15166
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15839
15167
|
be returned without reading/decoding response
|
15840
15168
|
data. Default is True.
|
@@ -15842,26 +15170,24 @@ class DefaultApi(object):
|
|
15842
15170
|
number provided, it will be total request
|
15843
15171
|
timeout. It can also be a pair (tuple) of
|
15844
15172
|
(connection, read) timeouts.
|
15845
|
-
:return:
|
15173
|
+
:return: ServedeploymentfastapidocsstatusResponse
|
15846
15174
|
If the method is called asynchronously,
|
15847
15175
|
returns the request thread.
|
15848
15176
|
"""
|
15849
15177
|
kwargs['_return_http_data_only'] = True
|
15850
|
-
return self.
|
15178
|
+
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
|
15851
15179
|
|
15852
|
-
def
|
15853
|
-
"""Get Decorated Serve Deployment
|
15180
|
+
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
|
15181
|
+
"""Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
|
15854
15182
|
|
15855
|
-
|
15183
|
+
Check if the fast api docs url is healthy # noqa: E501
|
15856
15184
|
This method makes a synchronous HTTP request by default. To make an
|
15857
15185
|
asynchronous HTTP request, please pass async_req=True
|
15858
|
-
>>> thread = api.
|
15186
|
+
>>> 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)
|
15859
15187
|
>>> result = thread.get()
|
15860
15188
|
|
15861
15189
|
:param async_req bool: execute request asynchronously
|
15862
15190
|
: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
15191
|
:param _return_http_data_only: response data without head status code
|
15866
15192
|
and headers
|
15867
15193
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -15871,7 +15197,7 @@ class DefaultApi(object):
|
|
15871
15197
|
number provided, it will be total request
|
15872
15198
|
timeout. It can also be a pair (tuple) of
|
15873
15199
|
(connection, read) timeouts.
|
15874
|
-
:return: tuple(
|
15200
|
+
:return: tuple(ServedeploymentfastapidocsstatusResponse, status_code(int), headers(HTTPHeaderDict))
|
15875
15201
|
If the method is called asynchronously,
|
15876
15202
|
returns the request thread.
|
15877
15203
|
"""
|
@@ -15879,9 +15205,7 @@ class DefaultApi(object):
|
|
15879
15205
|
local_var_params = locals()
|
15880
15206
|
|
15881
15207
|
all_params = [
|
15882
|
-
'serve_deployment_id'
|
15883
|
-
'cluster_id',
|
15884
|
-
'deployment_name'
|
15208
|
+
'serve_deployment_id'
|
15885
15209
|
]
|
15886
15210
|
all_params.extend(
|
15887
15211
|
[
|
@@ -15896,14 +15220,14 @@ class DefaultApi(object):
|
|
15896
15220
|
if key not in all_params:
|
15897
15221
|
raise ApiTypeError(
|
15898
15222
|
"Got an unexpected keyword argument '%s'"
|
15899
|
-
" to method
|
15223
|
+
" to method get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get" % key
|
15900
15224
|
)
|
15901
15225
|
local_var_params[key] = val
|
15902
15226
|
del local_var_params['kwargs']
|
15903
15227
|
# verify the required parameter 'serve_deployment_id' is set
|
15904
15228
|
if self.api_client.client_side_validation and ('serve_deployment_id' not in local_var_params or # noqa: E501
|
15905
15229
|
local_var_params['serve_deployment_id'] is None): # noqa: E501
|
15906
|
-
raise ApiValueError("Missing the required parameter `serve_deployment_id` when calling `
|
15230
|
+
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
|
15907
15231
|
|
15908
15232
|
collection_formats = {}
|
15909
15233
|
|
@@ -15912,10 +15236,6 @@ class DefaultApi(object):
|
|
15912
15236
|
path_params['serve_deployment_id'] = local_var_params['serve_deployment_id'] # noqa: E501
|
15913
15237
|
|
15914
15238
|
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
15239
|
|
15920
15240
|
header_params = {}
|
15921
15241
|
|
@@ -15931,14 +15251,14 @@ class DefaultApi(object):
|
|
15931
15251
|
auth_settings = [] # noqa: E501
|
15932
15252
|
|
15933
15253
|
return self.api_client.call_api(
|
15934
|
-
'/api/v2/decorated_serve_deployments/{serve_deployment_id}/
|
15254
|
+
'/api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status', 'GET',
|
15935
15255
|
path_params,
|
15936
15256
|
query_params,
|
15937
15257
|
header_params,
|
15938
15258
|
body=body_params,
|
15939
15259
|
post_params=form_params,
|
15940
15260
|
files=local_var_files,
|
15941
|
-
response_type='
|
15261
|
+
response_type='ServedeploymentfastapidocsstatusResponse', # noqa: E501
|
15942
15262
|
auth_settings=auth_settings,
|
15943
15263
|
async_req=local_var_params.get('async_req'),
|
15944
15264
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -16651,6 +15971,7 @@ class DefaultApi(object):
|
|
16651
15971
|
:param int start_line: (required)
|
16652
15972
|
:param int end_line: (required)
|
16653
15973
|
:param str extension:
|
15974
|
+
:param datetime start_time:
|
16654
15975
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16655
15976
|
be returned without reading/decoding response
|
16656
15977
|
data. Default is True.
|
@@ -16678,6 +15999,7 @@ class DefaultApi(object):
|
|
16678
15999
|
:param int start_line: (required)
|
16679
16000
|
:param int end_line: (required)
|
16680
16001
|
:param str extension:
|
16002
|
+
:param datetime start_time:
|
16681
16003
|
:param _return_http_data_only: response data without head status code
|
16682
16004
|
and headers
|
16683
16005
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -16698,7 +16020,8 @@ class DefaultApi(object):
|
|
16698
16020
|
'session_command_id',
|
16699
16021
|
'start_line',
|
16700
16022
|
'end_line',
|
16701
|
-
'extension'
|
16023
|
+
'extension',
|
16024
|
+
'start_time'
|
16702
16025
|
]
|
16703
16026
|
all_params.extend(
|
16704
16027
|
[
|
@@ -16743,6 +16066,8 @@ class DefaultApi(object):
|
|
16743
16066
|
query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
|
16744
16067
|
if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
|
16745
16068
|
query_params.append(('extension', local_var_params['extension'])) # noqa: E501
|
16069
|
+
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
16070
|
+
query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
|
16746
16071
|
|
16747
16072
|
header_params = {}
|
16748
16073
|
|
@@ -16885,121 +16210,6 @@ class DefaultApi(object):
|
|
16885
16210
|
_request_timeout=local_var_params.get('_request_timeout'),
|
16886
16211
|
collection_formats=collection_formats)
|
16887
16212
|
|
16888
|
-
def get_feature_compatibility_api_v2_product_features_get(self, **kwargs): # noqa: E501
|
16889
|
-
"""Get Feature Compatibility # noqa: E501
|
16890
|
-
|
16891
|
-
Retrieve the compatibility of product features with a ray version # noqa: E501
|
16892
|
-
This method makes a synchronous HTTP request by default. To make an
|
16893
|
-
asynchronous HTTP request, please pass async_req=True
|
16894
|
-
>>> thread = api.get_feature_compatibility_api_v2_product_features_get(async_req=True)
|
16895
|
-
>>> result = thread.get()
|
16896
|
-
|
16897
|
-
:param async_req bool: execute request asynchronously
|
16898
|
-
:param str cluster_id: A cluster to query the ray version of.
|
16899
|
-
:param str ray_version_str: A ray version to test feature compatibility with.Useful for preemptively testing ray version of clusters that haven't started yet
|
16900
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16901
|
-
be returned without reading/decoding response
|
16902
|
-
data. Default is True.
|
16903
|
-
:param _request_timeout: timeout setting for this request. If one
|
16904
|
-
number provided, it will be total request
|
16905
|
-
timeout. It can also be a pair (tuple) of
|
16906
|
-
(connection, read) timeouts.
|
16907
|
-
:return: ClusterfeaturesResponse
|
16908
|
-
If the method is called asynchronously,
|
16909
|
-
returns the request thread.
|
16910
|
-
"""
|
16911
|
-
kwargs['_return_http_data_only'] = True
|
16912
|
-
return self.get_feature_compatibility_api_v2_product_features_get_with_http_info(**kwargs) # noqa: E501
|
16913
|
-
|
16914
|
-
def get_feature_compatibility_api_v2_product_features_get_with_http_info(self, **kwargs): # noqa: E501
|
16915
|
-
"""Get Feature Compatibility # noqa: E501
|
16916
|
-
|
16917
|
-
Retrieve the compatibility of product features with a ray version # noqa: E501
|
16918
|
-
This method makes a synchronous HTTP request by default. To make an
|
16919
|
-
asynchronous HTTP request, please pass async_req=True
|
16920
|
-
>>> thread = api.get_feature_compatibility_api_v2_product_features_get_with_http_info(async_req=True)
|
16921
|
-
>>> result = thread.get()
|
16922
|
-
|
16923
|
-
:param async_req bool: execute request asynchronously
|
16924
|
-
:param str cluster_id: A cluster to query the ray version of.
|
16925
|
-
:param str ray_version_str: A ray version to test feature compatibility with.Useful for preemptively testing ray version of clusters that haven't started yet
|
16926
|
-
:param _return_http_data_only: response data without head status code
|
16927
|
-
and headers
|
16928
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
16929
|
-
be returned without reading/decoding response
|
16930
|
-
data. Default is True.
|
16931
|
-
:param _request_timeout: timeout setting for this request. If one
|
16932
|
-
number provided, it will be total request
|
16933
|
-
timeout. It can also be a pair (tuple) of
|
16934
|
-
(connection, read) timeouts.
|
16935
|
-
:return: tuple(ClusterfeaturesResponse, status_code(int), headers(HTTPHeaderDict))
|
16936
|
-
If the method is called asynchronously,
|
16937
|
-
returns the request thread.
|
16938
|
-
"""
|
16939
|
-
|
16940
|
-
local_var_params = locals()
|
16941
|
-
|
16942
|
-
all_params = [
|
16943
|
-
'cluster_id',
|
16944
|
-
'ray_version_str'
|
16945
|
-
]
|
16946
|
-
all_params.extend(
|
16947
|
-
[
|
16948
|
-
'async_req',
|
16949
|
-
'_return_http_data_only',
|
16950
|
-
'_preload_content',
|
16951
|
-
'_request_timeout'
|
16952
|
-
]
|
16953
|
-
)
|
16954
|
-
|
16955
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
16956
|
-
if key not in all_params:
|
16957
|
-
raise ApiTypeError(
|
16958
|
-
"Got an unexpected keyword argument '%s'"
|
16959
|
-
" to method get_feature_compatibility_api_v2_product_features_get" % key
|
16960
|
-
)
|
16961
|
-
local_var_params[key] = val
|
16962
|
-
del local_var_params['kwargs']
|
16963
|
-
|
16964
|
-
collection_formats = {}
|
16965
|
-
|
16966
|
-
path_params = {}
|
16967
|
-
|
16968
|
-
query_params = []
|
16969
|
-
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
16970
|
-
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
16971
|
-
if 'ray_version_str' in local_var_params and local_var_params['ray_version_str'] is not None: # noqa: E501
|
16972
|
-
query_params.append(('ray_version_str', local_var_params['ray_version_str'])) # noqa: E501
|
16973
|
-
|
16974
|
-
header_params = {}
|
16975
|
-
|
16976
|
-
form_params = []
|
16977
|
-
local_var_files = {}
|
16978
|
-
|
16979
|
-
body_params = None
|
16980
|
-
# HTTP header `Accept`
|
16981
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
16982
|
-
['application/json']) # noqa: E501
|
16983
|
-
|
16984
|
-
# Authentication setting
|
16985
|
-
auth_settings = [] # noqa: E501
|
16986
|
-
|
16987
|
-
return self.api_client.call_api(
|
16988
|
-
'/api/v2/product_features/', 'GET',
|
16989
|
-
path_params,
|
16990
|
-
query_params,
|
16991
|
-
header_params,
|
16992
|
-
body=body_params,
|
16993
|
-
post_params=form_params,
|
16994
|
-
files=local_var_files,
|
16995
|
-
response_type='ClusterfeaturesResponse', # noqa: E501
|
16996
|
-
auth_settings=auth_settings,
|
16997
|
-
async_req=local_var_params.get('async_req'),
|
16998
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
16999
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
17000
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
17001
|
-
collection_formats=collection_formats)
|
17002
|
-
|
17003
16213
|
def get_instance_usage_budget_api_v2_instance_usage_budgets_instance_usage_budget_id_get(self, instance_usage_budget_id, **kwargs): # noqa: E501
|
17004
16214
|
"""Get Instance Usage Budget # noqa: E501
|
17005
16215
|
|
@@ -17749,147 +16959,22 @@ class DefaultApi(object):
|
|
17749
16959
|
returns the request thread.
|
17750
16960
|
"""
|
17751
16961
|
kwargs['_return_http_data_only'] = True
|
17752
|
-
return self.get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
|
17753
|
-
|
17754
|
-
def get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
|
17755
|
-
"""Get Job Logs Download V2 # noqa: E501
|
17756
|
-
|
17757
|
-
Fetches the job logs of a single job run. This is a single API that supports job logs no matter if the job is still running or not. If the job is still running, the logs will be fetched from the streaming logs s3 path. If the job is not running, the logs will be fetched from downloaded logs s3 path. If a pagination token is provided, we use the streaming logs or downloaded logs path depending on the format of the pagination token. TODO(aguo): Implement job alive or dead detection # noqa: E501
|
17758
|
-
This method makes a synchronous HTTP request by default. To make an
|
17759
|
-
asynchronous HTTP request, please pass async_req=True
|
17760
|
-
>>> thread = api.get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(job_id, async_req=True)
|
17761
|
-
>>> result = thread.get()
|
17762
|
-
|
17763
|
-
:param async_req bool: execute request asynchronously
|
17764
|
-
:param str job_id: (required)
|
17765
|
-
:param int page_size: Number of chunks to fetch. Defaults to 400. Max of 1000.
|
17766
|
-
:param str next_page_token: Pagination token for getting newer logs.
|
17767
|
-
:param str previous_page_token: Pagination token for getting older logs.
|
17768
|
-
:param _return_http_data_only: response data without head status code
|
17769
|
-
and headers
|
17770
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
17771
|
-
be returned without reading/decoding response
|
17772
|
-
data. Default is True.
|
17773
|
-
:param _request_timeout: timeout setting for this request. If one
|
17774
|
-
number provided, it will be total request
|
17775
|
-
timeout. It can also be a pair (tuple) of
|
17776
|
-
(connection, read) timeouts.
|
17777
|
-
:return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
|
17778
|
-
If the method is called asynchronously,
|
17779
|
-
returns the request thread.
|
17780
|
-
"""
|
17781
|
-
|
17782
|
-
local_var_params = locals()
|
17783
|
-
|
17784
|
-
all_params = [
|
17785
|
-
'job_id',
|
17786
|
-
'page_size',
|
17787
|
-
'next_page_token',
|
17788
|
-
'previous_page_token'
|
17789
|
-
]
|
17790
|
-
all_params.extend(
|
17791
|
-
[
|
17792
|
-
'async_req',
|
17793
|
-
'_return_http_data_only',
|
17794
|
-
'_preload_content',
|
17795
|
-
'_request_timeout'
|
17796
|
-
]
|
17797
|
-
)
|
17798
|
-
|
17799
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
17800
|
-
if key not in all_params:
|
17801
|
-
raise ApiTypeError(
|
17802
|
-
"Got an unexpected keyword argument '%s'"
|
17803
|
-
" to method get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get" % key
|
17804
|
-
)
|
17805
|
-
local_var_params[key] = val
|
17806
|
-
del local_var_params['kwargs']
|
17807
|
-
# verify the required parameter 'job_id' is set
|
17808
|
-
if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
|
17809
|
-
local_var_params['job_id'] is None): # noqa: E501
|
17810
|
-
raise ApiValueError("Missing the required parameter `job_id` when calling `get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get`") # noqa: E501
|
17811
|
-
|
17812
|
-
if self.api_client.client_side_validation and 'page_size' in local_var_params and local_var_params['page_size'] > 1000: # noqa: E501
|
17813
|
-
raise ApiValueError("Invalid value for parameter `page_size` when calling `get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get`, must be a value less than or equal to `1000`") # noqa: E501
|
17814
|
-
collection_formats = {}
|
17815
|
-
|
17816
|
-
path_params = {}
|
17817
|
-
if 'job_id' in local_var_params:
|
17818
|
-
path_params['job_id'] = local_var_params['job_id'] # noqa: E501
|
17819
|
-
|
17820
|
-
query_params = []
|
17821
|
-
if 'page_size' in local_var_params and local_var_params['page_size'] is not None: # noqa: E501
|
17822
|
-
query_params.append(('page_size', local_var_params['page_size'])) # noqa: E501
|
17823
|
-
if 'next_page_token' in local_var_params and local_var_params['next_page_token'] is not None: # noqa: E501
|
17824
|
-
query_params.append(('next_page_token', local_var_params['next_page_token'])) # noqa: E501
|
17825
|
-
if 'previous_page_token' in local_var_params and local_var_params['previous_page_token'] is not None: # noqa: E501
|
17826
|
-
query_params.append(('previous_page_token', local_var_params['previous_page_token'])) # noqa: E501
|
17827
|
-
|
17828
|
-
header_params = {}
|
17829
|
-
|
17830
|
-
form_params = []
|
17831
|
-
local_var_files = {}
|
17832
|
-
|
17833
|
-
body_params = None
|
17834
|
-
# HTTP header `Accept`
|
17835
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
17836
|
-
['application/json']) # noqa: E501
|
17837
|
-
|
17838
|
-
# Authentication setting
|
17839
|
-
auth_settings = [] # noqa: E501
|
17840
|
-
|
17841
|
-
return self.api_client.call_api(
|
17842
|
-
'/api/v2/logs/job_logs_download_v2/{job_id}', 'GET',
|
17843
|
-
path_params,
|
17844
|
-
query_params,
|
17845
|
-
header_params,
|
17846
|
-
body=body_params,
|
17847
|
-
post_params=form_params,
|
17848
|
-
files=local_var_files,
|
17849
|
-
response_type='LogdownloadresultResponse', # noqa: E501
|
17850
|
-
auth_settings=auth_settings,
|
17851
|
-
async_req=local_var_params.get('async_req'),
|
17852
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
17853
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
17854
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
17855
|
-
collection_formats=collection_formats)
|
17856
|
-
|
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
|
16962
|
+
return self.get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(job_id, **kwargs) # noqa: E501
|
17881
16963
|
|
17882
|
-
def
|
17883
|
-
"""Get Job Logs
|
16964
|
+
def get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(self, job_id, **kwargs): # noqa: E501
|
16965
|
+
"""Get Job Logs Download V2 # noqa: E501
|
17884
16966
|
|
17885
|
-
|
16967
|
+
Fetches the job logs of a single job run. This is a single API that supports job logs no matter if the job is still running or not. If the job is still running, the logs will be fetched from the streaming logs s3 path. If the job is not running, the logs will be fetched from downloaded logs s3 path. If a pagination token is provided, we use the streaming logs or downloaded logs path depending on the format of the pagination token. TODO(aguo): Implement job alive or dead detection # noqa: E501
|
17886
16968
|
This method makes a synchronous HTTP request by default. To make an
|
17887
16969
|
asynchronous HTTP request, please pass async_req=True
|
17888
|
-
>>> thread = api.
|
16970
|
+
>>> thread = api.get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get_with_http_info(job_id, async_req=True)
|
17889
16971
|
>>> result = thread.get()
|
17890
16972
|
|
17891
16973
|
:param async_req bool: execute request asynchronously
|
17892
|
-
:param str
|
16974
|
+
:param str job_id: (required)
|
16975
|
+
:param int page_size: Number of chunks to fetch. Defaults to 400. Max of 1000.
|
16976
|
+
:param str next_page_token: Pagination token for getting newer logs.
|
16977
|
+
:param str previous_page_token: Pagination token for getting older logs.
|
17893
16978
|
:param _return_http_data_only: response data without head status code
|
17894
16979
|
and headers
|
17895
16980
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -17899,7 +16984,7 @@ class DefaultApi(object):
|
|
17899
16984
|
number provided, it will be total request
|
17900
16985
|
timeout. It can also be a pair (tuple) of
|
17901
16986
|
(connection, read) timeouts.
|
17902
|
-
:return: tuple(
|
16987
|
+
:return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
|
17903
16988
|
If the method is called asynchronously,
|
17904
16989
|
returns the request thread.
|
17905
16990
|
"""
|
@@ -17907,7 +16992,10 @@ class DefaultApi(object):
|
|
17907
16992
|
local_var_params = locals()
|
17908
16993
|
|
17909
16994
|
all_params = [
|
17910
|
-
'
|
16995
|
+
'job_id',
|
16996
|
+
'page_size',
|
16997
|
+
'next_page_token',
|
16998
|
+
'previous_page_token'
|
17911
16999
|
]
|
17912
17000
|
all_params.extend(
|
17913
17001
|
[
|
@@ -17922,22 +17010,30 @@ class DefaultApi(object):
|
|
17922
17010
|
if key not in all_params:
|
17923
17011
|
raise ApiTypeError(
|
17924
17012
|
"Got an unexpected keyword argument '%s'"
|
17925
|
-
" to method
|
17013
|
+
" to method get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get" % key
|
17926
17014
|
)
|
17927
17015
|
local_var_params[key] = val
|
17928
17016
|
del local_var_params['kwargs']
|
17929
|
-
# verify the required parameter '
|
17930
|
-
if self.api_client.client_side_validation and ('
|
17931
|
-
local_var_params['
|
17932
|
-
raise ApiValueError("Missing the required parameter `
|
17017
|
+
# verify the required parameter 'job_id' is set
|
17018
|
+
if self.api_client.client_side_validation and ('job_id' not in local_var_params or # noqa: E501
|
17019
|
+
local_var_params['job_id'] is None): # noqa: E501
|
17020
|
+
raise ApiValueError("Missing the required parameter `job_id` when calling `get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get`") # noqa: E501
|
17933
17021
|
|
17022
|
+
if self.api_client.client_side_validation and 'page_size' in local_var_params and local_var_params['page_size'] > 1000: # noqa: E501
|
17023
|
+
raise ApiValueError("Invalid value for parameter `page_size` when calling `get_job_logs_download_v2_api_v2_logs_job_logs_download_v2_job_id_get`, must be a value less than or equal to `1000`") # noqa: E501
|
17934
17024
|
collection_formats = {}
|
17935
17025
|
|
17936
17026
|
path_params = {}
|
17937
|
-
if '
|
17938
|
-
path_params['
|
17027
|
+
if 'job_id' in local_var_params:
|
17028
|
+
path_params['job_id'] = local_var_params['job_id'] # noqa: E501
|
17939
17029
|
|
17940
17030
|
query_params = []
|
17031
|
+
if 'page_size' in local_var_params and local_var_params['page_size'] is not None: # noqa: E501
|
17032
|
+
query_params.append(('page_size', local_var_params['page_size'])) # noqa: E501
|
17033
|
+
if 'next_page_token' in local_var_params and local_var_params['next_page_token'] is not None: # noqa: E501
|
17034
|
+
query_params.append(('next_page_token', local_var_params['next_page_token'])) # noqa: E501
|
17035
|
+
if 'previous_page_token' in local_var_params and local_var_params['previous_page_token'] is not None: # noqa: E501
|
17036
|
+
query_params.append(('previous_page_token', local_var_params['previous_page_token'])) # noqa: E501
|
17941
17037
|
|
17942
17038
|
header_params = {}
|
17943
17039
|
|
@@ -17953,14 +17049,14 @@ class DefaultApi(object):
|
|
17953
17049
|
auth_settings = [] # noqa: E501
|
17954
17050
|
|
17955
17051
|
return self.api_client.call_api(
|
17956
|
-
'/api/v2/
|
17052
|
+
'/api/v2/logs/job_logs_download_v2/{job_id}', 'GET',
|
17957
17053
|
path_params,
|
17958
17054
|
query_params,
|
17959
17055
|
header_params,
|
17960
17056
|
body=body_params,
|
17961
17057
|
post_params=form_params,
|
17962
17058
|
files=local_var_files,
|
17963
|
-
response_type='
|
17059
|
+
response_type='LogdownloadresultResponse', # noqa: E501
|
17964
17060
|
auth_settings=auth_settings,
|
17965
17061
|
async_req=local_var_params.get('async_req'),
|
17966
17062
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -19445,6 +18541,163 @@ class DefaultApi(object):
|
|
19445
18541
|
_request_timeout=local_var_params.get('_request_timeout'),
|
19446
18542
|
collection_formats=collection_formats)
|
19447
18543
|
|
18544
|
+
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
|
18545
|
+
"""Get Operator Metrics # noqa: E501
|
18546
|
+
|
18547
|
+
This method makes a synchronous HTTP request by default. To make an
|
18548
|
+
asynchronous HTTP request, please pass async_req=True
|
18549
|
+
>>> 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)
|
18550
|
+
>>> result = thread.get()
|
18551
|
+
|
18552
|
+
:param async_req bool: execute request asynchronously
|
18553
|
+
:param str cluster_id: (required)
|
18554
|
+
:param str session_name: (required)
|
18555
|
+
:param str dataset_id: (required)
|
18556
|
+
:param str operator_id: (required)
|
18557
|
+
:param int dataset_start_time: (required)
|
18558
|
+
:param int dataset_end_time: (required)
|
18559
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18560
|
+
be returned without reading/decoding response
|
18561
|
+
data. Default is True.
|
18562
|
+
:param _request_timeout: timeout setting for this request. If one
|
18563
|
+
number provided, it will be total request
|
18564
|
+
timeout. It can also be a pair (tuple) of
|
18565
|
+
(connection, read) timeouts.
|
18566
|
+
:return: OperatorMetrics
|
18567
|
+
If the method is called asynchronously,
|
18568
|
+
returns the request thread.
|
18569
|
+
"""
|
18570
|
+
kwargs['_return_http_data_only'] = True
|
18571
|
+
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
|
18572
|
+
|
18573
|
+
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
|
18574
|
+
"""Get Operator Metrics # noqa: E501
|
18575
|
+
|
18576
|
+
This method makes a synchronous HTTP request by default. To make an
|
18577
|
+
asynchronous HTTP request, please pass async_req=True
|
18578
|
+
>>> 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)
|
18579
|
+
>>> result = thread.get()
|
18580
|
+
|
18581
|
+
:param async_req bool: execute request asynchronously
|
18582
|
+
:param str cluster_id: (required)
|
18583
|
+
:param str session_name: (required)
|
18584
|
+
:param str dataset_id: (required)
|
18585
|
+
:param str operator_id: (required)
|
18586
|
+
:param int dataset_start_time: (required)
|
18587
|
+
:param int dataset_end_time: (required)
|
18588
|
+
:param _return_http_data_only: response data without head status code
|
18589
|
+
and headers
|
18590
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
18591
|
+
be returned without reading/decoding response
|
18592
|
+
data. Default is True.
|
18593
|
+
:param _request_timeout: timeout setting for this request. If one
|
18594
|
+
number provided, it will be total request
|
18595
|
+
timeout. It can also be a pair (tuple) of
|
18596
|
+
(connection, read) timeouts.
|
18597
|
+
:return: tuple(OperatorMetrics, status_code(int), headers(HTTPHeaderDict))
|
18598
|
+
If the method is called asynchronously,
|
18599
|
+
returns the request thread.
|
18600
|
+
"""
|
18601
|
+
|
18602
|
+
local_var_params = locals()
|
18603
|
+
|
18604
|
+
all_params = [
|
18605
|
+
'cluster_id',
|
18606
|
+
'session_name',
|
18607
|
+
'dataset_id',
|
18608
|
+
'operator_id',
|
18609
|
+
'dataset_start_time',
|
18610
|
+
'dataset_end_time'
|
18611
|
+
]
|
18612
|
+
all_params.extend(
|
18613
|
+
[
|
18614
|
+
'async_req',
|
18615
|
+
'_return_http_data_only',
|
18616
|
+
'_preload_content',
|
18617
|
+
'_request_timeout'
|
18618
|
+
]
|
18619
|
+
)
|
18620
|
+
|
18621
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
18622
|
+
if key not in all_params:
|
18623
|
+
raise ApiTypeError(
|
18624
|
+
"Got an unexpected keyword argument '%s'"
|
18625
|
+
" to method get_operator_metrics_api_v2_dataset_runs_operator_get" % key
|
18626
|
+
)
|
18627
|
+
local_var_params[key] = val
|
18628
|
+
del local_var_params['kwargs']
|
18629
|
+
# verify the required parameter 'cluster_id' is set
|
18630
|
+
if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
|
18631
|
+
local_var_params['cluster_id'] is None): # noqa: E501
|
18632
|
+
raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18633
|
+
# verify the required parameter 'session_name' is set
|
18634
|
+
if self.api_client.client_side_validation and ('session_name' not in local_var_params or # noqa: E501
|
18635
|
+
local_var_params['session_name'] is None): # noqa: E501
|
18636
|
+
raise ApiValueError("Missing the required parameter `session_name` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18637
|
+
# verify the required parameter 'dataset_id' is set
|
18638
|
+
if self.api_client.client_side_validation and ('dataset_id' not in local_var_params or # noqa: E501
|
18639
|
+
local_var_params['dataset_id'] is None): # noqa: E501
|
18640
|
+
raise ApiValueError("Missing the required parameter `dataset_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18641
|
+
# verify the required parameter 'operator_id' is set
|
18642
|
+
if self.api_client.client_side_validation and ('operator_id' not in local_var_params or # noqa: E501
|
18643
|
+
local_var_params['operator_id'] is None): # noqa: E501
|
18644
|
+
raise ApiValueError("Missing the required parameter `operator_id` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18645
|
+
# verify the required parameter 'dataset_start_time' is set
|
18646
|
+
if self.api_client.client_side_validation and ('dataset_start_time' not in local_var_params or # noqa: E501
|
18647
|
+
local_var_params['dataset_start_time'] is None): # noqa: E501
|
18648
|
+
raise ApiValueError("Missing the required parameter `dataset_start_time` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18649
|
+
# verify the required parameter 'dataset_end_time' is set
|
18650
|
+
if self.api_client.client_side_validation and ('dataset_end_time' not in local_var_params or # noqa: E501
|
18651
|
+
local_var_params['dataset_end_time'] is None): # noqa: E501
|
18652
|
+
raise ApiValueError("Missing the required parameter `dataset_end_time` when calling `get_operator_metrics_api_v2_dataset_runs_operator_get`") # noqa: E501
|
18653
|
+
|
18654
|
+
collection_formats = {}
|
18655
|
+
|
18656
|
+
path_params = {}
|
18657
|
+
|
18658
|
+
query_params = []
|
18659
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
18660
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
18661
|
+
if 'session_name' in local_var_params and local_var_params['session_name'] is not None: # noqa: E501
|
18662
|
+
query_params.append(('session_name', local_var_params['session_name'])) # noqa: E501
|
18663
|
+
if 'dataset_id' in local_var_params and local_var_params['dataset_id'] is not None: # noqa: E501
|
18664
|
+
query_params.append(('dataset_id', local_var_params['dataset_id'])) # noqa: E501
|
18665
|
+
if 'operator_id' in local_var_params and local_var_params['operator_id'] is not None: # noqa: E501
|
18666
|
+
query_params.append(('operator_id', local_var_params['operator_id'])) # noqa: E501
|
18667
|
+
if 'dataset_start_time' in local_var_params and local_var_params['dataset_start_time'] is not None: # noqa: E501
|
18668
|
+
query_params.append(('dataset_start_time', local_var_params['dataset_start_time'])) # noqa: E501
|
18669
|
+
if 'dataset_end_time' in local_var_params and local_var_params['dataset_end_time'] is not None: # noqa: E501
|
18670
|
+
query_params.append(('dataset_end_time', local_var_params['dataset_end_time'])) # noqa: E501
|
18671
|
+
|
18672
|
+
header_params = {}
|
18673
|
+
|
18674
|
+
form_params = []
|
18675
|
+
local_var_files = {}
|
18676
|
+
|
18677
|
+
body_params = None
|
18678
|
+
# HTTP header `Accept`
|
18679
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
18680
|
+
['application/json']) # noqa: E501
|
18681
|
+
|
18682
|
+
# Authentication setting
|
18683
|
+
auth_settings = [] # noqa: E501
|
18684
|
+
|
18685
|
+
return self.api_client.call_api(
|
18686
|
+
'/api/v2/dataset_runs/operator', 'GET',
|
18687
|
+
path_params,
|
18688
|
+
query_params,
|
18689
|
+
header_params,
|
18690
|
+
body=body_params,
|
18691
|
+
post_params=form_params,
|
18692
|
+
files=local_var_files,
|
18693
|
+
response_type='OperatorMetrics', # noqa: E501
|
18694
|
+
auth_settings=auth_settings,
|
18695
|
+
async_req=local_var_params.get('async_req'),
|
18696
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
18697
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
18698
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
18699
|
+
collection_formats=collection_formats)
|
18700
|
+
|
19448
18701
|
def get_organization_metronome_usage_alerts_api_v2_organization_billing_alerts_get(self, **kwargs): # noqa: E501
|
19449
18702
|
"""Get Organization Metronome Usage Alerts # noqa: E501
|
19450
18703
|
|
@@ -20557,135 +19810,23 @@ class DefaultApi(object):
|
|
20557
19810
|
number provided, it will be total request
|
20558
19811
|
timeout. It can also be a pair (tuple) of
|
20559
19812
|
(connection, read) timeouts.
|
20560
|
-
:return: ResourcenotificationResponse
|
20561
|
-
If the method is called asynchronously,
|
20562
|
-
returns the request thread.
|
20563
|
-
"""
|
20564
|
-
kwargs['_return_http_data_only'] = True
|
20565
|
-
return self.get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(resource_notification_id, **kwargs) # noqa: E501
|
20566
|
-
|
20567
|
-
def get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(self, resource_notification_id, **kwargs): # noqa: E501
|
20568
|
-
"""Get Resource Notification # noqa: E501
|
20569
|
-
|
20570
|
-
This method makes a synchronous HTTP request by default. To make an
|
20571
|
-
asynchronous HTTP request, please pass async_req=True
|
20572
|
-
>>> thread = api.get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(resource_notification_id, async_req=True)
|
20573
|
-
>>> result = thread.get()
|
20574
|
-
|
20575
|
-
:param async_req bool: execute request asynchronously
|
20576
|
-
:param str resource_notification_id: (required)
|
20577
|
-
:param _return_http_data_only: response data without head status code
|
20578
|
-
and headers
|
20579
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
20580
|
-
be returned without reading/decoding response
|
20581
|
-
data. Default is True.
|
20582
|
-
:param _request_timeout: timeout setting for this request. If one
|
20583
|
-
number provided, it will be total request
|
20584
|
-
timeout. It can also be a pair (tuple) of
|
20585
|
-
(connection, read) timeouts.
|
20586
|
-
:return: tuple(ResourcenotificationResponse, status_code(int), headers(HTTPHeaderDict))
|
20587
|
-
If the method is called asynchronously,
|
20588
|
-
returns the request thread.
|
20589
|
-
"""
|
20590
|
-
|
20591
|
-
local_var_params = locals()
|
20592
|
-
|
20593
|
-
all_params = [
|
20594
|
-
'resource_notification_id'
|
20595
|
-
]
|
20596
|
-
all_params.extend(
|
20597
|
-
[
|
20598
|
-
'async_req',
|
20599
|
-
'_return_http_data_only',
|
20600
|
-
'_preload_content',
|
20601
|
-
'_request_timeout'
|
20602
|
-
]
|
20603
|
-
)
|
20604
|
-
|
20605
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
20606
|
-
if key not in all_params:
|
20607
|
-
raise ApiTypeError(
|
20608
|
-
"Got an unexpected keyword argument '%s'"
|
20609
|
-
" to method get_resource_notification_api_v2_resource_notifications_resource_notification_id_get" % key
|
20610
|
-
)
|
20611
|
-
local_var_params[key] = val
|
20612
|
-
del local_var_params['kwargs']
|
20613
|
-
# verify the required parameter 'resource_notification_id' is set
|
20614
|
-
if self.api_client.client_side_validation and ('resource_notification_id' not in local_var_params or # noqa: E501
|
20615
|
-
local_var_params['resource_notification_id'] is None): # noqa: E501
|
20616
|
-
raise ApiValueError("Missing the required parameter `resource_notification_id` when calling `get_resource_notification_api_v2_resource_notifications_resource_notification_id_get`") # noqa: E501
|
20617
|
-
|
20618
|
-
collection_formats = {}
|
20619
|
-
|
20620
|
-
path_params = {}
|
20621
|
-
if 'resource_notification_id' in local_var_params:
|
20622
|
-
path_params['resource_notification_id'] = local_var_params['resource_notification_id'] # noqa: E501
|
20623
|
-
|
20624
|
-
query_params = []
|
20625
|
-
|
20626
|
-
header_params = {}
|
20627
|
-
|
20628
|
-
form_params = []
|
20629
|
-
local_var_files = {}
|
20630
|
-
|
20631
|
-
body_params = None
|
20632
|
-
# HTTP header `Accept`
|
20633
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
20634
|
-
['application/json']) # noqa: E501
|
20635
|
-
|
20636
|
-
# Authentication setting
|
20637
|
-
auth_settings = [] # noqa: E501
|
20638
|
-
|
20639
|
-
return self.api_client.call_api(
|
20640
|
-
'/api/v2/resource_notifications/{resource_notification_id}', 'GET',
|
20641
|
-
path_params,
|
20642
|
-
query_params,
|
20643
|
-
header_params,
|
20644
|
-
body=body_params,
|
20645
|
-
post_params=form_params,
|
20646
|
-
files=local_var_files,
|
20647
|
-
response_type='ResourcenotificationResponse', # noqa: E501
|
20648
|
-
auth_settings=auth_settings,
|
20649
|
-
async_req=local_var_params.get('async_req'),
|
20650
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
20651
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
20652
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
20653
|
-
collection_formats=collection_formats)
|
20654
|
-
|
20655
|
-
def get_resource_quota_api_v2_resource_quotas_resource_quota_id_get(self, resource_quota_id, **kwargs): # noqa: E501
|
20656
|
-
"""Get Resource Quota # noqa: E501
|
20657
|
-
|
20658
|
-
This method makes a synchronous HTTP request by default. To make an
|
20659
|
-
asynchronous HTTP request, please pass async_req=True
|
20660
|
-
>>> thread = api.get_resource_quota_api_v2_resource_quotas_resource_quota_id_get(resource_quota_id, async_req=True)
|
20661
|
-
>>> result = thread.get()
|
20662
|
-
|
20663
|
-
:param async_req bool: execute request asynchronously
|
20664
|
-
:param str resource_quota_id: (required)
|
20665
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
20666
|
-
be returned without reading/decoding response
|
20667
|
-
data. Default is True.
|
20668
|
-
:param _request_timeout: timeout setting for this request. If one
|
20669
|
-
number provided, it will be total request
|
20670
|
-
timeout. It can also be a pair (tuple) of
|
20671
|
-
(connection, read) timeouts.
|
20672
|
-
:return: ResourcequotaResponse
|
19813
|
+
:return: ResourcenotificationResponse
|
20673
19814
|
If the method is called asynchronously,
|
20674
19815
|
returns the request thread.
|
20675
19816
|
"""
|
20676
19817
|
kwargs['_return_http_data_only'] = True
|
20677
|
-
return self.
|
19818
|
+
return self.get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(resource_notification_id, **kwargs) # noqa: E501
|
20678
19819
|
|
20679
|
-
def
|
20680
|
-
"""Get Resource
|
19820
|
+
def get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(self, resource_notification_id, **kwargs): # noqa: E501
|
19821
|
+
"""Get Resource Notification # noqa: E501
|
20681
19822
|
|
20682
19823
|
This method makes a synchronous HTTP request by default. To make an
|
20683
19824
|
asynchronous HTTP request, please pass async_req=True
|
20684
|
-
>>> thread = api.
|
19825
|
+
>>> thread = api.get_resource_notification_api_v2_resource_notifications_resource_notification_id_get_with_http_info(resource_notification_id, async_req=True)
|
20685
19826
|
>>> result = thread.get()
|
20686
19827
|
|
20687
19828
|
:param async_req bool: execute request asynchronously
|
20688
|
-
:param str
|
19829
|
+
:param str resource_notification_id: (required)
|
20689
19830
|
:param _return_http_data_only: response data without head status code
|
20690
19831
|
and headers
|
20691
19832
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -20695,7 +19836,7 @@ class DefaultApi(object):
|
|
20695
19836
|
number provided, it will be total request
|
20696
19837
|
timeout. It can also be a pair (tuple) of
|
20697
19838
|
(connection, read) timeouts.
|
20698
|
-
:return: tuple(
|
19839
|
+
:return: tuple(ResourcenotificationResponse, status_code(int), headers(HTTPHeaderDict))
|
20699
19840
|
If the method is called asynchronously,
|
20700
19841
|
returns the request thread.
|
20701
19842
|
"""
|
@@ -20703,7 +19844,7 @@ class DefaultApi(object):
|
|
20703
19844
|
local_var_params = locals()
|
20704
19845
|
|
20705
19846
|
all_params = [
|
20706
|
-
'
|
19847
|
+
'resource_notification_id'
|
20707
19848
|
]
|
20708
19849
|
all_params.extend(
|
20709
19850
|
[
|
@@ -20718,20 +19859,20 @@ class DefaultApi(object):
|
|
20718
19859
|
if key not in all_params:
|
20719
19860
|
raise ApiTypeError(
|
20720
19861
|
"Got an unexpected keyword argument '%s'"
|
20721
|
-
" to method
|
19862
|
+
" to method get_resource_notification_api_v2_resource_notifications_resource_notification_id_get" % key
|
20722
19863
|
)
|
20723
19864
|
local_var_params[key] = val
|
20724
19865
|
del local_var_params['kwargs']
|
20725
|
-
# verify the required parameter '
|
20726
|
-
if self.api_client.client_side_validation and ('
|
20727
|
-
local_var_params['
|
20728
|
-
raise ApiValueError("Missing the required parameter `
|
19866
|
+
# verify the required parameter 'resource_notification_id' is set
|
19867
|
+
if self.api_client.client_side_validation and ('resource_notification_id' not in local_var_params or # noqa: E501
|
19868
|
+
local_var_params['resource_notification_id'] is None): # noqa: E501
|
19869
|
+
raise ApiValueError("Missing the required parameter `resource_notification_id` when calling `get_resource_notification_api_v2_resource_notifications_resource_notification_id_get`") # noqa: E501
|
20729
19870
|
|
20730
19871
|
collection_formats = {}
|
20731
19872
|
|
20732
19873
|
path_params = {}
|
20733
|
-
if '
|
20734
|
-
path_params['
|
19874
|
+
if 'resource_notification_id' in local_var_params:
|
19875
|
+
path_params['resource_notification_id'] = local_var_params['resource_notification_id'] # noqa: E501
|
20735
19876
|
|
20736
19877
|
query_params = []
|
20737
19878
|
|
@@ -20749,14 +19890,14 @@ class DefaultApi(object):
|
|
20749
19890
|
auth_settings = [] # noqa: E501
|
20750
19891
|
|
20751
19892
|
return self.api_client.call_api(
|
20752
|
-
'/api/v2/
|
19893
|
+
'/api/v2/resource_notifications/{resource_notification_id}', 'GET',
|
20753
19894
|
path_params,
|
20754
19895
|
query_params,
|
20755
19896
|
header_params,
|
20756
19897
|
body=body_params,
|
20757
19898
|
post_params=form_params,
|
20758
19899
|
files=local_var_files,
|
20759
|
-
response_type='
|
19900
|
+
response_type='ResourcenotificationResponse', # noqa: E501
|
20760
19901
|
auth_settings=auth_settings,
|
20761
19902
|
async_req=local_var_params.get('async_req'),
|
20762
19903
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -20764,18 +19905,16 @@ class DefaultApi(object):
|
|
20764
19905
|
_request_timeout=local_var_params.get('_request_timeout'),
|
20765
19906
|
collection_formats=collection_formats)
|
20766
19907
|
|
20767
|
-
def
|
20768
|
-
"""Get
|
19908
|
+
def get_resource_quota_api_v2_resource_quotas_resource_quota_id_get(self, resource_quota_id, **kwargs): # noqa: E501
|
19909
|
+
"""Get Resource Quota # noqa: E501
|
20769
19910
|
|
20770
19911
|
This method makes a synchronous HTTP request by default. To make an
|
20771
19912
|
asynchronous HTTP request, please pass async_req=True
|
20772
|
-
>>> thread = api.
|
19913
|
+
>>> thread = api.get_resource_quota_api_v2_resource_quotas_resource_quota_id_get(resource_quota_id, async_req=True)
|
20773
19914
|
>>> result = thread.get()
|
20774
19915
|
|
20775
19916
|
:param async_req bool: execute request asynchronously
|
20776
|
-
:param str
|
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.
|
19917
|
+
:param str resource_quota_id: (required)
|
20779
19918
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
20780
19919
|
be returned without reading/decoding response
|
20781
19920
|
data. Default is True.
|
@@ -20783,25 +19922,23 @@ class DefaultApi(object):
|
|
20783
19922
|
number provided, it will be total request
|
20784
19923
|
timeout. It can also be a pair (tuple) of
|
20785
19924
|
(connection, read) timeouts.
|
20786
|
-
:return:
|
19925
|
+
:return: ResourcequotaResponse
|
20787
19926
|
If the method is called asynchronously,
|
20788
19927
|
returns the request thread.
|
20789
19928
|
"""
|
20790
19929
|
kwargs['_return_http_data_only'] = True
|
20791
|
-
return self.
|
19930
|
+
return self.get_resource_quota_api_v2_resource_quotas_resource_quota_id_get_with_http_info(resource_quota_id, **kwargs) # noqa: E501
|
20792
19931
|
|
20793
|
-
def
|
20794
|
-
"""Get
|
19932
|
+
def get_resource_quota_api_v2_resource_quotas_resource_quota_id_get_with_http_info(self, resource_quota_id, **kwargs): # noqa: E501
|
19933
|
+
"""Get Resource Quota # noqa: E501
|
20795
19934
|
|
20796
19935
|
This method makes a synchronous HTTP request by default. To make an
|
20797
19936
|
asynchronous HTTP request, please pass async_req=True
|
20798
|
-
>>> thread = api.
|
19937
|
+
>>> thread = api.get_resource_quota_api_v2_resource_quotas_resource_quota_id_get_with_http_info(resource_quota_id, async_req=True)
|
20799
19938
|
>>> result = thread.get()
|
20800
19939
|
|
20801
19940
|
:param async_req bool: execute request asynchronously
|
20802
|
-
:param str
|
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.
|
19941
|
+
:param str resource_quota_id: (required)
|
20805
19942
|
:param _return_http_data_only: response data without head status code
|
20806
19943
|
and headers
|
20807
19944
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -20811,7 +19948,7 @@ class DefaultApi(object):
|
|
20811
19948
|
number provided, it will be total request
|
20812
19949
|
timeout. It can also be a pair (tuple) of
|
20813
19950
|
(connection, read) timeouts.
|
20814
|
-
:return: tuple(
|
19951
|
+
:return: tuple(ResourcequotaResponse, status_code(int), headers(HTTPHeaderDict))
|
20815
19952
|
If the method is called asynchronously,
|
20816
19953
|
returns the request thread.
|
20817
19954
|
"""
|
@@ -20819,9 +19956,7 @@ class DefaultApi(object):
|
|
20819
19956
|
local_var_params = locals()
|
20820
19957
|
|
20821
19958
|
all_params = [
|
20822
|
-
'
|
20823
|
-
'start_timestamp_ns',
|
20824
|
-
'timeout_seconds'
|
19959
|
+
'resource_quota_id'
|
20825
19960
|
]
|
20826
19961
|
all_params.extend(
|
20827
19962
|
[
|
@@ -20836,26 +19971,22 @@ class DefaultApi(object):
|
|
20836
19971
|
if key not in all_params:
|
20837
19972
|
raise ApiTypeError(
|
20838
19973
|
"Got an unexpected keyword argument '%s'"
|
20839
|
-
" to method
|
19974
|
+
" to method get_resource_quota_api_v2_resource_quotas_resource_quota_id_get" % key
|
20840
19975
|
)
|
20841
19976
|
local_var_params[key] = val
|
20842
19977
|
del local_var_params['kwargs']
|
20843
|
-
# verify the required parameter '
|
20844
|
-
if self.api_client.client_side_validation and ('
|
20845
|
-
local_var_params['
|
20846
|
-
raise ApiValueError("Missing the required parameter `
|
19978
|
+
# verify the required parameter 'resource_quota_id' is set
|
19979
|
+
if self.api_client.client_side_validation and ('resource_quota_id' not in local_var_params or # noqa: E501
|
19980
|
+
local_var_params['resource_quota_id'] is None): # noqa: E501
|
19981
|
+
raise ApiValueError("Missing the required parameter `resource_quota_id` when calling `get_resource_quota_api_v2_resource_quotas_resource_quota_id_get`") # noqa: E501
|
20847
19982
|
|
20848
19983
|
collection_formats = {}
|
20849
19984
|
|
20850
19985
|
path_params = {}
|
20851
|
-
if '
|
20852
|
-
path_params['
|
19986
|
+
if 'resource_quota_id' in local_var_params:
|
19987
|
+
path_params['resource_quota_id'] = local_var_params['resource_quota_id'] # noqa: E501
|
20853
19988
|
|
20854
19989
|
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
19990
|
|
20860
19991
|
header_params = {}
|
20861
19992
|
|
@@ -20871,14 +20002,14 @@ class DefaultApi(object):
|
|
20871
20002
|
auth_settings = [] # noqa: E501
|
20872
20003
|
|
20873
20004
|
return self.api_client.call_api(
|
20874
|
-
'/api/v2/
|
20005
|
+
'/api/v2/resource_quotas/{resource_quota_id}', 'GET',
|
20875
20006
|
path_params,
|
20876
20007
|
query_params,
|
20877
20008
|
header_params,
|
20878
20009
|
body=body_params,
|
20879
20010
|
post_params=form_params,
|
20880
20011
|
files=local_var_files,
|
20881
|
-
response_type='
|
20012
|
+
response_type='ResourcequotaResponse', # noqa: E501
|
20882
20013
|
auth_settings=auth_settings,
|
20883
20014
|
async_req=local_var_params.get('async_req'),
|
20884
20015
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -22702,6 +21833,7 @@ class DefaultApi(object):
|
|
22702
21833
|
:param int start_line: (required)
|
22703
21834
|
:param int end_line: (required)
|
22704
21835
|
:param str extension:
|
21836
|
+
:param datetime start_time:
|
22705
21837
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
22706
21838
|
be returned without reading/decoding response
|
22707
21839
|
data. Default is True.
|
@@ -22729,6 +21861,7 @@ class DefaultApi(object):
|
|
22729
21861
|
:param int start_line: (required)
|
22730
21862
|
:param int end_line: (required)
|
22731
21863
|
:param str extension:
|
21864
|
+
:param datetime start_time:
|
22732
21865
|
:param _return_http_data_only: response data without head status code
|
22733
21866
|
and headers
|
22734
21867
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -22749,7 +21882,8 @@ class DefaultApi(object):
|
|
22749
21882
|
'session_id',
|
22750
21883
|
'start_line',
|
22751
21884
|
'end_line',
|
22752
|
-
'extension'
|
21885
|
+
'extension',
|
21886
|
+
'start_time'
|
22753
21887
|
]
|
22754
21888
|
all_params.extend(
|
22755
21889
|
[
|
@@ -22794,6 +21928,8 @@ class DefaultApi(object):
|
|
22794
21928
|
query_params.append(('end_line', local_var_params['end_line'])) # noqa: E501
|
22795
21929
|
if 'extension' in local_var_params and local_var_params['extension'] is not None: # noqa: E501
|
22796
21930
|
query_params.append(('extension', local_var_params['extension'])) # noqa: E501
|
21931
|
+
if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
|
21932
|
+
query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
|
22797
21933
|
|
22798
21934
|
header_params = {}
|
22799
21935
|
|
@@ -26412,198 +25548,17 @@ class DefaultApi(object):
|
|
26412
25548
|
query_params = []
|
26413
25549
|
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
26414
25550
|
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
26415
|
-
if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
|
26416
|
-
query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
|
26417
|
-
if 'name_match' in local_var_params and local_var_params['name_match'] is not None: # noqa: E501
|
26418
|
-
query_params.append(('name_match', local_var_params['name_match'])) # noqa: E501
|
26419
|
-
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
26420
|
-
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
26421
|
-
if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
|
26422
|
-
query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
|
26423
|
-
collection_formats['state_filter'] = 'multi' # noqa: E501
|
26424
|
-
if 'archive_status' in local_var_params and local_var_params['archive_status'] is not None: # noqa: E501
|
26425
|
-
query_params.append(('archive_status', local_var_params['archive_status'])) # noqa: E501
|
26426
|
-
if 'sort_field' in local_var_params and local_var_params['sort_field'] is not None: # noqa: E501
|
26427
|
-
query_params.append(('sort_field', local_var_params['sort_field'])) # noqa: E501
|
26428
|
-
if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
|
26429
|
-
query_params.append(('sort_order', local_var_params['sort_order'])) # noqa: E501
|
26430
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
26431
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
26432
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
26433
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
26434
|
-
|
26435
|
-
header_params = {}
|
26436
|
-
|
26437
|
-
form_params = []
|
26438
|
-
local_var_files = {}
|
26439
|
-
|
26440
|
-
body_params = None
|
26441
|
-
# HTTP header `Accept`
|
26442
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
26443
|
-
['application/json']) # noqa: E501
|
26444
|
-
|
26445
|
-
# Authentication setting
|
26446
|
-
auth_settings = [] # noqa: E501
|
26447
|
-
|
26448
|
-
return self.api_client.call_api(
|
26449
|
-
'/api/v2/decorated_sessions/', 'GET',
|
26450
|
-
path_params,
|
26451
|
-
query_params,
|
26452
|
-
header_params,
|
26453
|
-
body=body_params,
|
26454
|
-
post_params=form_params,
|
26455
|
-
files=local_var_files,
|
26456
|
-
response_type='DecoratedsessionListResponse', # noqa: E501
|
26457
|
-
auth_settings=auth_settings,
|
26458
|
-
async_req=local_var_params.get('async_req'),
|
26459
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
26460
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
26461
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
26462
|
-
collection_formats=collection_formats)
|
26463
|
-
|
26464
|
-
def list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get(self, **kwargs): # noqa: E501
|
26465
|
-
"""List Decorated Interactive Sessions # noqa: E501
|
26466
|
-
|
26467
|
-
Optionally filter by project and runtime_env_id # noqa: E501
|
26468
|
-
This method makes a synchronous HTTP request by default. To make an
|
26469
|
-
asynchronous HTTP request, please pass async_req=True
|
26470
|
-
>>> thread = api.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get(async_req=True)
|
26471
|
-
>>> result = thread.get()
|
26472
|
-
|
26473
|
-
:param async_req bool: execute request asynchronously
|
26474
|
-
:param str project_id: project_id to filter by
|
26475
|
-
:param str runtime_env_id: runtime_env_id to filter by
|
26476
|
-
:param str cluster_id: cluster_id to filter by
|
26477
|
-
:param str creator_id: creator_id to filter by
|
26478
|
-
:param str name: name to filter by
|
26479
|
-
:param str ha_job_id: ha_job_id to filter by
|
26480
|
-
:param bool show_ray_client_runs_only: DEPRECATED: Shows only ray client runs. Orthogonaol to passing ha_job_id
|
26481
|
-
:param list[JobRunType] type_filter: Filter Jobs by their type. Their type is determined by their usage within the product e.g. Interactive sessions, job runs
|
26482
|
-
:param list[BaseJobStatus] state_filter: A list of session states to filter by
|
26483
|
-
:param str order: 'asc' for ascending, 'desc' for descending. Entirely ignored.
|
26484
|
-
:param JobsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
|
26485
|
-
:param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
|
26486
|
-
:param str paging_token:
|
26487
|
-
:param int count:
|
26488
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
26489
|
-
be returned without reading/decoding response
|
26490
|
-
data. Default is True.
|
26491
|
-
:param _request_timeout: timeout setting for this request. If one
|
26492
|
-
number provided, it will be total request
|
26493
|
-
timeout. It can also be a pair (tuple) of
|
26494
|
-
(connection, read) timeouts.
|
26495
|
-
:return: DecoratedinteractivesessionListResponse
|
26496
|
-
If the method is called asynchronously,
|
26497
|
-
returns the request thread.
|
26498
|
-
"""
|
26499
|
-
kwargs['_return_http_data_only'] = True
|
26500
|
-
return self.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(**kwargs) # noqa: E501
|
26501
|
-
|
26502
|
-
def list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(self, **kwargs): # noqa: E501
|
26503
|
-
"""List Decorated Interactive Sessions # noqa: E501
|
26504
|
-
|
26505
|
-
Optionally filter by project and runtime_env_id # noqa: E501
|
26506
|
-
This method makes a synchronous HTTP request by default. To make an
|
26507
|
-
asynchronous HTTP request, please pass async_req=True
|
26508
|
-
>>> thread = api.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(async_req=True)
|
26509
|
-
>>> result = thread.get()
|
26510
|
-
|
26511
|
-
:param async_req bool: execute request asynchronously
|
26512
|
-
:param str project_id: project_id to filter by
|
26513
|
-
:param str runtime_env_id: runtime_env_id to filter by
|
26514
|
-
:param str cluster_id: cluster_id to filter by
|
26515
|
-
:param str creator_id: creator_id to filter by
|
26516
|
-
:param str name: name to filter by
|
26517
|
-
:param str ha_job_id: ha_job_id to filter by
|
26518
|
-
:param bool show_ray_client_runs_only: DEPRECATED: Shows only ray client runs. Orthogonaol to passing ha_job_id
|
26519
|
-
:param list[JobRunType] type_filter: Filter Jobs by their type. Their type is determined by their usage within the product e.g. Interactive sessions, job runs
|
26520
|
-
:param list[BaseJobStatus] state_filter: A list of session states to filter by
|
26521
|
-
:param str order: 'asc' for ascending, 'desc' for descending. Entirely ignored.
|
26522
|
-
:param JobsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
|
26523
|
-
:param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
|
26524
|
-
:param str paging_token:
|
26525
|
-
:param int count:
|
26526
|
-
:param _return_http_data_only: response data without head status code
|
26527
|
-
and headers
|
26528
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
26529
|
-
be returned without reading/decoding response
|
26530
|
-
data. Default is True.
|
26531
|
-
:param _request_timeout: timeout setting for this request. If one
|
26532
|
-
number provided, it will be total request
|
26533
|
-
timeout. It can also be a pair (tuple) of
|
26534
|
-
(connection, read) timeouts.
|
26535
|
-
:return: tuple(DecoratedinteractivesessionListResponse, status_code(int), headers(HTTPHeaderDict))
|
26536
|
-
If the method is called asynchronously,
|
26537
|
-
returns the request thread.
|
26538
|
-
"""
|
26539
|
-
|
26540
|
-
local_var_params = locals()
|
26541
|
-
|
26542
|
-
all_params = [
|
26543
|
-
'project_id',
|
26544
|
-
'runtime_env_id',
|
26545
|
-
'cluster_id',
|
26546
|
-
'creator_id',
|
26547
|
-
'name',
|
26548
|
-
'ha_job_id',
|
26549
|
-
'show_ray_client_runs_only',
|
26550
|
-
'type_filter',
|
26551
|
-
'state_filter',
|
26552
|
-
'order',
|
26553
|
-
'sort_field',
|
26554
|
-
'sort_order',
|
26555
|
-
'paging_token',
|
26556
|
-
'count'
|
26557
|
-
]
|
26558
|
-
all_params.extend(
|
26559
|
-
[
|
26560
|
-
'async_req',
|
26561
|
-
'_return_http_data_only',
|
26562
|
-
'_preload_content',
|
26563
|
-
'_request_timeout'
|
26564
|
-
]
|
26565
|
-
)
|
26566
|
-
|
26567
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
26568
|
-
if key not in all_params:
|
26569
|
-
raise ApiTypeError(
|
26570
|
-
"Got an unexpected keyword argument '%s'"
|
26571
|
-
" to method list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get" % key
|
26572
|
-
)
|
26573
|
-
local_var_params[key] = val
|
26574
|
-
del local_var_params['kwargs']
|
26575
|
-
|
26576
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
|
26577
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get`, must be a value less than or equal to `50`") # noqa: E501
|
26578
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
26579
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get`, must be a value greater than or equal to `0`") # noqa: E501
|
26580
|
-
collection_formats = {}
|
26581
|
-
|
26582
|
-
path_params = {}
|
26583
|
-
|
26584
|
-
query_params = []
|
26585
|
-
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
26586
|
-
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
26587
|
-
if 'runtime_env_id' in local_var_params and local_var_params['runtime_env_id'] is not None: # noqa: E501
|
26588
|
-
query_params.append(('runtime_env_id', local_var_params['runtime_env_id'])) # noqa: E501
|
26589
|
-
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
26590
|
-
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
26591
|
-
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
26592
|
-
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
26593
|
-
if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
|
26594
|
-
query_params.append(('name', local_var_params['name'])) # noqa: E501
|
26595
|
-
if 'ha_job_id' in local_var_params and local_var_params['ha_job_id'] is not None: # noqa: E501
|
26596
|
-
query_params.append(('ha_job_id', local_var_params['ha_job_id'])) # noqa: E501
|
26597
|
-
if 'show_ray_client_runs_only' in local_var_params and local_var_params['show_ray_client_runs_only'] is not None: # noqa: E501
|
26598
|
-
query_params.append(('show_ray_client_runs_only', local_var_params['show_ray_client_runs_only'])) # noqa: E501
|
26599
|
-
if 'type_filter' in local_var_params and local_var_params['type_filter'] is not None: # noqa: E501
|
26600
|
-
query_params.append(('type_filter', local_var_params['type_filter'])) # noqa: E501
|
26601
|
-
collection_formats['type_filter'] = 'multi' # noqa: E501
|
25551
|
+
if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
|
25552
|
+
query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
|
25553
|
+
if 'name_match' in local_var_params and local_var_params['name_match'] is not None: # noqa: E501
|
25554
|
+
query_params.append(('name_match', local_var_params['name_match'])) # noqa: E501
|
25555
|
+
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
25556
|
+
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
26602
25557
|
if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
|
26603
25558
|
query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
|
26604
25559
|
collection_formats['state_filter'] = 'multi' # noqa: E501
|
26605
|
-
if '
|
26606
|
-
query_params.append(('
|
25560
|
+
if 'archive_status' in local_var_params and local_var_params['archive_status'] is not None: # noqa: E501
|
25561
|
+
query_params.append(('archive_status', local_var_params['archive_status'])) # noqa: E501
|
26607
25562
|
if 'sort_field' in local_var_params and local_var_params['sort_field'] is not None: # noqa: E501
|
26608
25563
|
query_params.append(('sort_field', local_var_params['sort_field'])) # noqa: E501
|
26609
25564
|
if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
|
@@ -26627,14 +25582,14 @@ class DefaultApi(object):
|
|
26627
25582
|
auth_settings = [] # noqa: E501
|
26628
25583
|
|
26629
25584
|
return self.api_client.call_api(
|
26630
|
-
'/api/v2/
|
25585
|
+
'/api/v2/decorated_sessions/', 'GET',
|
26631
25586
|
path_params,
|
26632
25587
|
query_params,
|
26633
25588
|
header_params,
|
26634
25589
|
body=body_params,
|
26635
25590
|
post_params=form_params,
|
26636
25591
|
files=local_var_files,
|
26637
|
-
response_type='
|
25592
|
+
response_type='DecoratedsessionListResponse', # noqa: E501
|
26638
25593
|
auth_settings=auth_settings,
|
26639
25594
|
async_req=local_var_params.get('async_req'),
|
26640
25595
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -26642,21 +25597,27 @@ class DefaultApi(object):
|
|
26642
25597
|
_request_timeout=local_var_params.get('_request_timeout'),
|
26643
25598
|
collection_formats=collection_formats)
|
26644
25599
|
|
26645
|
-
def
|
26646
|
-
"""List Decorated
|
25600
|
+
def list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get(self, **kwargs): # noqa: E501
|
25601
|
+
"""List Decorated Interactive Sessions # noqa: E501
|
26647
25602
|
|
26648
|
-
|
25603
|
+
Optionally filter by project and runtime_env_id # noqa: E501
|
26649
25604
|
This method makes a synchronous HTTP request by default. To make an
|
26650
25605
|
asynchronous HTTP request, please pass async_req=True
|
26651
|
-
>>> thread = api.
|
25606
|
+
>>> thread = api.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get(async_req=True)
|
26652
25607
|
>>> result = thread.get()
|
26653
25608
|
|
26654
25609
|
:param async_req bool: execute request asynchronously
|
25610
|
+
:param str project_id: project_id to filter by
|
25611
|
+
:param str runtime_env_id: runtime_env_id to filter by
|
25612
|
+
:param str cluster_id: cluster_id to filter by
|
26655
25613
|
:param str creator_id: creator_id to filter by
|
26656
|
-
:param str name:
|
25614
|
+
:param str name: name to filter by
|
26657
25615
|
:param str ha_job_id: ha_job_id to filter by
|
26658
|
-
:param
|
26659
|
-
:param
|
25616
|
+
:param bool show_ray_client_runs_only: DEPRECATED: Shows only ray client runs. Orthogonaol to passing ha_job_id
|
25617
|
+
:param list[JobRunType] type_filter: Filter Jobs by their type. Their type is determined by their usage within the product e.g. Interactive sessions, job runs
|
25618
|
+
:param list[BaseJobStatus] state_filter: A list of session states to filter by
|
25619
|
+
:param str order: 'asc' for ascending, 'desc' for descending. Entirely ignored.
|
25620
|
+
:param JobsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
|
26660
25621
|
:param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
|
26661
25622
|
:param str paging_token:
|
26662
25623
|
:param int count:
|
@@ -26667,28 +25628,34 @@ class DefaultApi(object):
|
|
26667
25628
|
number provided, it will be total request
|
26668
25629
|
timeout. It can also be a pair (tuple) of
|
26669
25630
|
(connection, read) timeouts.
|
26670
|
-
:return:
|
25631
|
+
:return: DecoratedinteractivesessionListResponse
|
26671
25632
|
If the method is called asynchronously,
|
26672
25633
|
returns the request thread.
|
26673
25634
|
"""
|
26674
25635
|
kwargs['_return_http_data_only'] = True
|
26675
|
-
return self.
|
25636
|
+
return self.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(**kwargs) # noqa: E501
|
26676
25637
|
|
26677
|
-
def
|
26678
|
-
"""List Decorated
|
25638
|
+
def list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(self, **kwargs): # noqa: E501
|
25639
|
+
"""List Decorated Interactive Sessions # noqa: E501
|
26679
25640
|
|
26680
|
-
|
25641
|
+
Optionally filter by project and runtime_env_id # noqa: E501
|
26681
25642
|
This method makes a synchronous HTTP request by default. To make an
|
26682
25643
|
asynchronous HTTP request, please pass async_req=True
|
26683
|
-
>>> thread = api.
|
25644
|
+
>>> thread = api.list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get_with_http_info(async_req=True)
|
26684
25645
|
>>> result = thread.get()
|
26685
25646
|
|
26686
25647
|
:param async_req bool: execute request asynchronously
|
25648
|
+
:param str project_id: project_id to filter by
|
25649
|
+
:param str runtime_env_id: runtime_env_id to filter by
|
25650
|
+
:param str cluster_id: cluster_id to filter by
|
26687
25651
|
:param str creator_id: creator_id to filter by
|
26688
|
-
:param str name:
|
25652
|
+
:param str name: name to filter by
|
26689
25653
|
:param str ha_job_id: ha_job_id to filter by
|
26690
|
-
:param
|
26691
|
-
:param
|
25654
|
+
:param bool show_ray_client_runs_only: DEPRECATED: Shows only ray client runs. Orthogonaol to passing ha_job_id
|
25655
|
+
:param list[JobRunType] type_filter: Filter Jobs by their type. Their type is determined by their usage within the product e.g. Interactive sessions, job runs
|
25656
|
+
:param list[BaseJobStatus] state_filter: A list of session states to filter by
|
25657
|
+
:param str order: 'asc' for ascending, 'desc' for descending. Entirely ignored.
|
25658
|
+
:param JobsSortField sort_field: If absent, the sort order will be determined according to the type_filter.
|
26692
25659
|
:param SortOrder sort_order: If sort_field is absent, this field is ignored.If absent, this field defaults to ascending.
|
26693
25660
|
:param str paging_token:
|
26694
25661
|
:param int count:
|
@@ -26701,7 +25668,7 @@ class DefaultApi(object):
|
|
26701
25668
|
number provided, it will be total request
|
26702
25669
|
timeout. It can also be a pair (tuple) of
|
26703
25670
|
(connection, read) timeouts.
|
26704
|
-
:return: tuple(
|
25671
|
+
:return: tuple(DecoratedinteractivesessionListResponse, status_code(int), headers(HTTPHeaderDict))
|
26705
25672
|
If the method is called asynchronously,
|
26706
25673
|
returns the request thread.
|
26707
25674
|
"""
|
@@ -26709,10 +25676,16 @@ class DefaultApi(object):
|
|
26709
25676
|
local_var_params = locals()
|
26710
25677
|
|
26711
25678
|
all_params = [
|
25679
|
+
'project_id',
|
25680
|
+
'runtime_env_id',
|
25681
|
+
'cluster_id',
|
26712
25682
|
'creator_id',
|
26713
25683
|
'name',
|
26714
25684
|
'ha_job_id',
|
25685
|
+
'show_ray_client_runs_only',
|
25686
|
+
'type_filter',
|
26715
25687
|
'state_filter',
|
25688
|
+
'order',
|
26716
25689
|
'sort_field',
|
26717
25690
|
'sort_order',
|
26718
25691
|
'paging_token',
|
@@ -26731,29 +25704,42 @@ class DefaultApi(object):
|
|
26731
25704
|
if key not in all_params:
|
26732
25705
|
raise ApiTypeError(
|
26733
25706
|
"Got an unexpected keyword argument '%s'"
|
26734
|
-
" to method
|
25707
|
+
" to method list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get" % key
|
26735
25708
|
)
|
26736
25709
|
local_var_params[key] = val
|
26737
25710
|
del local_var_params['kwargs']
|
26738
25711
|
|
26739
25712
|
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 `
|
25713
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get`, must be a value less than or equal to `50`") # noqa: E501
|
26741
25714
|
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 `
|
25715
|
+
raise ApiValueError("Invalid value for parameter `count` when calling `list_decorated_interactive_sessions_api_v2_decorated_interactive_sessions_get`, must be a value greater than or equal to `0`") # noqa: E501
|
26743
25716
|
collection_formats = {}
|
26744
25717
|
|
26745
25718
|
path_params = {}
|
26746
25719
|
|
26747
25720
|
query_params = []
|
25721
|
+
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
25722
|
+
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
25723
|
+
if 'runtime_env_id' in local_var_params and local_var_params['runtime_env_id'] is not None: # noqa: E501
|
25724
|
+
query_params.append(('runtime_env_id', local_var_params['runtime_env_id'])) # noqa: E501
|
25725
|
+
if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
|
25726
|
+
query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
|
26748
25727
|
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
26749
25728
|
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
26750
25729
|
if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
|
26751
25730
|
query_params.append(('name', local_var_params['name'])) # noqa: E501
|
26752
25731
|
if 'ha_job_id' in local_var_params and local_var_params['ha_job_id'] is not None: # noqa: E501
|
26753
25732
|
query_params.append(('ha_job_id', local_var_params['ha_job_id'])) # noqa: E501
|
25733
|
+
if 'show_ray_client_runs_only' in local_var_params and local_var_params['show_ray_client_runs_only'] is not None: # noqa: E501
|
25734
|
+
query_params.append(('show_ray_client_runs_only', local_var_params['show_ray_client_runs_only'])) # noqa: E501
|
25735
|
+
if 'type_filter' in local_var_params and local_var_params['type_filter'] is not None: # noqa: E501
|
25736
|
+
query_params.append(('type_filter', local_var_params['type_filter'])) # noqa: E501
|
25737
|
+
collection_formats['type_filter'] = 'multi' # noqa: E501
|
26754
25738
|
if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
|
26755
25739
|
query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
|
26756
25740
|
collection_formats['state_filter'] = 'multi' # noqa: E501
|
25741
|
+
if 'order' in local_var_params and local_var_params['order'] is not None: # noqa: E501
|
25742
|
+
query_params.append(('order', local_var_params['order'])) # noqa: E501
|
26757
25743
|
if 'sort_field' in local_var_params and local_var_params['sort_field'] is not None: # noqa: E501
|
26758
25744
|
query_params.append(('sort_field', local_var_params['sort_field'])) # noqa: E501
|
26759
25745
|
if 'sort_order' in local_var_params and local_var_params['sort_order'] is not None: # noqa: E501
|
@@ -26777,14 +25763,14 @@ class DefaultApi(object):
|
|
26777
25763
|
auth_settings = [] # noqa: E501
|
26778
25764
|
|
26779
25765
|
return self.api_client.call_api(
|
26780
|
-
'/api/v2/
|
25766
|
+
'/api/v2/decorated_interactive_sessions/', 'GET',
|
26781
25767
|
path_params,
|
26782
25768
|
query_params,
|
26783
25769
|
header_params,
|
26784
25770
|
body=body_params,
|
26785
25771
|
post_params=form_params,
|
26786
25772
|
files=local_var_files,
|
26787
|
-
response_type='
|
25773
|
+
response_type='DecoratedinteractivesessionListResponse', # noqa: E501
|
26788
25774
|
auth_settings=auth_settings,
|
26789
25775
|
async_req=local_var_params.get('async_req'),
|
26790
25776
|
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
@@ -34476,124 +33462,6 @@ class DefaultApi(object):
|
|
34476
33462
|
_request_timeout=local_var_params.get('_request_timeout'),
|
34477
33463
|
collection_formats=collection_formats)
|
34478
33464
|
|
34479
|
-
def search_user_cards_api_v2_onboarding_cards_search_post(self, onboarding_user_cards_query, **kwargs): # noqa: E501
|
34480
|
-
"""Search User Cards # noqa: E501
|
34481
|
-
|
34482
|
-
Lists all onboarding user cards that the logged in user has access to, matching the input query. # noqa: E501
|
34483
|
-
This method makes a synchronous HTTP request by default. To make an
|
34484
|
-
asynchronous HTTP request, please pass async_req=True
|
34485
|
-
>>> thread = api.search_user_cards_api_v2_onboarding_cards_search_post(onboarding_user_cards_query, async_req=True)
|
34486
|
-
>>> result = thread.get()
|
34487
|
-
|
34488
|
-
:param async_req bool: execute request asynchronously
|
34489
|
-
:param OnboardingUserCardsQuery onboarding_user_cards_query: (required)
|
34490
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
34491
|
-
be returned without reading/decoding response
|
34492
|
-
data. Default is True.
|
34493
|
-
:param _request_timeout: timeout setting for this request. If one
|
34494
|
-
number provided, it will be total request
|
34495
|
-
timeout. It can also be a pair (tuple) of
|
34496
|
-
(connection, read) timeouts.
|
34497
|
-
:return: CardListResponse
|
34498
|
-
If the method is called asynchronously,
|
34499
|
-
returns the request thread.
|
34500
|
-
"""
|
34501
|
-
kwargs['_return_http_data_only'] = True
|
34502
|
-
return self.search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(onboarding_user_cards_query, **kwargs) # noqa: E501
|
34503
|
-
|
34504
|
-
def search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(self, onboarding_user_cards_query, **kwargs): # noqa: E501
|
34505
|
-
"""Search User Cards # noqa: E501
|
34506
|
-
|
34507
|
-
Lists all onboarding user cards that the logged in user has access to, matching the input query. # noqa: E501
|
34508
|
-
This method makes a synchronous HTTP request by default. To make an
|
34509
|
-
asynchronous HTTP request, please pass async_req=True
|
34510
|
-
>>> thread = api.search_user_cards_api_v2_onboarding_cards_search_post_with_http_info(onboarding_user_cards_query, async_req=True)
|
34511
|
-
>>> result = thread.get()
|
34512
|
-
|
34513
|
-
:param async_req bool: execute request asynchronously
|
34514
|
-
:param OnboardingUserCardsQuery onboarding_user_cards_query: (required)
|
34515
|
-
:param _return_http_data_only: response data without head status code
|
34516
|
-
and headers
|
34517
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
34518
|
-
be returned without reading/decoding response
|
34519
|
-
data. Default is True.
|
34520
|
-
:param _request_timeout: timeout setting for this request. If one
|
34521
|
-
number provided, it will be total request
|
34522
|
-
timeout. It can also be a pair (tuple) of
|
34523
|
-
(connection, read) timeouts.
|
34524
|
-
:return: tuple(CardListResponse, status_code(int), headers(HTTPHeaderDict))
|
34525
|
-
If the method is called asynchronously,
|
34526
|
-
returns the request thread.
|
34527
|
-
"""
|
34528
|
-
|
34529
|
-
local_var_params = locals()
|
34530
|
-
|
34531
|
-
all_params = [
|
34532
|
-
'onboarding_user_cards_query'
|
34533
|
-
]
|
34534
|
-
all_params.extend(
|
34535
|
-
[
|
34536
|
-
'async_req',
|
34537
|
-
'_return_http_data_only',
|
34538
|
-
'_preload_content',
|
34539
|
-
'_request_timeout'
|
34540
|
-
]
|
34541
|
-
)
|
34542
|
-
|
34543
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
34544
|
-
if key not in all_params:
|
34545
|
-
raise ApiTypeError(
|
34546
|
-
"Got an unexpected keyword argument '%s'"
|
34547
|
-
" to method search_user_cards_api_v2_onboarding_cards_search_post" % key
|
34548
|
-
)
|
34549
|
-
local_var_params[key] = val
|
34550
|
-
del local_var_params['kwargs']
|
34551
|
-
# verify the required parameter 'onboarding_user_cards_query' is set
|
34552
|
-
if self.api_client.client_side_validation and ('onboarding_user_cards_query' not in local_var_params or # noqa: E501
|
34553
|
-
local_var_params['onboarding_user_cards_query'] is None): # noqa: E501
|
34554
|
-
raise ApiValueError("Missing the required parameter `onboarding_user_cards_query` when calling `search_user_cards_api_v2_onboarding_cards_search_post`") # noqa: E501
|
34555
|
-
|
34556
|
-
collection_formats = {}
|
34557
|
-
|
34558
|
-
path_params = {}
|
34559
|
-
|
34560
|
-
query_params = []
|
34561
|
-
|
34562
|
-
header_params = {}
|
34563
|
-
|
34564
|
-
form_params = []
|
34565
|
-
local_var_files = {}
|
34566
|
-
|
34567
|
-
body_params = None
|
34568
|
-
if 'onboarding_user_cards_query' in local_var_params:
|
34569
|
-
body_params = local_var_params['onboarding_user_cards_query']
|
34570
|
-
# HTTP header `Accept`
|
34571
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
34572
|
-
['application/json']) # noqa: E501
|
34573
|
-
|
34574
|
-
# HTTP header `Content-Type`
|
34575
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
34576
|
-
['application/json']) # noqa: E501
|
34577
|
-
|
34578
|
-
# Authentication setting
|
34579
|
-
auth_settings = [] # noqa: E501
|
34580
|
-
|
34581
|
-
return self.api_client.call_api(
|
34582
|
-
'/api/v2/onboarding_cards/search', 'POST',
|
34583
|
-
path_params,
|
34584
|
-
query_params,
|
34585
|
-
header_params,
|
34586
|
-
body=body_params,
|
34587
|
-
post_params=form_params,
|
34588
|
-
files=local_var_files,
|
34589
|
-
response_type='CardListResponse', # noqa: E501
|
34590
|
-
auth_settings=auth_settings,
|
34591
|
-
async_req=local_var_params.get('async_req'),
|
34592
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
34593
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
34594
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
34595
|
-
collection_formats=collection_formats)
|
34596
|
-
|
34597
33465
|
def set_resource_quota_status_api_v2_resource_quotas_resource_quota_id_status_patch(self, resource_quota_id, resource_quota_status, **kwargs): # noqa: E501
|
34598
33466
|
"""Set Resource Quota Status # noqa: E501
|
34599
33467
|
|
@@ -36236,120 +35104,6 @@ class DefaultApi(object):
|
|
36236
35104
|
_request_timeout=local_var_params.get('_request_timeout'),
|
36237
35105
|
collection_formats=collection_formats)
|
36238
35106
|
|
36239
|
-
def undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post(self, card_id, **kwargs): # noqa: E501
|
36240
|
-
"""Undismiss User Card # noqa: E501
|
36241
|
-
|
36242
|
-
For Internal Debugging: undismiss given card_id for logged in user. # noqa: E501
|
36243
|
-
This method makes a synchronous HTTP request by default. To make an
|
36244
|
-
asynchronous HTTP request, please pass async_req=True
|
36245
|
-
>>> thread = api.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post(card_id, async_req=True)
|
36246
|
-
>>> result = thread.get()
|
36247
|
-
|
36248
|
-
:param async_req bool: execute request asynchronously
|
36249
|
-
:param CardId card_id: (required)
|
36250
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
36251
|
-
be returned without reading/decoding response
|
36252
|
-
data. Default is True.
|
36253
|
-
:param _request_timeout: timeout setting for this request. If one
|
36254
|
-
number provided, it will be total request
|
36255
|
-
timeout. It can also be a pair (tuple) of
|
36256
|
-
(connection, read) timeouts.
|
36257
|
-
:return: object
|
36258
|
-
If the method is called asynchronously,
|
36259
|
-
returns the request thread.
|
36260
|
-
"""
|
36261
|
-
kwargs['_return_http_data_only'] = True
|
36262
|
-
return self.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(card_id, **kwargs) # noqa: E501
|
36263
|
-
|
36264
|
-
def undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(self, card_id, **kwargs): # noqa: E501
|
36265
|
-
"""Undismiss User Card # noqa: E501
|
36266
|
-
|
36267
|
-
For Internal Debugging: undismiss given card_id for logged in user. # noqa: E501
|
36268
|
-
This method makes a synchronous HTTP request by default. To make an
|
36269
|
-
asynchronous HTTP request, please pass async_req=True
|
36270
|
-
>>> thread = api.undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post_with_http_info(card_id, async_req=True)
|
36271
|
-
>>> result = thread.get()
|
36272
|
-
|
36273
|
-
:param async_req bool: execute request asynchronously
|
36274
|
-
:param CardId card_id: (required)
|
36275
|
-
:param _return_http_data_only: response data without head status code
|
36276
|
-
and headers
|
36277
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
36278
|
-
be returned without reading/decoding response
|
36279
|
-
data. Default is True.
|
36280
|
-
:param _request_timeout: timeout setting for this request. If one
|
36281
|
-
number provided, it will be total request
|
36282
|
-
timeout. It can also be a pair (tuple) of
|
36283
|
-
(connection, read) timeouts.
|
36284
|
-
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
36285
|
-
If the method is called asynchronously,
|
36286
|
-
returns the request thread.
|
36287
|
-
"""
|
36288
|
-
|
36289
|
-
local_var_params = locals()
|
36290
|
-
|
36291
|
-
all_params = [
|
36292
|
-
'card_id'
|
36293
|
-
]
|
36294
|
-
all_params.extend(
|
36295
|
-
[
|
36296
|
-
'async_req',
|
36297
|
-
'_return_http_data_only',
|
36298
|
-
'_preload_content',
|
36299
|
-
'_request_timeout'
|
36300
|
-
]
|
36301
|
-
)
|
36302
|
-
|
36303
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
36304
|
-
if key not in all_params:
|
36305
|
-
raise ApiTypeError(
|
36306
|
-
"Got an unexpected keyword argument '%s'"
|
36307
|
-
" to method undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post" % key
|
36308
|
-
)
|
36309
|
-
local_var_params[key] = val
|
36310
|
-
del local_var_params['kwargs']
|
36311
|
-
# verify the required parameter 'card_id' is set
|
36312
|
-
if self.api_client.client_side_validation and ('card_id' not in local_var_params or # noqa: E501
|
36313
|
-
local_var_params['card_id'] is None): # noqa: E501
|
36314
|
-
raise ApiValueError("Missing the required parameter `card_id` when calling `undismiss_user_card_api_v2_onboarding_cards_card_id_undismiss_post`") # noqa: E501
|
36315
|
-
|
36316
|
-
collection_formats = {}
|
36317
|
-
|
36318
|
-
path_params = {}
|
36319
|
-
if 'card_id' in local_var_params:
|
36320
|
-
path_params['card_id'] = local_var_params['card_id'] # noqa: E501
|
36321
|
-
|
36322
|
-
query_params = []
|
36323
|
-
|
36324
|
-
header_params = {}
|
36325
|
-
|
36326
|
-
form_params = []
|
36327
|
-
local_var_files = {}
|
36328
|
-
|
36329
|
-
body_params = None
|
36330
|
-
# HTTP header `Accept`
|
36331
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
36332
|
-
['application/json']) # noqa: E501
|
36333
|
-
|
36334
|
-
# Authentication setting
|
36335
|
-
auth_settings = [] # noqa: E501
|
36336
|
-
|
36337
|
-
return self.api_client.call_api(
|
36338
|
-
'/api/v2/onboarding_cards/{card_id}/undismiss', 'POST',
|
36339
|
-
path_params,
|
36340
|
-
query_params,
|
36341
|
-
header_params,
|
36342
|
-
body=body_params,
|
36343
|
-
post_params=form_params,
|
36344
|
-
files=local_var_files,
|
36345
|
-
response_type='object', # noqa: E501
|
36346
|
-
auth_settings=auth_settings,
|
36347
|
-
async_req=local_var_params.get('async_req'),
|
36348
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
36349
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
36350
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
36351
|
-
collection_formats=collection_formats)
|
36352
|
-
|
36353
35107
|
def update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put(self, cloud_id, auto_add_user, **kwargs): # noqa: E501
|
36354
35108
|
"""Update Cloud Auto Add User # noqa: E501
|
36355
35109
|
|