anyscale 0.26.12__py3-none-any.whl → 0.26.14__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/__main__.py +0 -3
- anyscale/_private/docgen/api.md +0 -14
- anyscale/_private/docgen/models.md +2 -47
- anyscale/client/README.md +24 -7
- anyscale/client/openapi_client/__init__.py +18 -5
- anyscale/client/openapi_client/api/default_api.py +746 -282
- anyscale/client/openapi_client/models/__init__.py +18 -5
- anyscale/client/openapi_client/models/baseimagesenum.py +23 -4
- anyscale/client/openapi_client/models/dataset_dag.py +229 -0
- anyscale/client/openapi_client/models/dataset_dag_response.py +121 -0
- anyscale/client/openapi_client/models/{operator_metric_id.py → operator_branch.py} +26 -26
- anyscale/{sdk/anyscale_client/models/runtimeenvironment_response.py → client/openapi_client/models/operator_id.py} +24 -24
- anyscale/client/openapi_client/models/operator_metrics.py +3 -30
- anyscale/client/openapi_client/models/organization_marketing_questions.py +15 -41
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +14 -14
- anyscale/client/openapi_client/models/task_exception_group_aggregate.py +148 -0
- anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +175 -0
- anyscale/client/openapi_client/models/task_grouped_aggregate_metrics.py +337 -0
- anyscale/client/openapi_client/models/task_job_group_aggregate.py +148 -0
- anyscale/client/openapi_client/models/task_state.py +103 -0
- anyscale/client/openapi_client/models/task_summary.py +256 -0
- anyscale/client/openapi_client/models/task_table_config.py +250 -0
- anyscale/client/openapi_client/models/task_table_response.py +174 -0
- anyscale/client/openapi_client/models/task_table_row.py +491 -0
- anyscale/client/openapi_client/models/{cluster_size.py → task_type.py} +7 -10
- anyscale/client/openapi_client/models/taskexceptiongroupaggregate_list_response.py +147 -0
- anyscale/client/openapi_client/models/taskfunctionnamegroupaggregate_list_response.py +147 -0
- anyscale/client/openapi_client/models/{decoratedruntimeenv_list_response.py → taskjobgroupaggregate_list_response.py} +15 -15
- anyscale/client/openapi_client/models/{decoratedruntimeenv_response.py → tasksummary_response.py} +11 -11
- anyscale/commands/command_examples.py +22 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -3
- anyscale/sdk/anyscale_client/api/default_api.py +0 -232
- anyscale/sdk/anyscale_client/models/__init__.py +0 -3
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +23 -4
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +14 -14
- anyscale/version.py +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/METADATA +1 -1
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/RECORD +43 -33
- anyscale/client/openapi_client/models/decorated_runtime_env.py +0 -488
- anyscale/sdk/anyscale_client/models/create_session.py +0 -432
- anyscale/sdk/anyscale_client/models/runtime_environment.py +0 -406
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/LICENSE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/NOTICE +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/WHEEL +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.12.dist-info → anyscale-0.26.14.dist-info}/top_level.txt +0 -0
@@ -1680,124 +1680,6 @@ class DefaultApi(object):
|
|
1680
1680
|
_request_timeout=local_var_params.get('_request_timeout'),
|
1681
1681
|
collection_formats=collection_formats)
|
1682
1682
|
|
1683
|
-
def create_session(self, create_session, **kwargs): # noqa: E501
|
1684
|
-
"""Create Session # noqa: E501
|
1685
|
-
|
1686
|
-
DEPRECATED: Use Clusters API instead. Creates a Session. # noqa: E501
|
1687
|
-
This method makes a synchronous HTTP request by default. To make an
|
1688
|
-
asynchronous HTTP request, please pass async_req=True
|
1689
|
-
>>> thread = api.create_session(create_session, async_req=True)
|
1690
|
-
>>> result = thread.get()
|
1691
|
-
|
1692
|
-
:param async_req bool: execute request asynchronously
|
1693
|
-
:param CreateSession create_session: (required)
|
1694
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1695
|
-
be returned without reading/decoding response
|
1696
|
-
data. Default is True.
|
1697
|
-
:param _request_timeout: timeout setting for this request. If one
|
1698
|
-
number provided, it will be total request
|
1699
|
-
timeout. It can also be a pair (tuple) of
|
1700
|
-
(connection, read) timeouts.
|
1701
|
-
:return: SessionResponse
|
1702
|
-
If the method is called asynchronously,
|
1703
|
-
returns the request thread.
|
1704
|
-
"""
|
1705
|
-
kwargs['_return_http_data_only'] = True
|
1706
|
-
return self.create_session_with_http_info(create_session, **kwargs) # noqa: E501
|
1707
|
-
|
1708
|
-
def create_session_with_http_info(self, create_session, **kwargs): # noqa: E501
|
1709
|
-
"""Create Session # noqa: E501
|
1710
|
-
|
1711
|
-
DEPRECATED: Use Clusters API instead. Creates a Session. # noqa: E501
|
1712
|
-
This method makes a synchronous HTTP request by default. To make an
|
1713
|
-
asynchronous HTTP request, please pass async_req=True
|
1714
|
-
>>> thread = api.create_session_with_http_info(create_session, async_req=True)
|
1715
|
-
>>> result = thread.get()
|
1716
|
-
|
1717
|
-
:param async_req bool: execute request asynchronously
|
1718
|
-
:param CreateSession create_session: (required)
|
1719
|
-
:param _return_http_data_only: response data without head status code
|
1720
|
-
and headers
|
1721
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1722
|
-
be returned without reading/decoding response
|
1723
|
-
data. Default is True.
|
1724
|
-
:param _request_timeout: timeout setting for this request. If one
|
1725
|
-
number provided, it will be total request
|
1726
|
-
timeout. It can also be a pair (tuple) of
|
1727
|
-
(connection, read) timeouts.
|
1728
|
-
:return: tuple(SessionResponse, status_code(int), headers(HTTPHeaderDict))
|
1729
|
-
If the method is called asynchronously,
|
1730
|
-
returns the request thread.
|
1731
|
-
"""
|
1732
|
-
|
1733
|
-
local_var_params = locals()
|
1734
|
-
|
1735
|
-
all_params = [
|
1736
|
-
'create_session'
|
1737
|
-
]
|
1738
|
-
all_params.extend(
|
1739
|
-
[
|
1740
|
-
'async_req',
|
1741
|
-
'_return_http_data_only',
|
1742
|
-
'_preload_content',
|
1743
|
-
'_request_timeout'
|
1744
|
-
]
|
1745
|
-
)
|
1746
|
-
|
1747
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
1748
|
-
if key not in all_params:
|
1749
|
-
raise ApiTypeError(
|
1750
|
-
"Got an unexpected keyword argument '%s'"
|
1751
|
-
" to method create_session" % key
|
1752
|
-
)
|
1753
|
-
local_var_params[key] = val
|
1754
|
-
del local_var_params['kwargs']
|
1755
|
-
# verify the required parameter 'create_session' is set
|
1756
|
-
if self.api_client.client_side_validation and ('create_session' not in local_var_params or # noqa: E501
|
1757
|
-
local_var_params['create_session'] is None): # noqa: E501
|
1758
|
-
raise ApiValueError("Missing the required parameter `create_session` when calling `create_session`") # noqa: E501
|
1759
|
-
|
1760
|
-
collection_formats = {}
|
1761
|
-
|
1762
|
-
path_params = {}
|
1763
|
-
|
1764
|
-
query_params = []
|
1765
|
-
|
1766
|
-
header_params = {}
|
1767
|
-
|
1768
|
-
form_params = []
|
1769
|
-
local_var_files = {}
|
1770
|
-
|
1771
|
-
body_params = None
|
1772
|
-
if 'create_session' in local_var_params:
|
1773
|
-
body_params = local_var_params['create_session']
|
1774
|
-
# HTTP header `Accept`
|
1775
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
1776
|
-
['application/json']) # noqa: E501
|
1777
|
-
|
1778
|
-
# HTTP header `Content-Type`
|
1779
|
-
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
1780
|
-
['application/json']) # noqa: E501
|
1781
|
-
|
1782
|
-
# Authentication setting
|
1783
|
-
auth_settings = [] # noqa: E501
|
1784
|
-
|
1785
|
-
return self.api_client.call_api(
|
1786
|
-
'/sessions/', 'POST',
|
1787
|
-
path_params,
|
1788
|
-
query_params,
|
1789
|
-
header_params,
|
1790
|
-
body=body_params,
|
1791
|
-
post_params=form_params,
|
1792
|
-
files=local_var_files,
|
1793
|
-
response_type='SessionResponse', # noqa: E501
|
1794
|
-
auth_settings=auth_settings,
|
1795
|
-
async_req=local_var_params.get('async_req'),
|
1796
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
1797
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
1798
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
1799
|
-
collection_formats=collection_formats)
|
1800
|
-
|
1801
1683
|
def delete_cloud(self, cloud_id, **kwargs): # noqa: E501
|
1802
1684
|
"""Delete Cloud # noqa: E501
|
1803
1685
|
|
@@ -5106,120 +4988,6 @@ class DefaultApi(object):
|
|
5106
4988
|
_request_timeout=local_var_params.get('_request_timeout'),
|
5107
4989
|
collection_formats=collection_formats)
|
5108
4990
|
|
5109
|
-
def get_runtime_environment(self, runtime_environment_id, **kwargs): # noqa: E501
|
5110
|
-
"""Get Runtime Environment # noqa: E501
|
5111
|
-
|
5112
|
-
Retrieves a Runtime Environment. # noqa: E501
|
5113
|
-
This method makes a synchronous HTTP request by default. To make an
|
5114
|
-
asynchronous HTTP request, please pass async_req=True
|
5115
|
-
>>> thread = api.get_runtime_environment(runtime_environment_id, async_req=True)
|
5116
|
-
>>> result = thread.get()
|
5117
|
-
|
5118
|
-
:param async_req bool: execute request asynchronously
|
5119
|
-
:param str runtime_environment_id: ID of the Runtime Environment to retrieve. (required)
|
5120
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
5121
|
-
be returned without reading/decoding response
|
5122
|
-
data. Default is True.
|
5123
|
-
:param _request_timeout: timeout setting for this request. If one
|
5124
|
-
number provided, it will be total request
|
5125
|
-
timeout. It can also be a pair (tuple) of
|
5126
|
-
(connection, read) timeouts.
|
5127
|
-
:return: RuntimeenvironmentResponse
|
5128
|
-
If the method is called asynchronously,
|
5129
|
-
returns the request thread.
|
5130
|
-
"""
|
5131
|
-
kwargs['_return_http_data_only'] = True
|
5132
|
-
return self.get_runtime_environment_with_http_info(runtime_environment_id, **kwargs) # noqa: E501
|
5133
|
-
|
5134
|
-
def get_runtime_environment_with_http_info(self, runtime_environment_id, **kwargs): # noqa: E501
|
5135
|
-
"""Get Runtime Environment # noqa: E501
|
5136
|
-
|
5137
|
-
Retrieves a Runtime Environment. # noqa: E501
|
5138
|
-
This method makes a synchronous HTTP request by default. To make an
|
5139
|
-
asynchronous HTTP request, please pass async_req=True
|
5140
|
-
>>> thread = api.get_runtime_environment_with_http_info(runtime_environment_id, async_req=True)
|
5141
|
-
>>> result = thread.get()
|
5142
|
-
|
5143
|
-
:param async_req bool: execute request asynchronously
|
5144
|
-
:param str runtime_environment_id: ID of the Runtime Environment to retrieve. (required)
|
5145
|
-
:param _return_http_data_only: response data without head status code
|
5146
|
-
and headers
|
5147
|
-
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
5148
|
-
be returned without reading/decoding response
|
5149
|
-
data. Default is True.
|
5150
|
-
:param _request_timeout: timeout setting for this request. If one
|
5151
|
-
number provided, it will be total request
|
5152
|
-
timeout. It can also be a pair (tuple) of
|
5153
|
-
(connection, read) timeouts.
|
5154
|
-
:return: tuple(RuntimeenvironmentResponse, status_code(int), headers(HTTPHeaderDict))
|
5155
|
-
If the method is called asynchronously,
|
5156
|
-
returns the request thread.
|
5157
|
-
"""
|
5158
|
-
|
5159
|
-
local_var_params = locals()
|
5160
|
-
|
5161
|
-
all_params = [
|
5162
|
-
'runtime_environment_id'
|
5163
|
-
]
|
5164
|
-
all_params.extend(
|
5165
|
-
[
|
5166
|
-
'async_req',
|
5167
|
-
'_return_http_data_only',
|
5168
|
-
'_preload_content',
|
5169
|
-
'_request_timeout'
|
5170
|
-
]
|
5171
|
-
)
|
5172
|
-
|
5173
|
-
for key, val in six.iteritems(local_var_params['kwargs']):
|
5174
|
-
if key not in all_params:
|
5175
|
-
raise ApiTypeError(
|
5176
|
-
"Got an unexpected keyword argument '%s'"
|
5177
|
-
" to method get_runtime_environment" % key
|
5178
|
-
)
|
5179
|
-
local_var_params[key] = val
|
5180
|
-
del local_var_params['kwargs']
|
5181
|
-
# verify the required parameter 'runtime_environment_id' is set
|
5182
|
-
if self.api_client.client_side_validation and ('runtime_environment_id' not in local_var_params or # noqa: E501
|
5183
|
-
local_var_params['runtime_environment_id'] is None): # noqa: E501
|
5184
|
-
raise ApiValueError("Missing the required parameter `runtime_environment_id` when calling `get_runtime_environment`") # noqa: E501
|
5185
|
-
|
5186
|
-
collection_formats = {}
|
5187
|
-
|
5188
|
-
path_params = {}
|
5189
|
-
if 'runtime_environment_id' in local_var_params:
|
5190
|
-
path_params['runtime_environment_id'] = local_var_params['runtime_environment_id'] # noqa: E501
|
5191
|
-
|
5192
|
-
query_params = []
|
5193
|
-
|
5194
|
-
header_params = {}
|
5195
|
-
|
5196
|
-
form_params = []
|
5197
|
-
local_var_files = {}
|
5198
|
-
|
5199
|
-
body_params = None
|
5200
|
-
# HTTP header `Accept`
|
5201
|
-
header_params['Accept'] = self.api_client.select_header_accept(
|
5202
|
-
['application/json']) # noqa: E501
|
5203
|
-
|
5204
|
-
# Authentication setting
|
5205
|
-
auth_settings = [] # noqa: E501
|
5206
|
-
|
5207
|
-
return self.api_client.call_api(
|
5208
|
-
'/runtime_environments/{runtime_environment_id}', 'GET',
|
5209
|
-
path_params,
|
5210
|
-
query_params,
|
5211
|
-
header_params,
|
5212
|
-
body=body_params,
|
5213
|
-
post_params=form_params,
|
5214
|
-
files=local_var_files,
|
5215
|
-
response_type='RuntimeenvironmentResponse', # noqa: E501
|
5216
|
-
auth_settings=auth_settings,
|
5217
|
-
async_req=local_var_params.get('async_req'),
|
5218
|
-
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
5219
|
-
_preload_content=local_var_params.get('_preload_content', True),
|
5220
|
-
_request_timeout=local_var_params.get('_request_timeout'),
|
5221
|
-
collection_formats=collection_formats)
|
5222
|
-
|
5223
4991
|
def get_schedule(self, schedule_id, **kwargs): # noqa: E501
|
5224
4992
|
"""Get Schedule # noqa: E501
|
5225
4993
|
|
@@ -98,7 +98,6 @@ from anyscale_client.models.create_production_job_config import CreateProduction
|
|
98
98
|
from anyscale_client.models.create_project import CreateProject
|
99
99
|
from anyscale_client.models.create_sso_config import CreateSSOConfig
|
100
100
|
from anyscale_client.models.create_schedule import CreateSchedule
|
101
|
-
from anyscale_client.models.create_session import CreateSession
|
102
101
|
from anyscale_client.models.grpc_protocol_config import GrpcProtocolConfig
|
103
102
|
from anyscale_client.models.http_validation_error import HTTPValidationError
|
104
103
|
from anyscale_client.models.ha_job_goal_states import HaJobGoalStates
|
@@ -153,8 +152,6 @@ from anyscale_client.models.ray_runtime_env_config import RayRuntimeEnvConfig
|
|
153
152
|
from anyscale_client.models.resources import Resources
|
154
153
|
from anyscale_client.models.rollback_service_model import RollbackServiceModel
|
155
154
|
from anyscale_client.models.rollout_strategy import RolloutStrategy
|
156
|
-
from anyscale_client.models.runtime_environment import RuntimeEnvironment
|
157
|
-
from anyscale_client.models.runtimeenvironment_response import RuntimeenvironmentResponse
|
158
155
|
from anyscale_client.models.sso_config import SSOConfig
|
159
156
|
from anyscale_client.models.sso_mode import SSOMode
|
160
157
|
from anyscale_client.models.supportedbaseimagesenum import SUPPORTEDBASEIMAGESENUM
|