anyscale 0.26.11__py3-none-any.whl → 0.26.12__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/client/README.md +1 -0
- anyscale/client/openapi_client/api/default_api.py +114 -0
- anyscale/version.py +1 -1
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/METADATA +1 -1
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/RECORD +10 -10
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/LICENSE +0 -0
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/NOTICE +0 -0
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/WHEEL +0 -0
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.11.dist-info → anyscale-0.26.12.dist-info}/top_level.txt +0 -0
anyscale/client/README.md
CHANGED
@@ -384,6 +384,7 @@ Class | Method | HTTP request | Description
|
|
384
384
|
*DefaultApi* | [**upsert_support_request_for_user_organization_api_v2_support_requests_support_request_put**](docs/DefaultApi.md#upsert_support_request_for_user_organization_api_v2_support_requests_support_request_put) | **PUT** /api/v2/support_requests/support_request | Upsert Support Request For User Organization
|
385
385
|
*DefaultApi* | [**user_resend_email_api_v2_users_resend_email_post**](docs/DefaultApi.md#user_resend_email_api_v2_users_resend_email_post) | **POST** /api/v2/users/resend_email | User Resend Email
|
386
386
|
*DefaultApi* | [**user_verify_api_v2_users_verify_token_get**](docs/DefaultApi.md#user_verify_api_v2_users_verify_token_get) | **GET** /api/v2/users/verify/{token} | User Verify
|
387
|
+
*DefaultApi* | [**validate_api_v2_authentication_validate_post**](docs/DefaultApi.md#validate_api_v2_authentication_validate_post) | **POST** /api/v2/authentication/validate | Validate
|
387
388
|
*DefaultApi* | [**validate_invite_code_api_v2_users_validate_invite_code_invite_code_post**](docs/DefaultApi.md#validate_invite_code_api_v2_users_validate_invite_code_invite_code_post) | **POST** /api/v2/users/validate_invite_code/{invite_code} | Validate Invite Code
|
388
389
|
*DefaultApi* | [**validate_one_time_password_api_v2_users_validate_otp_token_post**](docs/DefaultApi.md#validate_one_time_password_api_v2_users_validate_otp_token_post) | **POST** /api/v2/users/validate_otp_token | Validate One Time Password
|
389
390
|
*DefaultApi* | [**verify_access_api_v2_cloudsverify_access_cloud_id_get**](docs/DefaultApi.md#verify_access_api_v2_cloudsverify_access_cloud_id_get) | **GET** /api/v2/cloudsverify_access/{cloud_id} | Verify Access
|
@@ -37207,6 +37207,120 @@ class DefaultApi(object):
|
|
37207
37207
|
_request_timeout=local_var_params.get('_request_timeout'),
|
37208
37208
|
collection_formats=collection_formats)
|
37209
37209
|
|
37210
|
+
def validate_api_v2_authentication_validate_post(self, raw_token, **kwargs): # noqa: E501
|
37211
|
+
"""Validate # noqa: E501
|
37212
|
+
|
37213
|
+
For a cluster access token 1. Check if the token is valid (not expired, not revoked) 2. Check if the user has permissions to access the cluster 3. Audit log the request # noqa: E501
|
37214
|
+
This method makes a synchronous HTTP request by default. To make an
|
37215
|
+
asynchronous HTTP request, please pass async_req=True
|
37216
|
+
>>> thread = api.validate_api_v2_authentication_validate_post(raw_token, async_req=True)
|
37217
|
+
>>> result = thread.get()
|
37218
|
+
|
37219
|
+
:param async_req bool: execute request asynchronously
|
37220
|
+
:param str raw_token: (required)
|
37221
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
37222
|
+
be returned without reading/decoding response
|
37223
|
+
data. Default is True.
|
37224
|
+
:param _request_timeout: timeout setting for this request. If one
|
37225
|
+
number provided, it will be total request
|
37226
|
+
timeout. It can also be a pair (tuple) of
|
37227
|
+
(connection, read) timeouts.
|
37228
|
+
:return: object
|
37229
|
+
If the method is called asynchronously,
|
37230
|
+
returns the request thread.
|
37231
|
+
"""
|
37232
|
+
kwargs['_return_http_data_only'] = True
|
37233
|
+
return self.validate_api_v2_authentication_validate_post_with_http_info(raw_token, **kwargs) # noqa: E501
|
37234
|
+
|
37235
|
+
def validate_api_v2_authentication_validate_post_with_http_info(self, raw_token, **kwargs): # noqa: E501
|
37236
|
+
"""Validate # noqa: E501
|
37237
|
+
|
37238
|
+
For a cluster access token 1. Check if the token is valid (not expired, not revoked) 2. Check if the user has permissions to access the cluster 3. Audit log the request # noqa: E501
|
37239
|
+
This method makes a synchronous HTTP request by default. To make an
|
37240
|
+
asynchronous HTTP request, please pass async_req=True
|
37241
|
+
>>> thread = api.validate_api_v2_authentication_validate_post_with_http_info(raw_token, async_req=True)
|
37242
|
+
>>> result = thread.get()
|
37243
|
+
|
37244
|
+
:param async_req bool: execute request asynchronously
|
37245
|
+
:param str raw_token: (required)
|
37246
|
+
:param _return_http_data_only: response data without head status code
|
37247
|
+
and headers
|
37248
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
37249
|
+
be returned without reading/decoding response
|
37250
|
+
data. Default is True.
|
37251
|
+
:param _request_timeout: timeout setting for this request. If one
|
37252
|
+
number provided, it will be total request
|
37253
|
+
timeout. It can also be a pair (tuple) of
|
37254
|
+
(connection, read) timeouts.
|
37255
|
+
:return: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
37256
|
+
If the method is called asynchronously,
|
37257
|
+
returns the request thread.
|
37258
|
+
"""
|
37259
|
+
|
37260
|
+
local_var_params = locals()
|
37261
|
+
|
37262
|
+
all_params = [
|
37263
|
+
'raw_token'
|
37264
|
+
]
|
37265
|
+
all_params.extend(
|
37266
|
+
[
|
37267
|
+
'async_req',
|
37268
|
+
'_return_http_data_only',
|
37269
|
+
'_preload_content',
|
37270
|
+
'_request_timeout'
|
37271
|
+
]
|
37272
|
+
)
|
37273
|
+
|
37274
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
37275
|
+
if key not in all_params:
|
37276
|
+
raise ApiTypeError(
|
37277
|
+
"Got an unexpected keyword argument '%s'"
|
37278
|
+
" to method validate_api_v2_authentication_validate_post" % key
|
37279
|
+
)
|
37280
|
+
local_var_params[key] = val
|
37281
|
+
del local_var_params['kwargs']
|
37282
|
+
# verify the required parameter 'raw_token' is set
|
37283
|
+
if self.api_client.client_side_validation and ('raw_token' not in local_var_params or # noqa: E501
|
37284
|
+
local_var_params['raw_token'] is None): # noqa: E501
|
37285
|
+
raise ApiValueError("Missing the required parameter `raw_token` when calling `validate_api_v2_authentication_validate_post`") # noqa: E501
|
37286
|
+
|
37287
|
+
collection_formats = {}
|
37288
|
+
|
37289
|
+
path_params = {}
|
37290
|
+
|
37291
|
+
query_params = []
|
37292
|
+
if 'raw_token' in local_var_params and local_var_params['raw_token'] is not None: # noqa: E501
|
37293
|
+
query_params.append(('raw_token', local_var_params['raw_token'])) # noqa: E501
|
37294
|
+
|
37295
|
+
header_params = {}
|
37296
|
+
|
37297
|
+
form_params = []
|
37298
|
+
local_var_files = {}
|
37299
|
+
|
37300
|
+
body_params = None
|
37301
|
+
# HTTP header `Accept`
|
37302
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
37303
|
+
['application/json']) # noqa: E501
|
37304
|
+
|
37305
|
+
# Authentication setting
|
37306
|
+
auth_settings = [] # noqa: E501
|
37307
|
+
|
37308
|
+
return self.api_client.call_api(
|
37309
|
+
'/api/v2/authentication/validate', 'POST',
|
37310
|
+
path_params,
|
37311
|
+
query_params,
|
37312
|
+
header_params,
|
37313
|
+
body=body_params,
|
37314
|
+
post_params=form_params,
|
37315
|
+
files=local_var_files,
|
37316
|
+
response_type='object', # noqa: E501
|
37317
|
+
auth_settings=auth_settings,
|
37318
|
+
async_req=local_var_params.get('async_req'),
|
37319
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
37320
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
37321
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
37322
|
+
collection_formats=collection_formats)
|
37323
|
+
|
37210
37324
|
def validate_invite_code_api_v2_users_validate_invite_code_invite_code_post(self, invite_code, **kwargs): # noqa: E501
|
37211
37325
|
"""Validate Invite Code # noqa: E501
|
37212
37326
|
|
anyscale/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.26.
|
1
|
+
__version__ = "0.26.12"
|
@@ -27,7 +27,7 @@ anyscale/scripts.py,sha256=HR6JOCBVBXMVi1Kz5uJmjsh73t2l1W8UbUge83ofnqk,5474
|
|
27
27
|
anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
|
28
28
|
anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
|
29
29
|
anyscale/util.py,sha256=Tqb9qWSxQI_PBJVSDxm9RWqFyGJFClgZDPByhb_fhU8,40813
|
30
|
-
anyscale/version.py,sha256=
|
30
|
+
anyscale/version.py,sha256=UZiMK3DoTRJyUV0Igg8uNJDWBl7WilRFVjaLatbyQ_0,24
|
31
31
|
anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
|
32
32
|
anyscale/_private/anyscale_client/README.md,sha256=gk8obk7kqg6VWoUHcqDMwJULh35tYKEZFC0UF_dixGA,718
|
33
33
|
anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
|
@@ -105,7 +105,7 @@ anyscale/background/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
105
105
|
anyscale/background/job_runner.py,sha256=LTuv9JOahyv6C9i7DLQAONgQF6--FfYZEmJrKy-sUG8,2687
|
106
106
|
anyscale/client/.gitignore,sha256=JZyvYEtT2DCSK9V5Joi6lQofhMik4PXiJRCWsg7SvqI,807
|
107
107
|
anyscale/client/.openapi-generator-ignore,sha256=pu2PTide7pJtJ-DFLzDy0cTYQJRlrB-8RRH3zGLeUds,1040
|
108
|
-
anyscale/client/README.md,sha256=
|
108
|
+
anyscale/client/README.md,sha256=y_hd6XoEZf4CWuk0neyDD-bg-wMyRD8Iu2PC_YQJtak,117676
|
109
109
|
anyscale/client/git_push.sh,sha256=EDCZOTTiLxbtPHmiU63qC99rGH67B7dhdPZdNUKivF0,1827
|
110
110
|
anyscale/client/requirements.txt,sha256=dkVKYUStC5h_g_87SH7pRdhXCj7ySozAJMGAFEzGgFc,126
|
111
111
|
anyscale/client/setup.cfg,sha256=l7bdKSIedeBhhoDtupsBwx1xPrlBf2yYeTH7a8kMga4,28
|
@@ -119,7 +119,7 @@ anyscale/client/openapi_client/configuration.py,sha256=Dd5XrlHwv-wxnf0C35PG_-HBQ
|
|
119
119
|
anyscale/client/openapi_client/exceptions.py,sha256=3egwsXQG2j_vARbqgBxUO1xSltAhpfiHTYVP7VXTvU0,3792
|
120
120
|
anyscale/client/openapi_client/rest.py,sha256=Ehj37v7GHW6SXV067Hze5HE42ayKaGi6a6ZlkR7u3Lg,12501
|
121
121
|
anyscale/client/openapi_client/api/__init__.py,sha256=i8u7BI2xX1GrXTL3hN0pKpYIlnT-D_uDxH2ElOfYG1I,141
|
122
|
-
anyscale/client/openapi_client/api/default_api.py,sha256
|
122
|
+
anyscale/client/openapi_client/api/default_api.py,sha256=-YHIxw5qyA6UoRa1nPwuLAxsDSU1EPdVn0aQ_lc6_fA,1901704
|
123
123
|
anyscale/client/openapi_client/models/__init__.py,sha256=00K1sL7nllOfXoOAYLIfyrPeFFl9Pyjfr0PnDGQCwdc,49637
|
124
124
|
anyscale/client/openapi_client/models/access_config.py,sha256=b2mA0qtuTA5PFbp6C61Jc_T2zUMaojM1v32IhZo0MfY,3648
|
125
125
|
anyscale/client/openapi_client/models/actor_status.py,sha256=6xyX_aIqURj2raBdY9DmBxsdDACFrqqYvElGiM6YG2E,2813
|
@@ -1098,10 +1098,10 @@ anyscale/workspace/__init__.py,sha256=fIxkn8b_HADCQl5njPAbcJxAf0sajZoc55L_wMvGAx
|
|
1098
1098
|
anyscale/workspace/commands.py,sha256=21FubFd2wmEwlVbk-ng-adwBm-O4ZPBgEJnoavbfvbU,14035
|
1099
1099
|
anyscale/workspace/models.py,sha256=Ey67KqxdslS51yK7xetbRaFjE8sURAArpf-F38r3cUU,9760
|
1100
1100
|
anyscale/workspace/_private/workspace_sdk.py,sha256=4LOBmMm7kd-O94ii5uP1UDbkWLComh6zI5QmE2lXRTY,26824
|
1101
|
-
anyscale-0.26.
|
1102
|
-
anyscale-0.26.
|
1103
|
-
anyscale-0.26.
|
1104
|
-
anyscale-0.26.
|
1105
|
-
anyscale-0.26.
|
1106
|
-
anyscale-0.26.
|
1107
|
-
anyscale-0.26.
|
1101
|
+
anyscale-0.26.12.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
|
1102
|
+
anyscale-0.26.12.dist-info/METADATA,sha256=qUN0BvIGUfdGkxEfQs56XMrseeQ7wG3vxeb9cC1cuts,3160
|
1103
|
+
anyscale-0.26.12.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
|
1104
|
+
anyscale-0.26.12.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
1105
|
+
anyscale-0.26.12.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
|
1106
|
+
anyscale-0.26.12.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
|
1107
|
+
anyscale-0.26.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|