anyscale 0.25.6__py3-none-any.whl → 0.25.7__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/docgen/models.md +2 -39
- anyscale/client/openapi_client/api/default_api.py +21 -1
- anyscale/client/openapi_client/models/baseimagesenum.py +51 -1
- anyscale/client/openapi_client/models/cluster_event.py +32 -3
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +51 -1
- anyscale/connect_utils/prepare_cluster.py +13 -12
- anyscale/sdk/anyscale_client/__init__.py +0 -4
- anyscale/sdk/anyscale_client/api/default_api.py +0 -607
- anyscale/sdk/anyscale_client/models/__init__.py +0 -4
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +51 -1
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +51 -1
- anyscale/shared_anyscale_utils/latest_ray_version.py +2 -1
- anyscale/version.py +1 -1
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/METADATA +1 -1
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/RECORD +20 -24
- anyscale/sdk/anyscale_client/models/appconfig_list_response.py +0 -147
- anyscale/sdk/anyscale_client/models/appconfig_response.py +0 -121
- anyscale/sdk/anyscale_client/models/create_app_config.py +0 -235
- anyscale/sdk/anyscale_client/models/update_app_config.py +0 -122
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/LICENSE +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/NOTICE +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/WHEEL +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/entry_points.txt +0 -0
- {anyscale-0.25.6.dist-info → anyscale-0.25.7.dist-info}/top_level.txt +0 -0
@@ -264,124 +264,6 @@ class DefaultApi(object):
|
|
264
264
|
_request_timeout=local_var_params.get('_request_timeout'),
|
265
265
|
collection_formats=collection_formats)
|
266
266
|
|
267
|
-
def create_app_config(self, create_app_config, **kwargs): # noqa: E501
|
268
|
-
"""Create App Config # noqa: E501
|
269
|
-
|
270
|
-
DEPRECATED: Use Cluster Environments API instead. Creates an App Config. # noqa: E501
|
271
|
-
This method makes a synchronous HTTP request by default. To make an
|
272
|
-
asynchronous HTTP request, please pass async_req=True
|
273
|
-
>>> thread = api.create_app_config(create_app_config, async_req=True)
|
274
|
-
>>> result = thread.get()
|
275
|
-
|
276
|
-
:param async_req bool: execute request asynchronously
|
277
|
-
:param CreateAppConfig create_app_config: (required)
|
278
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
279
|
-
be returned without reading/decoding response
|
280
|
-
data. Default is True.
|
281
|
-
:param _request_timeout: timeout setting for this request. If one
|
282
|
-
number provided, it will be total request
|
283
|
-
timeout. It can also be a pair (tuple) of
|
284
|
-
(connection, read) timeouts.
|
285
|
-
:return: AppconfigResponse
|
286
|
-
If the method is called asynchronously,
|
287
|
-
returns the request thread.
|
288
|
-
"""
|
289
|
-
kwargs['_return_http_data_only'] = True
|
290
|
-
return self.create_app_config_with_http_info(create_app_config, **kwargs) # noqa: E501
|
291
|
-
|
292
|
-
def create_app_config_with_http_info(self, create_app_config, **kwargs): # noqa: E501
|
293
|
-
"""Create App Config # noqa: E501
|
294
|
-
|
295
|
-
DEPRECATED: Use Cluster Environments API instead. Creates an App Config. # noqa: E501
|
296
|
-
This method makes a synchronous HTTP request by default. To make an
|
297
|
-
asynchronous HTTP request, please pass async_req=True
|
298
|
-
>>> thread = api.create_app_config_with_http_info(create_app_config, async_req=True)
|
299
|
-
>>> result = thread.get()
|
300
|
-
|
301
|
-
:param async_req bool: execute request asynchronously
|
302
|
-
:param CreateAppConfig create_app_config: (required)
|
303
|
-
:param _return_http_data_only: response data without head status code
|
304
|
-
and headers
|
305
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
306
|
-
be returned without reading/decoding response
|
307
|
-
data. Default is True.
|
308
|
-
:param _request_timeout: timeout setting for this request. If one
|
309
|
-
number provided, it will be total request
|
310
|
-
timeout. It can also be a pair (tuple) of
|
311
|
-
(connection, read) timeouts.
|
312
|
-
:return: tuple(AppconfigResponse, status_code(int), headers(HTTPHeaderDict))
|
313
|
-
If the method is called asynchronously,
|
314
|
-
returns the request thread.
|
315
|
-
"""
|
316
|
-
|
317
|
-
local_var_params = locals()
|
318
|
-
|
319
|
-
all_params = [
|
320
|
-
'create_app_config'
|
321
|
-
]
|
322
|
-
all_params.extend(
|
323
|
-
[
|
324
|
-
'async_req',
|
325
|
-
'_return_http_data_only',
|
326
|
-
'_preload_content',
|
327
|
-
'_request_timeout'
|
328
|
-
]
|
329
|
-
)
|
330
|
-
|
331
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
332
|
-
if key not in all_params:
|
333
|
-
raise ApiTypeError(
|
334
|
-
"Got an unexpected keyword argument '%s'"
|
335
|
-
" to method create_app_config" % key
|
336
|
-
)
|
337
|
-
local_var_params[key] = val
|
338
|
-
del local_var_params['kwargs']
|
339
|
-
# verify the required parameter 'create_app_config' is set
|
340
|
-
if self.api_client.client_side_validation and ('create_app_config' not in local_var_params or # noqa: E501
|
341
|
-
local_var_params['create_app_config'] is None): # noqa: E501
|
342
|
-
raise ApiValueError("Missing the required parameter `create_app_config` when calling `create_app_config`") # noqa: E501
|
343
|
-
|
344
|
-
collection_formats = {}
|
345
|
-
|
346
|
-
path_params = {}
|
347
|
-
|
348
|
-
query_params = []
|
349
|
-
|
350
|
-
header_params = {}
|
351
|
-
|
352
|
-
form_params = []
|
353
|
-
local_var_files = {}
|
354
|
-
|
355
|
-
body_params = None
|
356
|
-
if 'create_app_config' in local_var_params:
|
357
|
-
body_params = local_var_params['create_app_config']
|
358
|
-
# HTTP header `Accept`
|
359
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
360
|
-
['application/json']) # noqa: E501
|
361
|
-
|
362
|
-
# HTTP header `Content-Type`
|
363
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
364
|
-
['application/json']) # noqa: E501
|
365
|
-
|
366
|
-
# Authentication setting
|
367
|
-
auth_settings = [] # noqa: E501
|
368
|
-
|
369
|
-
return self.api_client.call_api(
|
370
|
-
'/app_configs/', 'POST',
|
371
|
-
path_params,
|
372
|
-
query_params,
|
373
|
-
header_params,
|
374
|
-
body=body_params,
|
375
|
-
post_params=form_params,
|
376
|
-
files=local_var_files,
|
377
|
-
response_type='AppconfigResponse', # noqa: E501
|
378
|
-
auth_settings=auth_settings,
|
379
|
-
async_req=local_var_params.get('async_req'),
|
380
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
381
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
382
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
383
|
-
collection_formats=collection_formats)
|
384
|
-
|
385
267
|
def create_build(self, create_build, **kwargs): # noqa: E501
|
386
268
|
"""Create Build # noqa: E501
|
387
269
|
|
@@ -2034,120 +1916,6 @@ class DefaultApi(object):
|
|
2034
1916
|
_request_timeout=local_var_params.get('_request_timeout'),
|
2035
1917
|
collection_formats=collection_formats)
|
2036
1918
|
|
2037
|
-
def delete_app_configs(self, app_config_id, **kwargs): # noqa: E501
|
2038
|
-
"""Delete App Configs # noqa: E501
|
2039
|
-
|
2040
|
-
DEPRECATED: Use Cluster Environments API instead. Deletes an App Config. # noqa: E501
|
2041
|
-
This method makes a synchronous HTTP request by default. To make an
|
2042
|
-
asynchronous HTTP request, please pass async_req=True
|
2043
|
-
>>> thread = api.delete_app_configs(app_config_id, async_req=True)
|
2044
|
-
>>> result = thread.get()
|
2045
|
-
|
2046
|
-
:param async_req bool: execute request asynchronously
|
2047
|
-
:param str app_config_id: (required)
|
2048
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2049
|
-
be returned without reading/decoding response
|
2050
|
-
data. Default is True.
|
2051
|
-
:param _request_timeout: timeout setting for this request. If one
|
2052
|
-
number provided, it will be total request
|
2053
|
-
timeout. It can also be a pair (tuple) of
|
2054
|
-
(connection, read) timeouts.
|
2055
|
-
:return: None
|
2056
|
-
If the method is called asynchronously,
|
2057
|
-
returns the request thread.
|
2058
|
-
"""
|
2059
|
-
kwargs['_return_http_data_only'] = True
|
2060
|
-
return self.delete_app_configs_with_http_info(app_config_id, **kwargs) # noqa: E501
|
2061
|
-
|
2062
|
-
def delete_app_configs_with_http_info(self, app_config_id, **kwargs): # noqa: E501
|
2063
|
-
"""Delete App Configs # noqa: E501
|
2064
|
-
|
2065
|
-
DEPRECATED: Use Cluster Environments API instead. Deletes an App Config. # noqa: E501
|
2066
|
-
This method makes a synchronous HTTP request by default. To make an
|
2067
|
-
asynchronous HTTP request, please pass async_req=True
|
2068
|
-
>>> thread = api.delete_app_configs_with_http_info(app_config_id, async_req=True)
|
2069
|
-
>>> result = thread.get()
|
2070
|
-
|
2071
|
-
:param async_req bool: execute request asynchronously
|
2072
|
-
:param str app_config_id: (required)
|
2073
|
-
:param _return_http_data_only: response data without head status code
|
2074
|
-
and headers
|
2075
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2076
|
-
be returned without reading/decoding response
|
2077
|
-
data. Default is True.
|
2078
|
-
:param _request_timeout: timeout setting for this request. If one
|
2079
|
-
number provided, it will be total request
|
2080
|
-
timeout. It can also be a pair (tuple) of
|
2081
|
-
(connection, read) timeouts.
|
2082
|
-
:return: None
|
2083
|
-
If the method is called asynchronously,
|
2084
|
-
returns the request thread.
|
2085
|
-
"""
|
2086
|
-
|
2087
|
-
local_var_params = locals()
|
2088
|
-
|
2089
|
-
all_params = [
|
2090
|
-
'app_config_id'
|
2091
|
-
]
|
2092
|
-
all_params.extend(
|
2093
|
-
[
|
2094
|
-
'async_req',
|
2095
|
-
'_return_http_data_only',
|
2096
|
-
'_preload_content',
|
2097
|
-
'_request_timeout'
|
2098
|
-
]
|
2099
|
-
)
|
2100
|
-
|
2101
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
2102
|
-
if key not in all_params:
|
2103
|
-
raise ApiTypeError(
|
2104
|
-
"Got an unexpected keyword argument '%s'"
|
2105
|
-
" to method delete_app_configs" % key
|
2106
|
-
)
|
2107
|
-
local_var_params[key] = val
|
2108
|
-
del local_var_params['kwargs']
|
2109
|
-
# verify the required parameter 'app_config_id' is set
|
2110
|
-
if self.api_client.client_side_validation and ('app_config_id' not in local_var_params or # noqa: E501
|
2111
|
-
local_var_params['app_config_id'] is None): # noqa: E501
|
2112
|
-
raise ApiValueError("Missing the required parameter `app_config_id` when calling `delete_app_configs`") # noqa: E501
|
2113
|
-
|
2114
|
-
collection_formats = {}
|
2115
|
-
|
2116
|
-
path_params = {}
|
2117
|
-
if 'app_config_id' in local_var_params:
|
2118
|
-
path_params['app_config_id'] = local_var_params['app_config_id'] # noqa: E501
|
2119
|
-
|
2120
|
-
query_params = []
|
2121
|
-
|
2122
|
-
header_params = {}
|
2123
|
-
|
2124
|
-
form_params = []
|
2125
|
-
local_var_files = {}
|
2126
|
-
|
2127
|
-
body_params = None
|
2128
|
-
# HTTP header `Accept`
|
2129
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
2130
|
-
['application/json']) # noqa: E501
|
2131
|
-
|
2132
|
-
# Authentication setting
|
2133
|
-
auth_settings = [] # noqa: E501
|
2134
|
-
|
2135
|
-
return self.api_client.call_api(
|
2136
|
-
'/app_configs/{app_config_id}', 'DELETE',
|
2137
|
-
path_params,
|
2138
|
-
query_params,
|
2139
|
-
header_params,
|
2140
|
-
body=body_params,
|
2141
|
-
post_params=form_params,
|
2142
|
-
files=local_var_files,
|
2143
|
-
response_type=None, # noqa: E501
|
2144
|
-
auth_settings=auth_settings,
|
2145
|
-
async_req=local_var_params.get('async_req'),
|
2146
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
2147
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
2148
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
2149
|
-
collection_formats=collection_formats)
|
2150
|
-
|
2151
1919
|
def delete_cloud(self, cloud_id, **kwargs): # noqa: E501
|
2152
1920
|
"""Delete Cloud # noqa: E501
|
2153
1921
|
|
@@ -3060,120 +2828,6 @@ class DefaultApi(object):
|
|
3060
2828
|
_request_timeout=local_var_params.get('_request_timeout'),
|
3061
2829
|
collection_formats=collection_formats)
|
3062
2830
|
|
3063
|
-
def get_app_config(self, app_config_id, **kwargs): # noqa: E501
|
3064
|
-
"""Get App Config # noqa: E501
|
3065
|
-
|
3066
|
-
DEPRECATED: Use Cluster Environments API instead. Retrieves an App Config. # noqa: E501
|
3067
|
-
This method makes a synchronous HTTP request by default. To make an
|
3068
|
-
asynchronous HTTP request, please pass async_req=True
|
3069
|
-
>>> thread = api.get_app_config(app_config_id, async_req=True)
|
3070
|
-
>>> result = thread.get()
|
3071
|
-
|
3072
|
-
:param async_req bool: execute request asynchronously
|
3073
|
-
:param str app_config_id: (required)
|
3074
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3075
|
-
be returned without reading/decoding response
|
3076
|
-
data. Default is True.
|
3077
|
-
:param _request_timeout: timeout setting for this request. If one
|
3078
|
-
number provided, it will be total request
|
3079
|
-
timeout. It can also be a pair (tuple) of
|
3080
|
-
(connection, read) timeouts.
|
3081
|
-
:return: AppconfigResponse
|
3082
|
-
If the method is called asynchronously,
|
3083
|
-
returns the request thread.
|
3084
|
-
"""
|
3085
|
-
kwargs['_return_http_data_only'] = True
|
3086
|
-
return self.get_app_config_with_http_info(app_config_id, **kwargs) # noqa: E501
|
3087
|
-
|
3088
|
-
def get_app_config_with_http_info(self, app_config_id, **kwargs): # noqa: E501
|
3089
|
-
"""Get App Config # noqa: E501
|
3090
|
-
|
3091
|
-
DEPRECATED: Use Cluster Environments API instead. Retrieves an App Config. # noqa: E501
|
3092
|
-
This method makes a synchronous HTTP request by default. To make an
|
3093
|
-
asynchronous HTTP request, please pass async_req=True
|
3094
|
-
>>> thread = api.get_app_config_with_http_info(app_config_id, async_req=True)
|
3095
|
-
>>> result = thread.get()
|
3096
|
-
|
3097
|
-
:param async_req bool: execute request asynchronously
|
3098
|
-
:param str app_config_id: (required)
|
3099
|
-
:param _return_http_data_only: response data without head status code
|
3100
|
-
and headers
|
3101
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
3102
|
-
be returned without reading/decoding response
|
3103
|
-
data. Default is True.
|
3104
|
-
:param _request_timeout: timeout setting for this request. If one
|
3105
|
-
number provided, it will be total request
|
3106
|
-
timeout. It can also be a pair (tuple) of
|
3107
|
-
(connection, read) timeouts.
|
3108
|
-
:return: tuple(AppconfigResponse, status_code(int), headers(HTTPHeaderDict))
|
3109
|
-
If the method is called asynchronously,
|
3110
|
-
returns the request thread.
|
3111
|
-
"""
|
3112
|
-
|
3113
|
-
local_var_params = locals()
|
3114
|
-
|
3115
|
-
all_params = [
|
3116
|
-
'app_config_id'
|
3117
|
-
]
|
3118
|
-
all_params.extend(
|
3119
|
-
[
|
3120
|
-
'async_req',
|
3121
|
-
'_return_http_data_only',
|
3122
|
-
'_preload_content',
|
3123
|
-
'_request_timeout'
|
3124
|
-
]
|
3125
|
-
)
|
3126
|
-
|
3127
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
3128
|
-
if key not in all_params:
|
3129
|
-
raise ApiTypeError(
|
3130
|
-
"Got an unexpected keyword argument '%s'"
|
3131
|
-
" to method get_app_config" % key
|
3132
|
-
)
|
3133
|
-
local_var_params[key] = val
|
3134
|
-
del local_var_params['kwargs']
|
3135
|
-
# verify the required parameter 'app_config_id' is set
|
3136
|
-
if self.api_client.client_side_validation and ('app_config_id' not in local_var_params or # noqa: E501
|
3137
|
-
local_var_params['app_config_id'] is None): # noqa: E501
|
3138
|
-
raise ApiValueError("Missing the required parameter `app_config_id` when calling `get_app_config`") # noqa: E501
|
3139
|
-
|
3140
|
-
collection_formats = {}
|
3141
|
-
|
3142
|
-
path_params = {}
|
3143
|
-
if 'app_config_id' in local_var_params:
|
3144
|
-
path_params['app_config_id'] = local_var_params['app_config_id'] # noqa: E501
|
3145
|
-
|
3146
|
-
query_params = []
|
3147
|
-
|
3148
|
-
header_params = {}
|
3149
|
-
|
3150
|
-
form_params = []
|
3151
|
-
local_var_files = {}
|
3152
|
-
|
3153
|
-
body_params = None
|
3154
|
-
# HTTP header `Accept`
|
3155
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
3156
|
-
['application/json']) # noqa: E501
|
3157
|
-
|
3158
|
-
# Authentication setting
|
3159
|
-
auth_settings = [] # noqa: E501
|
3160
|
-
|
3161
|
-
return self.api_client.call_api(
|
3162
|
-
'/app_configs/{app_config_id}', 'GET',
|
3163
|
-
path_params,
|
3164
|
-
query_params,
|
3165
|
-
header_params,
|
3166
|
-
body=body_params,
|
3167
|
-
post_params=form_params,
|
3168
|
-
files=local_var_files,
|
3169
|
-
response_type='AppconfigResponse', # noqa: E501
|
3170
|
-
auth_settings=auth_settings,
|
3171
|
-
async_req=local_var_params.get('async_req'),
|
3172
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
3173
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
3174
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
3175
|
-
collection_formats=collection_formats)
|
3176
|
-
|
3177
2831
|
def get_build(self, build_id, **kwargs): # noqa: E501
|
3178
2832
|
"""Get Build # noqa: E501
|
3179
2833
|
|
@@ -6596,140 +6250,6 @@ class DefaultApi(object):
|
|
6596
6250
|
_request_timeout=local_var_params.get('_request_timeout'),
|
6597
6251
|
collection_formats=collection_formats)
|
6598
6252
|
|
6599
|
-
def list_app_configs(self, **kwargs): # noqa: E501
|
6600
|
-
"""List App Configs # noqa: E501
|
6601
|
-
|
6602
|
-
DEPRECATED: Use Cluster Environments API instead. Lists all App Configs that satisfies the query parameters. If none are provided, we show all App Configs within your orgranization. # noqa: E501
|
6603
|
-
This method makes a synchronous HTTP request by default. To make an
|
6604
|
-
asynchronous HTTP request, please pass async_req=True
|
6605
|
-
>>> thread = api.list_app_configs(async_req=True)
|
6606
|
-
>>> result = thread.get()
|
6607
|
-
|
6608
|
-
:param async_req bool: execute request asynchronously
|
6609
|
-
:param str project_id:
|
6610
|
-
:param str creator_id:
|
6611
|
-
:param str name_contains:
|
6612
|
-
:param str paging_token:
|
6613
|
-
:param int count:
|
6614
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6615
|
-
be returned without reading/decoding response
|
6616
|
-
data. Default is True.
|
6617
|
-
:param _request_timeout: timeout setting for this request. If one
|
6618
|
-
number provided, it will be total request
|
6619
|
-
timeout. It can also be a pair (tuple) of
|
6620
|
-
(connection, read) timeouts.
|
6621
|
-
:return: AppconfigListResponse
|
6622
|
-
If the method is called asynchronously,
|
6623
|
-
returns the request thread.
|
6624
|
-
"""
|
6625
|
-
kwargs['_return_http_data_only'] = True
|
6626
|
-
return self.list_app_configs_with_http_info(**kwargs) # noqa: E501
|
6627
|
-
|
6628
|
-
def list_app_configs_with_http_info(self, **kwargs): # noqa: E501
|
6629
|
-
"""List App Configs # noqa: E501
|
6630
|
-
|
6631
|
-
DEPRECATED: Use Cluster Environments API instead. Lists all App Configs that satisfies the query parameters. If none are provided, we show all App Configs within your orgranization. # noqa: E501
|
6632
|
-
This method makes a synchronous HTTP request by default. To make an
|
6633
|
-
asynchronous HTTP request, please pass async_req=True
|
6634
|
-
>>> thread = api.list_app_configs_with_http_info(async_req=True)
|
6635
|
-
>>> result = thread.get()
|
6636
|
-
|
6637
|
-
:param async_req bool: execute request asynchronously
|
6638
|
-
:param str project_id:
|
6639
|
-
:param str creator_id:
|
6640
|
-
:param str name_contains:
|
6641
|
-
:param str paging_token:
|
6642
|
-
:param int count:
|
6643
|
-
:param _return_http_data_only: response data without head status code
|
6644
|
-
and headers
|
6645
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
6646
|
-
be returned without reading/decoding response
|
6647
|
-
data. Default is True.
|
6648
|
-
:param _request_timeout: timeout setting for this request. If one
|
6649
|
-
number provided, it will be total request
|
6650
|
-
timeout. It can also be a pair (tuple) of
|
6651
|
-
(connection, read) timeouts.
|
6652
|
-
:return: tuple(AppconfigListResponse, status_code(int), headers(HTTPHeaderDict))
|
6653
|
-
If the method is called asynchronously,
|
6654
|
-
returns the request thread.
|
6655
|
-
"""
|
6656
|
-
|
6657
|
-
local_var_params = locals()
|
6658
|
-
|
6659
|
-
all_params = [
|
6660
|
-
'project_id',
|
6661
|
-
'creator_id',
|
6662
|
-
'name_contains',
|
6663
|
-
'paging_token',
|
6664
|
-
'count'
|
6665
|
-
]
|
6666
|
-
all_params.extend(
|
6667
|
-
[
|
6668
|
-
'async_req',
|
6669
|
-
'_return_http_data_only',
|
6670
|
-
'_preload_content',
|
6671
|
-
'_request_timeout'
|
6672
|
-
]
|
6673
|
-
)
|
6674
|
-
|
6675
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
6676
|
-
if key not in all_params:
|
6677
|
-
raise ApiTypeError(
|
6678
|
-
"Got an unexpected keyword argument '%s'"
|
6679
|
-
" to method list_app_configs" % key
|
6680
|
-
)
|
6681
|
-
local_var_params[key] = val
|
6682
|
-
del local_var_params['kwargs']
|
6683
|
-
|
6684
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
|
6685
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_app_configs`, must be a value less than or equal to `1000`") # noqa: E501
|
6686
|
-
if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
|
6687
|
-
raise ApiValueError("Invalid value for parameter `count` when calling `list_app_configs`, must be a value greater than or equal to `0`") # noqa: E501
|
6688
|
-
collection_formats = {}
|
6689
|
-
|
6690
|
-
path_params = {}
|
6691
|
-
|
6692
|
-
query_params = []
|
6693
|
-
if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
|
6694
|
-
query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
|
6695
|
-
if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
|
6696
|
-
query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
|
6697
|
-
if 'name_contains' in local_var_params and local_var_params['name_contains'] is not None: # noqa: E501
|
6698
|
-
query_params.append(('name_contains', local_var_params['name_contains'])) # noqa: E501
|
6699
|
-
if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
|
6700
|
-
query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
|
6701
|
-
if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
|
6702
|
-
query_params.append(('count', local_var_params['count'])) # noqa: E501
|
6703
|
-
|
6704
|
-
header_params = {}
|
6705
|
-
|
6706
|
-
form_params = []
|
6707
|
-
local_var_files = {}
|
6708
|
-
|
6709
|
-
body_params = None
|
6710
|
-
# HTTP header `Accept`
|
6711
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
6712
|
-
['application/json']) # noqa: E501
|
6713
|
-
|
6714
|
-
# Authentication setting
|
6715
|
-
auth_settings = [] # noqa: E501
|
6716
|
-
|
6717
|
-
return self.api_client.call_api(
|
6718
|
-
'/app_configs/', 'GET',
|
6719
|
-
path_params,
|
6720
|
-
query_params,
|
6721
|
-
header_params,
|
6722
|
-
body=body_params,
|
6723
|
-
post_params=form_params,
|
6724
|
-
files=local_var_files,
|
6725
|
-
response_type='AppconfigListResponse', # noqa: E501
|
6726
|
-
auth_settings=auth_settings,
|
6727
|
-
async_req=local_var_params.get('async_req'),
|
6728
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
6729
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
6730
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
6731
|
-
collection_formats=collection_formats)
|
6732
|
-
|
6733
6253
|
def list_builds(self, application_template_id, **kwargs): # noqa: E501
|
6734
6254
|
"""List Builds # noqa: E501
|
6735
6255
|
|
@@ -10595,133 +10115,6 @@ class DefaultApi(object):
|
|
10595
10115
|
_request_timeout=local_var_params.get('_request_timeout'),
|
10596
10116
|
collection_formats=collection_formats)
|
10597
10117
|
|
10598
|
-
def update_app_configs(self, app_config_id, update_app_config, **kwargs): # noqa: E501
|
10599
|
-
"""Update App Configs # noqa: E501
|
10600
|
-
|
10601
|
-
DEPRECATED: Renaming an App Config will no longer be supported moving forward. Updates an App Config. # noqa: E501
|
10602
|
-
This method makes a synchronous HTTP request by default. To make an
|
10603
|
-
asynchronous HTTP request, please pass async_req=True
|
10604
|
-
>>> thread = api.update_app_configs(app_config_id, update_app_config, async_req=True)
|
10605
|
-
>>> result = thread.get()
|
10606
|
-
|
10607
|
-
:param async_req bool: execute request asynchronously
|
10608
|
-
:param str app_config_id: (required)
|
10609
|
-
:param UpdateAppConfig update_app_config: (required)
|
10610
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
10611
|
-
be returned without reading/decoding response
|
10612
|
-
data. Default is True.
|
10613
|
-
:param _request_timeout: timeout setting for this request. If one
|
10614
|
-
number provided, it will be total request
|
10615
|
-
timeout. It can also be a pair (tuple) of
|
10616
|
-
(connection, read) timeouts.
|
10617
|
-
:return: AppconfigResponse
|
10618
|
-
If the method is called asynchronously,
|
10619
|
-
returns the request thread.
|
10620
|
-
"""
|
10621
|
-
kwargs['_return_http_data_only'] = True
|
10622
|
-
return self.update_app_configs_with_http_info(app_config_id, update_app_config, **kwargs) # noqa: E501
|
10623
|
-
|
10624
|
-
def update_app_configs_with_http_info(self, app_config_id, update_app_config, **kwargs): # noqa: E501
|
10625
|
-
"""Update App Configs # noqa: E501
|
10626
|
-
|
10627
|
-
DEPRECATED: Renaming an App Config will no longer be supported moving forward. Updates an App Config. # noqa: E501
|
10628
|
-
This method makes a synchronous HTTP request by default. To make an
|
10629
|
-
asynchronous HTTP request, please pass async_req=True
|
10630
|
-
>>> thread = api.update_app_configs_with_http_info(app_config_id, update_app_config, async_req=True)
|
10631
|
-
>>> result = thread.get()
|
10632
|
-
|
10633
|
-
:param async_req bool: execute request asynchronously
|
10634
|
-
:param str app_config_id: (required)
|
10635
|
-
:param UpdateAppConfig update_app_config: (required)
|
10636
|
-
:param _return_http_data_only: response data without head status code
|
10637
|
-
and headers
|
10638
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
10639
|
-
be returned without reading/decoding response
|
10640
|
-
data. Default is True.
|
10641
|
-
:param _request_timeout: timeout setting for this request. If one
|
10642
|
-
number provided, it will be total request
|
10643
|
-
timeout. It can also be a pair (tuple) of
|
10644
|
-
(connection, read) timeouts.
|
10645
|
-
:return: tuple(AppconfigResponse, status_code(int), headers(HTTPHeaderDict))
|
10646
|
-
If the method is called asynchronously,
|
10647
|
-
returns the request thread.
|
10648
|
-
"""
|
10649
|
-
|
10650
|
-
local_var_params = locals()
|
10651
|
-
|
10652
|
-
all_params = [
|
10653
|
-
'app_config_id',
|
10654
|
-
'update_app_config'
|
10655
|
-
]
|
10656
|
-
all_params.extend(
|
10657
|
-
[
|
10658
|
-
'async_req',
|
10659
|
-
'_return_http_data_only',
|
10660
|
-
'_preload_content',
|
10661
|
-
'_request_timeout'
|
10662
|
-
]
|
10663
|
-
)
|
10664
|
-
|
10665
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
10666
|
-
if key not in all_params:
|
10667
|
-
raise ApiTypeError(
|
10668
|
-
"Got an unexpected keyword argument '%s'"
|
10669
|
-
" to method update_app_configs" % key
|
10670
|
-
)
|
10671
|
-
local_var_params[key] = val
|
10672
|
-
del local_var_params['kwargs']
|
10673
|
-
# verify the required parameter 'app_config_id' is set
|
10674
|
-
if self.api_client.client_side_validation and ('app_config_id' not in local_var_params or # noqa: E501
|
10675
|
-
local_var_params['app_config_id'] is None): # noqa: E501
|
10676
|
-
raise ApiValueError("Missing the required parameter `app_config_id` when calling `update_app_configs`") # noqa: E501
|
10677
|
-
# verify the required parameter 'update_app_config' is set
|
10678
|
-
if self.api_client.client_side_validation and ('update_app_config' not in local_var_params or # noqa: E501
|
10679
|
-
local_var_params['update_app_config'] is None): # noqa: E501
|
10680
|
-
raise ApiValueError("Missing the required parameter `update_app_config` when calling `update_app_configs`") # noqa: E501
|
10681
|
-
|
10682
|
-
collection_formats = {}
|
10683
|
-
|
10684
|
-
path_params = {}
|
10685
|
-
if 'app_config_id' in local_var_params:
|
10686
|
-
path_params['app_config_id'] = local_var_params['app_config_id'] # noqa: E501
|
10687
|
-
|
10688
|
-
query_params = []
|
10689
|
-
|
10690
|
-
header_params = {}
|
10691
|
-
|
10692
|
-
form_params = []
|
10693
|
-
local_var_files = {}
|
10694
|
-
|
10695
|
-
body_params = None
|
10696
|
-
if 'update_app_config' in local_var_params:
|
10697
|
-
body_params = local_var_params['update_app_config']
|
10698
|
-
# HTTP header `Accept`
|
10699
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
10700
|
-
['application/json']) # noqa: E501
|
10701
|
-
|
10702
|
-
# HTTP header `Content-Type`
|
10703
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
10704
|
-
['application/json']) # noqa: E501
|
10705
|
-
|
10706
|
-
# Authentication setting
|
10707
|
-
auth_settings = [] # noqa: E501
|
10708
|
-
|
10709
|
-
return self.api_client.call_api(
|
10710
|
-
'/app_configs/{app_config_id}', 'PUT',
|
10711
|
-
path_params,
|
10712
|
-
query_params,
|
10713
|
-
header_params,
|
10714
|
-
body=body_params,
|
10715
|
-
post_params=form_params,
|
10716
|
-
files=local_var_files,
|
10717
|
-
response_type='AppconfigResponse', # noqa: E501
|
10718
|
-
auth_settings=auth_settings,
|
10719
|
-
async_req=local_var_params.get('async_req'),
|
10720
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
10721
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
10722
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
10723
|
-
collection_formats=collection_formats)
|
10724
|
-
|
10725
10118
|
def update_cloud(self, cloud_id, update_cloud, **kwargs): # noqa: E501
|
10726
10119
|
"""Update Cloud # noqa: E501
|
10727
10120
|
|
@@ -17,8 +17,6 @@ from __future__ import absolute_import
|
|
17
17
|
from anyscale_client.models.access_config import AccessConfig
|
18
18
|
from anyscale_client.models.app_config import AppConfig
|
19
19
|
from anyscale_client.models.app_config_config_schema import AppConfigConfigSchema
|
20
|
-
from anyscale_client.models.appconfig_list_response import AppconfigListResponse
|
21
|
-
from anyscale_client.models.appconfig_response import AppconfigResponse
|
22
20
|
from anyscale_client.models.apply_production_service_v2_model import ApplyProductionServiceV2Model
|
23
21
|
from anyscale_client.models.apply_service_model import ApplyServiceModel
|
24
22
|
from anyscale_client.models.archive_status import ArchiveStatus
|
@@ -79,7 +77,6 @@ from anyscale_client.models.compute_template_query import ComputeTemplateQuery
|
|
79
77
|
from anyscale_client.models.computetemplate_list_response import ComputetemplateListResponse
|
80
78
|
from anyscale_client.models.computetemplate_response import ComputetemplateResponse
|
81
79
|
from anyscale_client.models.computetemplateconfig_response import ComputetemplateconfigResponse
|
82
|
-
from anyscale_client.models.create_app_config import CreateAppConfig
|
83
80
|
from anyscale_client.models.create_app_config_configuration_schema import CreateAppConfigConfigurationSchema
|
84
81
|
from anyscale_client.models.create_byod_app_config_configuration_schema import CreateBYODAppConfigConfigurationSchema
|
85
82
|
from anyscale_client.models.create_byod_cluster_environment import CreateBYODClusterEnvironment
|
@@ -202,7 +199,6 @@ from anyscale_client.models.terminate_session_options import TerminateSessionOpt
|
|
202
199
|
from anyscale_client.models.text_query import TextQuery
|
203
200
|
from anyscale_client.models.tracing_config import TracingConfig
|
204
201
|
from anyscale_client.models.ux_instance import UXInstance
|
205
|
-
from anyscale_client.models.update_app_config import UpdateAppConfig
|
206
202
|
from anyscale_client.models.update_cloud import UpdateCloud
|
207
203
|
from anyscale_client.models.update_cluster import UpdateCluster
|
208
204
|
from anyscale_client.models.update_compute_template import UpdateComputeTemplate
|