anyscale 0.25.0__py3-none-any.whl → 0.25.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/__init__.py +10 -0
- anyscale/_private/anyscale_client/anyscale_client.py +35 -9
- anyscale/_private/anyscale_client/common.py +32 -3
- anyscale/_private/anyscale_client/fake_anyscale_client.py +69 -6
- anyscale/_private/docgen/__main__.py +9 -2
- anyscale/_private/docgen/api.md +13 -0
- anyscale/_private/docgen/models.md +3 -3
- anyscale/client/README.md +4 -0
- anyscale/client/openapi_client/__init__.py +2 -0
- anyscale/client/openapi_client/api/default_api.py +233 -0
- anyscale/client/openapi_client/models/__init__.py +2 -0
- anyscale/client/openapi_client/models/baseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/decorated_interactive_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_job.py +1 -57
- anyscale/client/openapi_client/models/decorated_job_submission.py +1 -29
- anyscale/client/openapi_client/models/decorated_production_job.py +1 -29
- anyscale/client/openapi_client/models/decorated_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_unified_job.py +1 -30
- anyscale/client/openapi_client/models/ha_jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/internal_production_job.py +1 -29
- anyscale/client/openapi_client/models/jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/serve_deployment_fast_api_docs_status.py +123 -0
- anyscale/client/openapi_client/models/serve_deployment_state.py +2 -1
- anyscale/client/openapi_client/models/servedeploymentfastapidocsstatus_response.py +121 -0
- anyscale/client/openapi_client/models/sessions_sort_field.py +1 -2
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/unified_job_sort_field.py +1 -2
- anyscale/commands/cloud_commands.py +25 -8
- anyscale/commands/service_account_commands.py +65 -8
- anyscale/controllers/cloud_controller.py +29 -21
- anyscale/controllers/cluster_controller.py +1 -9
- anyscale/controllers/job_controller.py +0 -3
- anyscale/resource_quota/_private/resource_quota_sdk.py +15 -6
- anyscale/sdk/anyscale_client/api/default_api.py +119 -0
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +43 -1
- anyscale/sdk/anyscale_client/models/jobs_sort_field.py +1 -2
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/service_account/__init__.py +88 -0
- anyscale/service_account/_private/service_account_sdk.py +101 -0
- anyscale/service_account/commands.py +147 -0
- anyscale/service_account/models.py +66 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/shared_anyscale_utils/utils/id_gen.py +1 -0
- anyscale/util.py +8 -0
- anyscale/version.py +1 -1
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/METADATA +1 -1
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/RECORD +52 -47
- anyscale/controllers/service_account_controller.py +0 -168
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/LICENSE +0 -0
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/NOTICE +0 -0
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/WHEEL +0 -0
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/entry_points.txt +0 -0
- {anyscale-0.25.0.dist-info → anyscale-0.25.2.dist-info}/top_level.txt +0 -0
anyscale/client/README.md
CHANGED
@@ -86,6 +86,7 @@ Class | Method | HTTP request | Description
|
|
86
86
|
*DefaultApi* | [**archive_cluster_environment_api_v2_application_templates_application_template_id_archive_post**](docs/DefaultApi.md#archive_cluster_environment_api_v2_application_templates_application_template_id_archive_post) | **POST** /api/v2/application_templates/{application_template_id}/archive | Archive Cluster Environment
|
87
87
|
*DefaultApi* | [**archive_compute_template_api_v2_compute_templates_compute_template_id_archive_post**](docs/DefaultApi.md#archive_compute_template_api_v2_compute_templates_compute_template_id_archive_post) | **POST** /api/v2/compute_templates/{compute_template_id}/archive | Archive Compute Template
|
88
88
|
*DefaultApi* | [**archive_job_api_v2_decorated_ha_jobs_production_job_id_archive_post**](docs/DefaultApi.md#archive_job_api_v2_decorated_ha_jobs_production_job_id_archive_post) | **POST** /api/v2/decorated_ha_jobs/{production_job_id}/archive | Archive Job
|
89
|
+
*DefaultApi* | [**archive_service_api_v2_services_v2_service_id_archive_post**](docs/DefaultApi.md#archive_service_api_v2_services_v2_service_id_archive_post) | **POST** /api/v2/services-v2/{service_id}/archive | Archive Service
|
89
90
|
*DefaultApi* | [**attach_machine_pool_to_cloud_api_v2_machine_pools_attach_post**](docs/DefaultApi.md#attach_machine_pool_to_cloud_api_v2_machine_pools_attach_post) | **POST** /api/v2/machine_pools/attach | Attach Machine Pool To Cloud
|
90
91
|
*DefaultApi* | [**aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post**](docs/DefaultApi.md#aws_marketplace_registration_api_v2_organization_billing_aws_marketplace_registration_post) | **POST** /api/v2/organization_billing/aws_marketplace_registration | Aws Marketplace Registration
|
91
92
|
*DefaultApi* | [**ban_organization_api_v2_organizations_organization_id_ban_put**](docs/DefaultApi.md#ban_organization_api_v2_organizations_organization_id_ban_put) | **PUT** /api/v2/organizations/{organization_id}/ban | Ban Organization
|
@@ -209,6 +210,7 @@ Class | Method | HTTP request | Description
|
|
209
210
|
*DefaultApi* | [**get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get**](docs/DefaultApi.md#get_decorated_job_submission_logs_api_v2_decorated_job_submissions_ray_job_submission_db_id_logs_get) | **GET** /api/v2/decorated_job_submissions/{ray_job_submission_db_id}/logs | Get Decorated Job Submission Logs
|
210
211
|
*DefaultApi* | [**get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get**](docs/DefaultApi.md#get_decorated_runtime_env_api_v2_decorated_runtime_envs_runtime_env_id_get) | **GET** /api/v2/decorated_runtime_envs/{runtime_env_id} | Get Decorated Runtime Env
|
211
212
|
*DefaultApi* | [**get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get**](docs/DefaultApi.md#get_decorated_serve_deployment_api_v2_decorated_serve_deployments_serve_deloyment_id_get) | **GET** /api/v2/decorated_serve_deployments/{serve_deloyment_id} | Get Decorated Serve Deployment
|
213
|
+
*DefaultApi* | [**get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get**](docs/DefaultApi.md#get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get) | **GET** /api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status | Get Decorated Serve Deployment Fast Api Docs Status
|
212
214
|
*DefaultApi* | [**get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get**](docs/DefaultApi.md#get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get) | **GET** /api/v2/decorated_serve_deployments/{serve_deployment_id}/logs | Get Decorated Serve Deployment Logs
|
213
215
|
*DefaultApi* | [**get_decorated_support_request_for_user_organization_api_v2_support_requests_get**](docs/DefaultApi.md#get_decorated_support_request_for_user_organization_api_v2_support_requests_get) | **GET** /api/v2/support_requests/ | Get Decorated Support Request For User Organization
|
214
216
|
*DefaultApi* | [**get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get**](docs/DefaultApi.md#get_default_cluster_env_build_api_v2_builds_default_py_version_ray_version_get) | **GET** /api/v2/builds/default/{py_version}/{ray_version} | Get Default Cluster Env Build
|
@@ -924,9 +926,11 @@ Class | Method | HTTP request | Description
|
|
924
926
|
- [SUPPORTEDBASEIMAGESENUM](docs/SUPPORTEDBASEIMAGESENUM.md)
|
925
927
|
- [ScheduleConfig](docs/ScheduleConfig.md)
|
926
928
|
- [SchedulerInfo](docs/SchedulerInfo.md)
|
929
|
+
- [ServeDeploymentFastApiDocsStatus](docs/ServeDeploymentFastApiDocsStatus.md)
|
927
930
|
- [ServeDeploymentGrafanaDashboardStatus](docs/ServeDeploymentGrafanaDashboardStatus.md)
|
928
931
|
- [ServeDeploymentLogs](docs/ServeDeploymentLogs.md)
|
929
932
|
- [ServeDeploymentState](docs/ServeDeploymentState.md)
|
933
|
+
- [ServedeploymentfastapidocsstatusResponse](docs/ServedeploymentfastapidocsstatusResponse.md)
|
930
934
|
- [ServedeploymentlogsResponse](docs/ServedeploymentlogsResponse.md)
|
931
935
|
- [ServerSessionToken](docs/ServerSessionToken.md)
|
932
936
|
- [ServersessiontokenResponse](docs/ServersessiontokenResponse.md)
|
@@ -527,9 +527,11 @@ from openapi_client.models.sso_login_info import SSOLoginInfo
|
|
527
527
|
from openapi_client.models.supportedbaseimagesenum import SUPPORTEDBASEIMAGESENUM
|
528
528
|
from openapi_client.models.schedule_config import ScheduleConfig
|
529
529
|
from openapi_client.models.scheduler_info import SchedulerInfo
|
530
|
+
from openapi_client.models.serve_deployment_fast_api_docs_status import ServeDeploymentFastApiDocsStatus
|
530
531
|
from openapi_client.models.serve_deployment_grafana_dashboard_status import ServeDeploymentGrafanaDashboardStatus
|
531
532
|
from openapi_client.models.serve_deployment_logs import ServeDeploymentLogs
|
532
533
|
from openapi_client.models.serve_deployment_state import ServeDeploymentState
|
534
|
+
from openapi_client.models.servedeploymentfastapidocsstatus_response import ServedeploymentfastapidocsstatusResponse
|
533
535
|
from openapi_client.models.servedeploymentlogs_response import ServedeploymentlogsResponse
|
534
536
|
from openapi_client.models.server_session_token import ServerSessionToken
|
535
537
|
from openapi_client.models.serversessiontoken_response import ServersessiontokenResponse
|
@@ -1331,6 +1331,120 @@ class DefaultApi(object):
|
|
1331
1331
|
_request_timeout=local_var_params.get('_request_timeout'),
|
1332
1332
|
collection_formats=collection_formats)
|
1333
1333
|
|
1334
|
+
def archive_service_api_v2_services_v2_service_id_archive_post(self, service_id, **kwargs): # noqa: E501
|
1335
|
+
"""Archive Service # noqa: E501
|
1336
|
+
|
1337
|
+
Archives a Service. It is a no-op if already archived. # noqa: E501
|
1338
|
+
This method makes a synchronous HTTP request by default. To make an
|
1339
|
+
asynchronous HTTP request, please pass async_req=True
|
1340
|
+
>>> thread = api.archive_service_api_v2_services_v2_service_id_archive_post(service_id, async_req=True)
|
1341
|
+
>>> result = thread.get()
|
1342
|
+
|
1343
|
+
:param async_req bool: execute request asynchronously
|
1344
|
+
:param str service_id: (required)
|
1345
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1346
|
+
be returned without reading/decoding response
|
1347
|
+
data. Default is True.
|
1348
|
+
:param _request_timeout: timeout setting for this request. If one
|
1349
|
+
number provided, it will be total request
|
1350
|
+
timeout. It can also be a pair (tuple) of
|
1351
|
+
(connection, read) timeouts.
|
1352
|
+
:return: None
|
1353
|
+
If the method is called asynchronously,
|
1354
|
+
returns the request thread.
|
1355
|
+
"""
|
1356
|
+
kwargs['_return_http_data_only'] = True
|
1357
|
+
return self.archive_service_api_v2_services_v2_service_id_archive_post_with_http_info(service_id, **kwargs) # noqa: E501
|
1358
|
+
|
1359
|
+
def archive_service_api_v2_services_v2_service_id_archive_post_with_http_info(self, service_id, **kwargs): # noqa: E501
|
1360
|
+
"""Archive Service # noqa: E501
|
1361
|
+
|
1362
|
+
Archives a Service. It is a no-op if already archived. # noqa: E501
|
1363
|
+
This method makes a synchronous HTTP request by default. To make an
|
1364
|
+
asynchronous HTTP request, please pass async_req=True
|
1365
|
+
>>> thread = api.archive_service_api_v2_services_v2_service_id_archive_post_with_http_info(service_id, async_req=True)
|
1366
|
+
>>> result = thread.get()
|
1367
|
+
|
1368
|
+
:param async_req bool: execute request asynchronously
|
1369
|
+
:param str service_id: (required)
|
1370
|
+
:param _return_http_data_only: response data without head status code
|
1371
|
+
and headers
|
1372
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1373
|
+
be returned without reading/decoding response
|
1374
|
+
data. Default is True.
|
1375
|
+
:param _request_timeout: timeout setting for this request. If one
|
1376
|
+
number provided, it will be total request
|
1377
|
+
timeout. It can also be a pair (tuple) of
|
1378
|
+
(connection, read) timeouts.
|
1379
|
+
:return: None
|
1380
|
+
If the method is called asynchronously,
|
1381
|
+
returns the request thread.
|
1382
|
+
"""
|
1383
|
+
|
1384
|
+
local_var_params = locals()
|
1385
|
+
|
1386
|
+
all_params = [
|
1387
|
+
'service_id'
|
1388
|
+
]
|
1389
|
+
all_params.extend(
|
1390
|
+
[
|
1391
|
+
'async_req',
|
1392
|
+
'_return_http_data_only',
|
1393
|
+
'_preload_content',
|
1394
|
+
'_request_timeout'
|
1395
|
+
]
|
1396
|
+
)
|
1397
|
+
|
1398
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
1399
|
+
if key not in all_params:
|
1400
|
+
raise ApiTypeError(
|
1401
|
+
"Got an unexpected keyword argument '%s'"
|
1402
|
+
" to method archive_service_api_v2_services_v2_service_id_archive_post" % key
|
1403
|
+
)
|
1404
|
+
local_var_params[key] = val
|
1405
|
+
del local_var_params['kwargs']
|
1406
|
+
# verify the required parameter 'service_id' is set
|
1407
|
+
if self.api_client.client_side_validation and ('service_id' not in local_var_params or # noqa: E501
|
1408
|
+
local_var_params['service_id'] is None): # noqa: E501
|
1409
|
+
raise ApiValueError("Missing the required parameter `service_id` when calling `archive_service_api_v2_services_v2_service_id_archive_post`") # noqa: E501
|
1410
|
+
|
1411
|
+
collection_formats = {}
|
1412
|
+
|
1413
|
+
path_params = {}
|
1414
|
+
if 'service_id' in local_var_params:
|
1415
|
+
path_params['service_id'] = local_var_params['service_id'] # noqa: E501
|
1416
|
+
|
1417
|
+
query_params = []
|
1418
|
+
|
1419
|
+
header_params = {}
|
1420
|
+
|
1421
|
+
form_params = []
|
1422
|
+
local_var_files = {}
|
1423
|
+
|
1424
|
+
body_params = None
|
1425
|
+
# HTTP header `Accept`
|
1426
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
1427
|
+
['application/json']) # noqa: E501
|
1428
|
+
|
1429
|
+
# Authentication setting
|
1430
|
+
auth_settings = [] # noqa: E501
|
1431
|
+
|
1432
|
+
return self.api_client.call_api(
|
1433
|
+
'/api/v2/services-v2/{service_id}/archive', 'POST',
|
1434
|
+
path_params,
|
1435
|
+
query_params,
|
1436
|
+
header_params,
|
1437
|
+
body=body_params,
|
1438
|
+
post_params=form_params,
|
1439
|
+
files=local_var_files,
|
1440
|
+
response_type=None, # noqa: E501
|
1441
|
+
auth_settings=auth_settings,
|
1442
|
+
async_req=local_var_params.get('async_req'),
|
1443
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
1444
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
1445
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
1446
|
+
collection_formats=collection_formats)
|
1447
|
+
|
1334
1448
|
def attach_machine_pool_to_cloud_api_v2_machine_pools_attach_post(self, attach_machine_pool_to_cloud_request, **kwargs): # noqa: E501
|
1335
1449
|
"""Attach Machine Pool To Cloud # noqa: E501
|
1336
1450
|
|
@@ -15761,6 +15875,120 @@ class DefaultApi(object):
|
|
15761
15875
|
_request_timeout=local_var_params.get('_request_timeout'),
|
15762
15876
|
collection_formats=collection_formats)
|
15763
15877
|
|
15878
|
+
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
|
15879
|
+
"""Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
|
15880
|
+
|
15881
|
+
Check if the fast api docs url is healthy # noqa: E501
|
15882
|
+
This method makes a synchronous HTTP request by default. To make an
|
15883
|
+
asynchronous HTTP request, please pass async_req=True
|
15884
|
+
>>> 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)
|
15885
|
+
>>> result = thread.get()
|
15886
|
+
|
15887
|
+
:param async_req bool: execute request asynchronously
|
15888
|
+
:param str serve_deployment_id: (required)
|
15889
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15890
|
+
be returned without reading/decoding response
|
15891
|
+
data. Default is True.
|
15892
|
+
:param _request_timeout: timeout setting for this request. If one
|
15893
|
+
number provided, it will be total request
|
15894
|
+
timeout. It can also be a pair (tuple) of
|
15895
|
+
(connection, read) timeouts.
|
15896
|
+
:return: ServedeploymentfastapidocsstatusResponse
|
15897
|
+
If the method is called asynchronously,
|
15898
|
+
returns the request thread.
|
15899
|
+
"""
|
15900
|
+
kwargs['_return_http_data_only'] = True
|
15901
|
+
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
|
15902
|
+
|
15903
|
+
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
|
15904
|
+
"""Get Decorated Serve Deployment Fast Api Docs Status # noqa: E501
|
15905
|
+
|
15906
|
+
Check if the fast api docs url is healthy # noqa: E501
|
15907
|
+
This method makes a synchronous HTTP request by default. To make an
|
15908
|
+
asynchronous HTTP request, please pass async_req=True
|
15909
|
+
>>> 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)
|
15910
|
+
>>> result = thread.get()
|
15911
|
+
|
15912
|
+
:param async_req bool: execute request asynchronously
|
15913
|
+
:param str serve_deployment_id: (required)
|
15914
|
+
:param _return_http_data_only: response data without head status code
|
15915
|
+
and headers
|
15916
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
15917
|
+
be returned without reading/decoding response
|
15918
|
+
data. Default is True.
|
15919
|
+
:param _request_timeout: timeout setting for this request. If one
|
15920
|
+
number provided, it will be total request
|
15921
|
+
timeout. It can also be a pair (tuple) of
|
15922
|
+
(connection, read) timeouts.
|
15923
|
+
:return: tuple(ServedeploymentfastapidocsstatusResponse, status_code(int), headers(HTTPHeaderDict))
|
15924
|
+
If the method is called asynchronously,
|
15925
|
+
returns the request thread.
|
15926
|
+
"""
|
15927
|
+
|
15928
|
+
local_var_params = locals()
|
15929
|
+
|
15930
|
+
all_params = [
|
15931
|
+
'serve_deployment_id'
|
15932
|
+
]
|
15933
|
+
all_params.extend(
|
15934
|
+
[
|
15935
|
+
'async_req',
|
15936
|
+
'_return_http_data_only',
|
15937
|
+
'_preload_content',
|
15938
|
+
'_request_timeout'
|
15939
|
+
]
|
15940
|
+
)
|
15941
|
+
|
15942
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
15943
|
+
if key not in all_params:
|
15944
|
+
raise ApiTypeError(
|
15945
|
+
"Got an unexpected keyword argument '%s'"
|
15946
|
+
" to method get_decorated_serve_deployment_fast_api_docs_status_api_v2_decorated_serve_deployments_serve_deployment_id_fast_api_docs_status_get" % key
|
15947
|
+
)
|
15948
|
+
local_var_params[key] = val
|
15949
|
+
del local_var_params['kwargs']
|
15950
|
+
# verify the required parameter 'serve_deployment_id' is set
|
15951
|
+
if self.api_client.client_side_validation and ('serve_deployment_id' not in local_var_params or # noqa: E501
|
15952
|
+
local_var_params['serve_deployment_id'] is None): # noqa: E501
|
15953
|
+
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
|
15954
|
+
|
15955
|
+
collection_formats = {}
|
15956
|
+
|
15957
|
+
path_params = {}
|
15958
|
+
if 'serve_deployment_id' in local_var_params:
|
15959
|
+
path_params['serve_deployment_id'] = local_var_params['serve_deployment_id'] # noqa: E501
|
15960
|
+
|
15961
|
+
query_params = []
|
15962
|
+
|
15963
|
+
header_params = {}
|
15964
|
+
|
15965
|
+
form_params = []
|
15966
|
+
local_var_files = {}
|
15967
|
+
|
15968
|
+
body_params = None
|
15969
|
+
# HTTP header `Accept`
|
15970
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
15971
|
+
['application/json']) # noqa: E501
|
15972
|
+
|
15973
|
+
# Authentication setting
|
15974
|
+
auth_settings = [] # noqa: E501
|
15975
|
+
|
15976
|
+
return self.api_client.call_api(
|
15977
|
+
'/api/v2/decorated_serve_deployments/{serve_deployment_id}/fast_api_docs_status', 'GET',
|
15978
|
+
path_params,
|
15979
|
+
query_params,
|
15980
|
+
header_params,
|
15981
|
+
body=body_params,
|
15982
|
+
post_params=form_params,
|
15983
|
+
files=local_var_files,
|
15984
|
+
response_type='ServedeploymentfastapidocsstatusResponse', # noqa: E501
|
15985
|
+
auth_settings=auth_settings,
|
15986
|
+
async_req=local_var_params.get('async_req'),
|
15987
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
15988
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
15989
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
15990
|
+
collection_formats=collection_formats)
|
15991
|
+
|
15764
15992
|
def get_decorated_serve_deployment_logs_api_v2_decorated_serve_deployments_serve_deployment_id_logs_get(self, serve_deployment_id, **kwargs): # noqa: E501
|
15765
15993
|
"""Get Decorated Serve Deployment Logs # noqa: E501
|
15766
15994
|
|
@@ -30595,6 +30823,7 @@ class DefaultApi(object):
|
|
30595
30823
|
:param str project_id: project_id to filter by
|
30596
30824
|
:param str name: name to filter by
|
30597
30825
|
:param list[ServiceEventCurrentState] state_filter: A list of Service states to filter by
|
30826
|
+
:param ArchiveStatus archive_status: The archive status to filter by. Defaults to unarchived.
|
30598
30827
|
:param str creator_id: creator_id to filter by
|
30599
30828
|
:param str cloud_id: cloud_id to filter by
|
30600
30829
|
:param list[ApplicationType] application_type: Application type to filter by
|
@@ -30628,6 +30857,7 @@ class DefaultApi(object):
|
|
30628
30857
|
:param str project_id: project_id to filter by
|
30629
30858
|
:param str name: name to filter by
|
30630
30859
|
:param list[ServiceEventCurrentState] state_filter: A list of Service states to filter by
|
30860
|
+
:param ArchiveStatus archive_status: The archive status to filter by. Defaults to unarchived.
|
30631
30861
|
:param str creator_id: creator_id to filter by
|
30632
30862
|
:param str cloud_id: cloud_id to filter by
|
30633
30863
|
:param list[ApplicationType] application_type: Application type to filter by
|
@@ -30655,6 +30885,7 @@ class DefaultApi(object):
|
|
30655
30885
|
'project_id',
|
30656
30886
|
'name',
|
30657
30887
|
'state_filter',
|
30888
|
+
'archive_status',
|
30658
30889
|
'creator_id',
|
30659
30890
|
'cloud_id',
|
30660
30891
|
'application_type',
|
@@ -30697,6 +30928,8 @@ class DefaultApi(object):
|
|
30697
30928
|
if 'state_filter' in local_var_params and local_var_params['state_filter'] is not None: # noqa: E501
|
30698
30929
|
query_params.append(('state_filter', local_var_params['state_filter'])) # noqa: E501
|
30699
30930
|
collection_formats['state_filter'] = 'multi' # noqa: E501
|
30931
|
+
if 'archive_status' in local_var_params and local_var_params['archive_status'] is not None: # noqa: E501
|
30932
|
+
query_params.append(('archive_status', local_var_params['archive_status'])) # noqa: E501
|
30700
30933
|
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
30701
30934
|
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
30702
30935
|
if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
|
@@ -513,9 +513,11 @@ from openapi_client.models.sso_login_info import SSOLoginInfo
|
|
513
513
|
from openapi_client.models.supportedbaseimagesenum import SUPPORTEDBASEIMAGESENUM
|
514
514
|
from openapi_client.models.schedule_config import ScheduleConfig
|
515
515
|
from openapi_client.models.scheduler_info import SchedulerInfo
|
516
|
+
from openapi_client.models.serve_deployment_fast_api_docs_status import ServeDeploymentFastApiDocsStatus
|
516
517
|
from openapi_client.models.serve_deployment_grafana_dashboard_status import ServeDeploymentGrafanaDashboardStatus
|
517
518
|
from openapi_client.models.serve_deployment_logs import ServeDeploymentLogs
|
518
519
|
from openapi_client.models.serve_deployment_state import ServeDeploymentState
|
520
|
+
from openapi_client.models.servedeploymentfastapidocsstatus_response import ServedeploymentfastapidocsstatusResponse
|
519
521
|
from openapi_client.models.servedeploymentlogs_response import ServedeploymentlogsResponse
|
520
522
|
from openapi_client.models.server_session_token import ServerSessionToken
|
521
523
|
from openapi_client.models.serversessiontoken_response import ServersessiontokenResponse
|