anyscale 0.26.6__py3-none-any.whl → 0.26.8__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.
Files changed (28) hide show
  1. anyscale/_private/anyscale_client/common.py +1 -1
  2. anyscale/_private/docgen/models.md +2 -2
  3. anyscale/anyscale-cloud-setup-gcp-oa.yaml +0 -1
  4. anyscale/anyscale-cloud-setup-gcp.yaml +0 -2
  5. anyscale/client/README.md +1 -8
  6. anyscale/client/openapi_client/__init__.py +1 -4
  7. anyscale/client/openapi_client/api/default_api.py +0 -454
  8. anyscale/client/openapi_client/models/__init__.py +1 -4
  9. anyscale/client/openapi_client/models/baseimagesenum.py +67 -1
  10. anyscale/client/openapi_client/models/job_details.py +27 -1
  11. anyscale/client/openapi_client/models/metric.py +29 -3
  12. anyscale/client/openapi_client/models/{verify_response.py → operator_metric_id.py} +39 -38
  13. anyscale/client/openapi_client/models/operator_metrics.py +30 -3
  14. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +67 -1
  15. anyscale/sdk/anyscale_client/models/baseimagesenum.py +67 -1
  16. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +67 -1
  17. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  18. anyscale/version.py +1 -1
  19. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/METADATA +1 -1
  20. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/RECORD +25 -28
  21. anyscale/client/openapi_client/models/projects_violating_tree_hierarchy_response.py +0 -121
  22. anyscale/client/openapi_client/models/projectsviolatingtreehierarchyresponse_response.py +0 -121
  23. anyscale/client/openapi_client/models/verifyresponse_response.py +0 -121
  24. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/LICENSE +0 -0
  25. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/NOTICE +0 -0
  26. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/WHEEL +0 -0
  27. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/entry_points.txt +0 -0
  28. {anyscale-0.26.6.dist-info → anyscale-0.26.8.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,6 @@ resources:
33
33
  type: iam.v1.serviceAccount
34
34
  properties:
35
35
  accountId: ${CLOUD_ID}
36
- projectId: ${PROJECT_ID}
37
36
  serviceAccount:
38
37
  displayName: ${CLOUD_ID} Cluster Node Service Account
39
38
  - name: bucket-iam-anyscale-acess-${CLOUD_ID}
@@ -56,7 +56,6 @@ resources:
56
56
  type: iam.v1.serviceAccount
57
57
  properties:
58
58
  accountId: ${ANYSCALE_ACCESS_SERVICE_ACCOUNT}
59
- projectId: ${PROJECT_ID}
60
59
  serviceAccount:
61
60
  displayName: ${CLOUD_ID} Anyscale access service account
62
61
  accessControl:
@@ -81,7 +80,6 @@ resources:
81
80
  type: iam.v1.serviceAccount
82
81
  properties:
83
82
  accountId: ${CLOUD_ID}
84
- projectId: ${PROJECT_ID}
85
83
  serviceAccount:
86
84
  displayName: ${CLOUD_ID} Cluster Node Service Account
87
85
  - name: iam-policy-instance-project-${CLOUD_ID}
anyscale/client/README.md CHANGED
@@ -126,7 +126,6 @@ Class | Method | HTTP request | Description
126
126
  *DefaultApi* | [**create_one_time_password_api_v2_users_create_otp_token_get**](docs/DefaultApi.md#create_one_time_password_api_v2_users_create_otp_token_get) | **GET** /api/v2/users/create_otp_token | Create One Time Password
127
127
  *DefaultApi* | [**create_or_update_job_api_v2_experimental_cron_jobs_put**](docs/DefaultApi.md#create_or_update_job_api_v2_experimental_cron_jobs_put) | **PUT** /api/v2/experimental_cron_jobs/ | Create Or Update Job
128
128
  *DefaultApi* | [**create_or_update_metronome_customer_info_api_v2_metronome_customer_info_post**](docs/DefaultApi.md#create_or_update_metronome_customer_info_api_v2_metronome_customer_info_post) | **POST** /api/v2/metronome_customer_info/ | Create Or Update Metronome Customer Info
129
- *DefaultApi* | [**create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post**](docs/DefaultApi.md#create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post) | **POST** /api/v2/projects/{project_id}/collaborators/organization | Create Organization Collaborator
130
129
  *DefaultApi* | [**create_project_api_v2_projects_post**](docs/DefaultApi.md#create_project_api_v2_projects_post) | **POST** /api/v2/projects/ | Create Project
131
130
  *DefaultApi* | [**create_project_collaborator_api_v2_projects_project_id_collaborators_users_post**](docs/DefaultApi.md#create_project_collaborator_api_v2_projects_project_id_collaborators_users_post) | **POST** /api/v2/projects/{project_id}/collaborators/users | Create Project Collaborator
132
131
  *DefaultApi* | [**create_resource_notification_api_v2_resource_notifications_post**](docs/DefaultApi.md#create_resource_notification_api_v2_resource_notifications_post) | **POST** /api/v2/resource_notifications/ | Create Resource Notification
@@ -326,13 +325,11 @@ Class | Method | HTTP request | Description
326
325
  *DefaultApi* | [**list_workspaces_api_v2_experimental_workspaces_get**](docs/DefaultApi.md#list_workspaces_api_v2_experimental_workspaces_get) | **GET** /api/v2/experimental_workspaces/ | List Workspaces
327
326
  *DefaultApi* | [**login_user_api_v2_users_login_post**](docs/DefaultApi.md#login_user_api_v2_users_login_post) | **POST** /api/v2/users/login | Login User
328
327
  *DefaultApi* | [**logout_user_api_v2_users_logout_post**](docs/DefaultApi.md#logout_user_api_v2_users_logout_post) | **POST** /api/v2/users/logout | Logout User
329
- *DefaultApi* | [**organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get**](docs/DefaultApi.md#organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get) | **GET** /api/v2/access_controls_migration/{organization_id}/organization_valid_for_migration | Organization Valid For Migration
330
328
  *DefaultApi* | [**patch_project_api_v2_projects_project_id_patch**](docs/DefaultApi.md#patch_project_api_v2_projects_project_id_patch) | **PATCH** /api/v2/projects/{project_id} | Patch Project
331
329
  *DefaultApi* | [**patch_session_api_v2_sessions_session_id_patch**](docs/DefaultApi.md#patch_session_api_v2_sessions_session_id_patch) | **PATCH** /api/v2/sessions/{session_id} | Patch Session
332
330
  *DefaultApi* | [**patch_workspace_api_v2_experimental_workspaces_workspace_id_patch**](docs/DefaultApi.md#patch_workspace_api_v2_experimental_workspaces_workspace_id_patch) | **PATCH** /api/v2/experimental_workspaces/{workspace_id} | Patch Workspace
333
331
  *DefaultApi* | [**pause_cron_job_api_v2_experimental_cron_jobs_cron_job_id_pause_post**](docs/DefaultApi.md#pause_cron_job_api_v2_experimental_cron_jobs_cron_job_id_pause_post) | **POST** /api/v2/experimental_cron_jobs/{cron_job_id}/pause | Pause Cron Job
334
332
  *DefaultApi* | [**produce_analytics_event_api_v2_analytics_post**](docs/DefaultApi.md#produce_analytics_event_api_v2_analytics_post) | **POST** /api/v2/analytics/ | Produce Analytics Event
335
- *DefaultApi* | [**projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get**](docs/DefaultApi.md#projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get) | **GET** /api/v2/access_controls_migration/{organization_id}/projects_violating_tree_hierarchy | Projects Violating Tree Hierarchy
336
333
  *DefaultApi* | [**publish_api_v2_streams_publish_post**](docs/DefaultApi.md#publish_api_v2_streams_publish_post) | **POST** /api/v2/streams/publish | Publish
337
334
  *DefaultApi* | [**push_cloud_overview_dashboard_api_v2_clouds_cloud_id_push_cloud_overview_dashboard_post**](docs/DefaultApi.md#push_cloud_overview_dashboard_api_v2_clouds_cloud_id_push_cloud_overview_dashboard_post) | **POST** /api/v2/clouds/{cloud_id}/push-cloud-overview-dashboard | Push Cloud Overview Dashboard
338
335
  *DefaultApi* | [**put_job_wandb_run_details_api_v2_integrations_job_wandb_run_details_job_id_put**](docs/DefaultApi.md#put_job_wandb_run_details_api_v2_integrations_job_wandb_run_details_job_id_put) | **PUT** /api/v2/integrations/job_wandb_run_details/{job_id} | Put Job Wandb Run Details
@@ -403,7 +400,6 @@ Class | Method | HTTP request | Description
403
400
  *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
404
401
  *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
405
402
  *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
406
- *DefaultApi* | [**verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get**](docs/DefaultApi.md#verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get) | **GET** /api/v2/access_controls_migration/{organization_id}/verify_migration_complete | Verify Migration Complete
407
403
  *DefaultApi* | [**verify_reset_password_token_api_v2_users_reset_password_token_get**](docs/DefaultApi.md#verify_reset_password_token_api_v2_users_reset_password_token_get) | **GET** /api/v2/users/reset_password/{token} | Verify Reset Password Token
408
404
 
409
405
 
@@ -803,6 +799,7 @@ Class | Method | HTTP request | Description
803
799
  - [NotificationChannelSlackConfig](docs/NotificationChannelSlackConfig.md)
804
800
  - [NotificationChannelWebhookConfig](docs/NotificationChannelWebhookConfig.md)
805
801
  - [OnboardingUserCardsQuery](docs/OnboardingUserCardsQuery.md)
802
+ - [OperatorMetricId](docs/OperatorMetricId.md)
806
803
  - [OperatorMetrics](docs/OperatorMetrics.md)
807
804
  - [Organization](docs/Organization.md)
808
805
  - [OrganizationCollaborator](docs/OrganizationCollaborator.md)
@@ -856,8 +853,6 @@ Class | Method | HTTP request | Description
856
853
  - [ProjectcollaboratorListResponse](docs/ProjectcollaboratorListResponse.md)
857
854
  - [ProjectdefaultsessionnameResponse](docs/ProjectdefaultsessionnameResponse.md)
858
855
  - [ProjectsSortField](docs/ProjectsSortField.md)
859
- - [ProjectsViolatingTreeHierarchyResponse](docs/ProjectsViolatingTreeHierarchyResponse.md)
860
- - [ProjectsviolatingtreehierarchyresponseResponse](docs/ProjectsviolatingtreehierarchyresponseResponse.md)
861
856
  - [Protocols](docs/Protocols.md)
862
857
  - [PythonModules](docs/PythonModules.md)
863
858
  - [Quota](docs/Quota.md)
@@ -1012,8 +1007,6 @@ Class | Method | HTTP request | Description
1012
1007
  - [UtmFields](docs/UtmFields.md)
1013
1008
  - [ValidateOTPParamsApiModel](docs/ValidateOTPParamsApiModel.md)
1014
1009
  - [ValidationError](docs/ValidationError.md)
1015
- - [VerifyResponse](docs/VerifyResponse.md)
1016
- - [VerifyresponseResponse](docs/VerifyresponseResponse.md)
1017
1010
  - [Visibility](docs/Visibility.md)
1018
1011
  - [WaitlistStatusResponse](docs/WaitlistStatusResponse.md)
1019
1012
  - [WaitlistStatusType](docs/WaitlistStatusType.md)
@@ -422,6 +422,7 @@ from openapi_client.models.notification_channel_email_config import Notification
422
422
  from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
423
423
  from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
424
424
  from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
425
+ from openapi_client.models.operator_metric_id import OperatorMetricId
425
426
  from openapi_client.models.operator_metrics import OperatorMetrics
426
427
  from openapi_client.models.organization import Organization
427
428
  from openapi_client.models.organization_collaborator import OrganizationCollaborator
@@ -475,8 +476,6 @@ from openapi_client.models.projectbase_response import ProjectbaseResponse
475
476
  from openapi_client.models.projectcollaborator_list_response import ProjectcollaboratorListResponse
476
477
  from openapi_client.models.projectdefaultsessionname_response import ProjectdefaultsessionnameResponse
477
478
  from openapi_client.models.projects_sort_field import ProjectsSortField
478
- from openapi_client.models.projects_violating_tree_hierarchy_response import ProjectsViolatingTreeHierarchyResponse
479
- from openapi_client.models.projectsviolatingtreehierarchyresponse_response import ProjectsviolatingtreehierarchyresponseResponse
480
479
  from openapi_client.models.protocols import Protocols
481
480
  from openapi_client.models.python_modules import PythonModules
482
481
  from openapi_client.models.quota import Quota
@@ -631,8 +630,6 @@ from openapi_client.models.userinfo_response import UserinfoResponse
631
630
  from openapi_client.models.utm_fields import UtmFields
632
631
  from openapi_client.models.validate_otp_params_api_model import ValidateOTPParamsApiModel
633
632
  from openapi_client.models.validation_error import ValidationError
634
- from openapi_client.models.verify_response import VerifyResponse
635
- from openapi_client.models.verifyresponse_response import VerifyresponseResponse
636
633
  from openapi_client.models.visibility import Visibility
637
634
  from openapi_client.models.waitlist_status_response import WaitlistStatusResponse
638
635
  from openapi_client.models.waitlist_status_type import WaitlistStatusType
@@ -6038,118 +6038,6 @@ class DefaultApi(object):
6038
6038
  _request_timeout=local_var_params.get('_request_timeout'),
6039
6039
  collection_formats=collection_formats)
6040
6040
 
6041
- def create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post(self, project_id, **kwargs): # noqa: E501
6042
- """Create Organization Collaborator # noqa: E501
6043
-
6044
- This method makes a synchronous HTTP request by default. To make an
6045
- asynchronous HTTP request, please pass async_req=True
6046
- >>> thread = api.create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post(project_id, async_req=True)
6047
- >>> result = thread.get()
6048
-
6049
- :param async_req bool: execute request asynchronously
6050
- :param str project_id: (required)
6051
- :param _preload_content: if False, the urllib3.HTTPResponse object will
6052
- be returned without reading/decoding response
6053
- data. Default is True.
6054
- :param _request_timeout: timeout setting for this request. If one
6055
- number provided, it will be total request
6056
- timeout. It can also be a pair (tuple) of
6057
- (connection, read) timeouts.
6058
- :return: None
6059
- If the method is called asynchronously,
6060
- returns the request thread.
6061
- """
6062
- kwargs['_return_http_data_only'] = True
6063
- return self.create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post_with_http_info(project_id, **kwargs) # noqa: E501
6064
-
6065
- def create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post_with_http_info(self, project_id, **kwargs): # noqa: E501
6066
- """Create Organization Collaborator # noqa: E501
6067
-
6068
- This method makes a synchronous HTTP request by default. To make an
6069
- asynchronous HTTP request, please pass async_req=True
6070
- >>> thread = api.create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post_with_http_info(project_id, async_req=True)
6071
- >>> result = thread.get()
6072
-
6073
- :param async_req bool: execute request asynchronously
6074
- :param str project_id: (required)
6075
- :param _return_http_data_only: response data without head status code
6076
- and headers
6077
- :param _preload_content: if False, the urllib3.HTTPResponse object will
6078
- be returned without reading/decoding response
6079
- data. Default is True.
6080
- :param _request_timeout: timeout setting for this request. If one
6081
- number provided, it will be total request
6082
- timeout. It can also be a pair (tuple) of
6083
- (connection, read) timeouts.
6084
- :return: None
6085
- If the method is called asynchronously,
6086
- returns the request thread.
6087
- """
6088
-
6089
- local_var_params = locals()
6090
-
6091
- all_params = [
6092
- 'project_id'
6093
- ]
6094
- all_params.extend(
6095
- [
6096
- 'async_req',
6097
- '_return_http_data_only',
6098
- '_preload_content',
6099
- '_request_timeout'
6100
- ]
6101
- )
6102
-
6103
- for key, val in six.iteritems(local_var_params['kwargs']):
6104
- if key not in all_params:
6105
- raise ApiTypeError(
6106
- "Got an unexpected keyword argument '%s'"
6107
- " to method create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post" % key
6108
- )
6109
- local_var_params[key] = val
6110
- del local_var_params['kwargs']
6111
- # verify the required parameter 'project_id' is set
6112
- if self.api_client.client_side_validation and ('project_id' not in local_var_params or # noqa: E501
6113
- local_var_params['project_id'] is None): # noqa: E501
6114
- raise ApiValueError("Missing the required parameter `project_id` when calling `create_organization_collaborator_api_v2_projects_project_id_collaborators_organization_post`") # noqa: E501
6115
-
6116
- collection_formats = {}
6117
-
6118
- path_params = {}
6119
- if 'project_id' in local_var_params:
6120
- path_params['project_id'] = local_var_params['project_id'] # noqa: E501
6121
-
6122
- query_params = []
6123
-
6124
- header_params = {}
6125
-
6126
- form_params = []
6127
- local_var_files = {}
6128
-
6129
- body_params = None
6130
- # HTTP header `Accept`
6131
- header_params['Accept'] = self.api_client.select_header_accept(
6132
- ['application/json']) # noqa: E501
6133
-
6134
- # Authentication setting
6135
- auth_settings = [] # noqa: E501
6136
-
6137
- return self.api_client.call_api(
6138
- '/api/v2/projects/{project_id}/collaborators/organization', 'POST',
6139
- path_params,
6140
- query_params,
6141
- header_params,
6142
- body=body_params,
6143
- post_params=form_params,
6144
- files=local_var_files,
6145
- response_type=None, # noqa: E501
6146
- auth_settings=auth_settings,
6147
- async_req=local_var_params.get('async_req'),
6148
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
6149
- _preload_content=local_var_params.get('_preload_content', True),
6150
- _request_timeout=local_var_params.get('_request_timeout'),
6151
- collection_formats=collection_formats)
6152
-
6153
6041
  def create_project_api_v2_projects_post(self, write_project, **kwargs): # noqa: E501
6154
6042
  """Create Project # noqa: E501
6155
6043
 
@@ -30045,120 +29933,6 @@ class DefaultApi(object):
30045
29933
  _request_timeout=local_var_params.get('_request_timeout'),
30046
29934
  collection_formats=collection_formats)
30047
29935
 
30048
- def organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get(self, organization_id, **kwargs): # noqa: E501
30049
- """Organization Valid For Migration # noqa: E501
30050
-
30051
- Check if organization is valid for migration by ensuring there is at least one non deleted cloud if there are any non deleted projects. This API is only available to Anyscale internal employees. # noqa: E501
30052
- This method makes a synchronous HTTP request by default. To make an
30053
- asynchronous HTTP request, please pass async_req=True
30054
- >>> thread = api.organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get(organization_id, async_req=True)
30055
- >>> result = thread.get()
30056
-
30057
- :param async_req bool: execute request asynchronously
30058
- :param str organization_id: (required)
30059
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30060
- be returned without reading/decoding response
30061
- data. Default is True.
30062
- :param _request_timeout: timeout setting for this request. If one
30063
- number provided, it will be total request
30064
- timeout. It can also be a pair (tuple) of
30065
- (connection, read) timeouts.
30066
- :return: VerifyresponseResponse
30067
- If the method is called asynchronously,
30068
- returns the request thread.
30069
- """
30070
- kwargs['_return_http_data_only'] = True
30071
- return self.organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get_with_http_info(organization_id, **kwargs) # noqa: E501
30072
-
30073
- def organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get_with_http_info(self, organization_id, **kwargs): # noqa: E501
30074
- """Organization Valid For Migration # noqa: E501
30075
-
30076
- Check if organization is valid for migration by ensuring there is at least one non deleted cloud if there are any non deleted projects. This API is only available to Anyscale internal employees. # noqa: E501
30077
- This method makes a synchronous HTTP request by default. To make an
30078
- asynchronous HTTP request, please pass async_req=True
30079
- >>> thread = api.organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get_with_http_info(organization_id, async_req=True)
30080
- >>> result = thread.get()
30081
-
30082
- :param async_req bool: execute request asynchronously
30083
- :param str organization_id: (required)
30084
- :param _return_http_data_only: response data without head status code
30085
- and headers
30086
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30087
- be returned without reading/decoding response
30088
- data. Default is True.
30089
- :param _request_timeout: timeout setting for this request. If one
30090
- number provided, it will be total request
30091
- timeout. It can also be a pair (tuple) of
30092
- (connection, read) timeouts.
30093
- :return: tuple(VerifyresponseResponse, status_code(int), headers(HTTPHeaderDict))
30094
- If the method is called asynchronously,
30095
- returns the request thread.
30096
- """
30097
-
30098
- local_var_params = locals()
30099
-
30100
- all_params = [
30101
- 'organization_id'
30102
- ]
30103
- all_params.extend(
30104
- [
30105
- 'async_req',
30106
- '_return_http_data_only',
30107
- '_preload_content',
30108
- '_request_timeout'
30109
- ]
30110
- )
30111
-
30112
- for key, val in six.iteritems(local_var_params['kwargs']):
30113
- if key not in all_params:
30114
- raise ApiTypeError(
30115
- "Got an unexpected keyword argument '%s'"
30116
- " to method organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get" % key
30117
- )
30118
- local_var_params[key] = val
30119
- del local_var_params['kwargs']
30120
- # verify the required parameter 'organization_id' is set
30121
- if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
30122
- local_var_params['organization_id'] is None): # noqa: E501
30123
- raise ApiValueError("Missing the required parameter `organization_id` when calling `organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get`") # noqa: E501
30124
-
30125
- collection_formats = {}
30126
-
30127
- path_params = {}
30128
- if 'organization_id' in local_var_params:
30129
- path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
30130
-
30131
- query_params = []
30132
-
30133
- header_params = {}
30134
-
30135
- form_params = []
30136
- local_var_files = {}
30137
-
30138
- body_params = None
30139
- # HTTP header `Accept`
30140
- header_params['Accept'] = self.api_client.select_header_accept(
30141
- ['application/json']) # noqa: E501
30142
-
30143
- # Authentication setting
30144
- auth_settings = [] # noqa: E501
30145
-
30146
- return self.api_client.call_api(
30147
- '/api/v2/access_controls_migration/{organization_id}/organization_valid_for_migration', 'GET',
30148
- path_params,
30149
- query_params,
30150
- header_params,
30151
- body=body_params,
30152
- post_params=form_params,
30153
- files=local_var_files,
30154
- response_type='VerifyresponseResponse', # noqa: E501
30155
- auth_settings=auth_settings,
30156
- async_req=local_var_params.get('async_req'),
30157
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
30158
- _preload_content=local_var_params.get('_preload_content', True),
30159
- _request_timeout=local_var_params.get('_request_timeout'),
30160
- collection_formats=collection_formats)
30161
-
30162
29936
  def patch_project_api_v2_projects_project_id_patch(self, project_id, json_patch_operation, **kwargs): # noqa: E501
30163
29937
  """Patch Project # noqa: E501
30164
29938
 
@@ -30783,120 +30557,6 @@ class DefaultApi(object):
30783
30557
  _request_timeout=local_var_params.get('_request_timeout'),
30784
30558
  collection_formats=collection_formats)
30785
30559
 
30786
- def projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get(self, organization_id, **kwargs): # noqa: E501
30787
- """Projects Violating Tree Hierarchy # noqa: E501
30788
-
30789
- Check projects violating tree hierarchy before migration. These projects will be split as part of the migration. This API is only available to Anyscale internal employees. # noqa: E501
30790
- This method makes a synchronous HTTP request by default. To make an
30791
- asynchronous HTTP request, please pass async_req=True
30792
- >>> thread = api.projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get(organization_id, async_req=True)
30793
- >>> result = thread.get()
30794
-
30795
- :param async_req bool: execute request asynchronously
30796
- :param str organization_id: (required)
30797
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30798
- be returned without reading/decoding response
30799
- data. Default is True.
30800
- :param _request_timeout: timeout setting for this request. If one
30801
- number provided, it will be total request
30802
- timeout. It can also be a pair (tuple) of
30803
- (connection, read) timeouts.
30804
- :return: ProjectsviolatingtreehierarchyresponseResponse
30805
- If the method is called asynchronously,
30806
- returns the request thread.
30807
- """
30808
- kwargs['_return_http_data_only'] = True
30809
- return self.projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get_with_http_info(organization_id, **kwargs) # noqa: E501
30810
-
30811
- def projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get_with_http_info(self, organization_id, **kwargs): # noqa: E501
30812
- """Projects Violating Tree Hierarchy # noqa: E501
30813
-
30814
- Check projects violating tree hierarchy before migration. These projects will be split as part of the migration. This API is only available to Anyscale internal employees. # noqa: E501
30815
- This method makes a synchronous HTTP request by default. To make an
30816
- asynchronous HTTP request, please pass async_req=True
30817
- >>> thread = api.projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get_with_http_info(organization_id, async_req=True)
30818
- >>> result = thread.get()
30819
-
30820
- :param async_req bool: execute request asynchronously
30821
- :param str organization_id: (required)
30822
- :param _return_http_data_only: response data without head status code
30823
- and headers
30824
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30825
- be returned without reading/decoding response
30826
- data. Default is True.
30827
- :param _request_timeout: timeout setting for this request. If one
30828
- number provided, it will be total request
30829
- timeout. It can also be a pair (tuple) of
30830
- (connection, read) timeouts.
30831
- :return: tuple(ProjectsviolatingtreehierarchyresponseResponse, status_code(int), headers(HTTPHeaderDict))
30832
- If the method is called asynchronously,
30833
- returns the request thread.
30834
- """
30835
-
30836
- local_var_params = locals()
30837
-
30838
- all_params = [
30839
- 'organization_id'
30840
- ]
30841
- all_params.extend(
30842
- [
30843
- 'async_req',
30844
- '_return_http_data_only',
30845
- '_preload_content',
30846
- '_request_timeout'
30847
- ]
30848
- )
30849
-
30850
- for key, val in six.iteritems(local_var_params['kwargs']):
30851
- if key not in all_params:
30852
- raise ApiTypeError(
30853
- "Got an unexpected keyword argument '%s'"
30854
- " to method projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get" % key
30855
- )
30856
- local_var_params[key] = val
30857
- del local_var_params['kwargs']
30858
- # verify the required parameter 'organization_id' is set
30859
- if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
30860
- local_var_params['organization_id'] is None): # noqa: E501
30861
- raise ApiValueError("Missing the required parameter `organization_id` when calling `projects_violating_tree_hierarchy_api_v2_access_controls_migration_organization_id_projects_violating_tree_hierarchy_get`") # noqa: E501
30862
-
30863
- collection_formats = {}
30864
-
30865
- path_params = {}
30866
- if 'organization_id' in local_var_params:
30867
- path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
30868
-
30869
- query_params = []
30870
-
30871
- header_params = {}
30872
-
30873
- form_params = []
30874
- local_var_files = {}
30875
-
30876
- body_params = None
30877
- # HTTP header `Accept`
30878
- header_params['Accept'] = self.api_client.select_header_accept(
30879
- ['application/json']) # noqa: E501
30880
-
30881
- # Authentication setting
30882
- auth_settings = [] # noqa: E501
30883
-
30884
- return self.api_client.call_api(
30885
- '/api/v2/access_controls_migration/{organization_id}/projects_violating_tree_hierarchy', 'GET',
30886
- path_params,
30887
- query_params,
30888
- header_params,
30889
- body=body_params,
30890
- post_params=form_params,
30891
- files=local_var_files,
30892
- response_type='ProjectsviolatingtreehierarchyresponseResponse', # noqa: E501
30893
- auth_settings=auth_settings,
30894
- async_req=local_var_params.get('async_req'),
30895
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
30896
- _preload_content=local_var_params.get('_preload_content', True),
30897
- _request_timeout=local_var_params.get('_request_timeout'),
30898
- collection_formats=collection_formats)
30899
-
30900
30560
  def publish_api_v2_streams_publish_post(self, stream_publish_request, **kwargs): # noqa: E501
30901
30561
  """Publish # noqa: E501
30902
30562
 
@@ -39343,120 +39003,6 @@ class DefaultApi(object):
39343
39003
  _request_timeout=local_var_params.get('_request_timeout'),
39344
39004
  collection_formats=collection_formats)
39345
39005
 
39346
- def verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get(self, organization_id, **kwargs): # noqa: E501
39347
- """Verify Migration Complete # noqa: E501
39348
-
39349
- Verify migration was completed successfully. This API is only available to Anyscale internal employees. # noqa: E501
39350
- This method makes a synchronous HTTP request by default. To make an
39351
- asynchronous HTTP request, please pass async_req=True
39352
- >>> thread = api.verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get(organization_id, async_req=True)
39353
- >>> result = thread.get()
39354
-
39355
- :param async_req bool: execute request asynchronously
39356
- :param str organization_id: (required)
39357
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39358
- be returned without reading/decoding response
39359
- data. Default is True.
39360
- :param _request_timeout: timeout setting for this request. If one
39361
- number provided, it will be total request
39362
- timeout. It can also be a pair (tuple) of
39363
- (connection, read) timeouts.
39364
- :return: VerifyresponseResponse
39365
- If the method is called asynchronously,
39366
- returns the request thread.
39367
- """
39368
- kwargs['_return_http_data_only'] = True
39369
- return self.verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get_with_http_info(organization_id, **kwargs) # noqa: E501
39370
-
39371
- def verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get_with_http_info(self, organization_id, **kwargs): # noqa: E501
39372
- """Verify Migration Complete # noqa: E501
39373
-
39374
- Verify migration was completed successfully. This API is only available to Anyscale internal employees. # noqa: E501
39375
- This method makes a synchronous HTTP request by default. To make an
39376
- asynchronous HTTP request, please pass async_req=True
39377
- >>> thread = api.verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get_with_http_info(organization_id, async_req=True)
39378
- >>> result = thread.get()
39379
-
39380
- :param async_req bool: execute request asynchronously
39381
- :param str organization_id: (required)
39382
- :param _return_http_data_only: response data without head status code
39383
- and headers
39384
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39385
- be returned without reading/decoding response
39386
- data. Default is True.
39387
- :param _request_timeout: timeout setting for this request. If one
39388
- number provided, it will be total request
39389
- timeout. It can also be a pair (tuple) of
39390
- (connection, read) timeouts.
39391
- :return: tuple(VerifyresponseResponse, status_code(int), headers(HTTPHeaderDict))
39392
- If the method is called asynchronously,
39393
- returns the request thread.
39394
- """
39395
-
39396
- local_var_params = locals()
39397
-
39398
- all_params = [
39399
- 'organization_id'
39400
- ]
39401
- all_params.extend(
39402
- [
39403
- 'async_req',
39404
- '_return_http_data_only',
39405
- '_preload_content',
39406
- '_request_timeout'
39407
- ]
39408
- )
39409
-
39410
- for key, val in six.iteritems(local_var_params['kwargs']):
39411
- if key not in all_params:
39412
- raise ApiTypeError(
39413
- "Got an unexpected keyword argument '%s'"
39414
- " to method verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get" % key
39415
- )
39416
- local_var_params[key] = val
39417
- del local_var_params['kwargs']
39418
- # verify the required parameter 'organization_id' is set
39419
- if self.api_client.client_side_validation and ('organization_id' not in local_var_params or # noqa: E501
39420
- local_var_params['organization_id'] is None): # noqa: E501
39421
- raise ApiValueError("Missing the required parameter `organization_id` when calling `verify_migration_complete_api_v2_access_controls_migration_organization_id_verify_migration_complete_get`") # noqa: E501
39422
-
39423
- collection_formats = {}
39424
-
39425
- path_params = {}
39426
- if 'organization_id' in local_var_params:
39427
- path_params['organization_id'] = local_var_params['organization_id'] # noqa: E501
39428
-
39429
- query_params = []
39430
-
39431
- header_params = {}
39432
-
39433
- form_params = []
39434
- local_var_files = {}
39435
-
39436
- body_params = None
39437
- # HTTP header `Accept`
39438
- header_params['Accept'] = self.api_client.select_header_accept(
39439
- ['application/json']) # noqa: E501
39440
-
39441
- # Authentication setting
39442
- auth_settings = [] # noqa: E501
39443
-
39444
- return self.api_client.call_api(
39445
- '/api/v2/access_controls_migration/{organization_id}/verify_migration_complete', 'GET',
39446
- path_params,
39447
- query_params,
39448
- header_params,
39449
- body=body_params,
39450
- post_params=form_params,
39451
- files=local_var_files,
39452
- response_type='VerifyresponseResponse', # noqa: E501
39453
- auth_settings=auth_settings,
39454
- async_req=local_var_params.get('async_req'),
39455
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
39456
- _preload_content=local_var_params.get('_preload_content', True),
39457
- _request_timeout=local_var_params.get('_request_timeout'),
39458
- collection_formats=collection_formats)
39459
-
39460
39006
  def verify_reset_password_token_api_v2_users_reset_password_token_get(self, token, **kwargs): # noqa: E501
39461
39007
  """Verify Reset Password Token # noqa: E501
39462
39008
 
@@ -408,6 +408,7 @@ from openapi_client.models.notification_channel_email_config import Notification
408
408
  from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
409
409
  from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
410
410
  from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
411
+ from openapi_client.models.operator_metric_id import OperatorMetricId
411
412
  from openapi_client.models.operator_metrics import OperatorMetrics
412
413
  from openapi_client.models.organization import Organization
413
414
  from openapi_client.models.organization_collaborator import OrganizationCollaborator
@@ -461,8 +462,6 @@ from openapi_client.models.projectbase_response import ProjectbaseResponse
461
462
  from openapi_client.models.projectcollaborator_list_response import ProjectcollaboratorListResponse
462
463
  from openapi_client.models.projectdefaultsessionname_response import ProjectdefaultsessionnameResponse
463
464
  from openapi_client.models.projects_sort_field import ProjectsSortField
464
- from openapi_client.models.projects_violating_tree_hierarchy_response import ProjectsViolatingTreeHierarchyResponse
465
- from openapi_client.models.projectsviolatingtreehierarchyresponse_response import ProjectsviolatingtreehierarchyresponseResponse
466
465
  from openapi_client.models.protocols import Protocols
467
466
  from openapi_client.models.python_modules import PythonModules
468
467
  from openapi_client.models.quota import Quota
@@ -617,8 +616,6 @@ from openapi_client.models.userinfo_response import UserinfoResponse
617
616
  from openapi_client.models.utm_fields import UtmFields
618
617
  from openapi_client.models.validate_otp_params_api_model import ValidateOTPParamsApiModel
619
618
  from openapi_client.models.validation_error import ValidationError
620
- from openapi_client.models.verify_response import VerifyResponse
621
- from openapi_client.models.verifyresponse_response import VerifyresponseResponse
622
619
  from openapi_client.models.visibility import Visibility
623
620
  from openapi_client.models.waitlist_status_response import WaitlistStatusResponse
624
621
  from openapi_client.models.waitlist_status_type import WaitlistStatusType