anyscale 0.26.13__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.
Files changed (32) hide show
  1. anyscale/_private/docgen/models.md +2 -2
  2. anyscale/client/README.md +19 -0
  3. anyscale/client/openapi_client/__init__.py +14 -0
  4. anyscale/client/openapi_client/api/default_api.py +575 -0
  5. anyscale/client/openapi_client/models/__init__.py +14 -0
  6. anyscale/client/openapi_client/models/baseimagesenum.py +2 -4
  7. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +2 -2
  8. anyscale/client/openapi_client/models/task_exception_group_aggregate.py +148 -0
  9. anyscale/client/openapi_client/models/task_function_name_group_aggregate.py +175 -0
  10. anyscale/client/openapi_client/models/task_grouped_aggregate_metrics.py +337 -0
  11. anyscale/client/openapi_client/models/task_job_group_aggregate.py +148 -0
  12. anyscale/client/openapi_client/models/task_state.py +103 -0
  13. anyscale/client/openapi_client/models/task_summary.py +256 -0
  14. anyscale/client/openapi_client/models/task_table_config.py +250 -0
  15. anyscale/client/openapi_client/models/task_table_response.py +174 -0
  16. anyscale/client/openapi_client/models/task_table_row.py +491 -0
  17. anyscale/client/openapi_client/models/task_type.py +100 -0
  18. anyscale/client/openapi_client/models/taskexceptiongroupaggregate_list_response.py +147 -0
  19. anyscale/client/openapi_client/models/taskfunctionnamegroupaggregate_list_response.py +147 -0
  20. anyscale/client/openapi_client/models/taskjobgroupaggregate_list_response.py +147 -0
  21. anyscale/client/openapi_client/models/tasksummary_response.py +121 -0
  22. anyscale/commands/command_examples.py +22 -0
  23. anyscale/sdk/anyscale_client/models/baseimagesenum.py +2 -4
  24. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +2 -2
  25. anyscale/version.py +1 -1
  26. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/METADATA +1 -1
  27. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/RECORD +32 -18
  28. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/LICENSE +0 -0
  29. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/NOTICE +0 -0
  30. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/WHEEL +0 -0
  31. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/entry_points.txt +0 -0
  32. {anyscale-0.26.13.dist-info → anyscale-0.26.14.dist-info}/top_level.txt +0 -0
anyscale/client/README.md CHANGED
@@ -260,6 +260,11 @@ Class | Method | HTTP request | Description
260
260
  *DefaultApi* | [**get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get**](docs/DefaultApi.md#get_session_ssh_key_api_v2_sessions_session_id_ssh_key_get) | **GET** /api/v2/sessions/{session_id}/ssh_key | Get Session Ssh Key
261
261
  *DefaultApi* | [**get_startup_logs_api_v2_sessions_session_id_startup_logs_get**](docs/DefaultApi.md#get_startup_logs_api_v2_sessions_session_id_startup_logs_get) | **GET** /api/v2/sessions/{session_id}/startup_logs | Get Startup Logs
262
262
  *DefaultApi* | [**get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get**](docs/DefaultApi.md#get_startup_logs_archived_api_v2_sessions_session_id_startup_logs_archived_get) | **GET** /api/v2/sessions/{session_id}/startup_logs_archived | Get Startup Logs Archived
263
+ *DefaultApi* | [**get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get**](docs/DefaultApi.md#get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get) | **GET** /api/v2/tasks_dashboard/aggregate_by_exception | Get Task Exception Aggregates
264
+ *DefaultApi* | [**get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get**](docs/DefaultApi.md#get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get) | **GET** /api/v2/tasks_dashboard/aggregate_by_function | Get Task Function Aggregates
265
+ *DefaultApi* | [**get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get**](docs/DefaultApi.md#get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get) | **GET** /api/v2/tasks_dashboard/aggregate_by_job | Get Task Job Aggregates
266
+ *DefaultApi* | [**get_task_summary_api_v2_tasks_dashboard_summary_get**](docs/DefaultApi.md#get_task_summary_api_v2_tasks_dashboard_summary_get) | **GET** /api/v2/tasks_dashboard/summary | Get Task Summary
267
+ *DefaultApi* | [**get_task_table_api_v2_tasks_dashboard_table_get**](docs/DefaultApi.md#get_task_table_api_v2_tasks_dashboard_table_get) | **GET** /api/v2/tasks_dashboard/table | Get Task Table
263
268
  *DefaultApi* | [**get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get**](docs/DefaultApi.md#get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get) | **GET** /api/v2/experimental_workspaces/template/readme/{template_id} | Get Template Readme
264
269
  *DefaultApi* | [**get_templatized_cluster_environments_api_v2_application_templates_templatized_get**](docs/DefaultApi.md#get_templatized_cluster_environments_api_v2_application_templates_templatized_get) | **GET** /api/v2/application_templates/templatized/ | Get Templatized Cluster Environments
265
270
  *DefaultApi* | [**get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get**](docs/DefaultApi.md#get_templatized_compute_configs_api_v2_compute_templates_templatized_cloud_id_get) | **GET** /api/v2/compute_templates/templatized/{cloud_id} | Get Templatized Compute Configs
@@ -907,6 +912,20 @@ Class | Method | HTTP request | Description
907
912
  - [SubnetIdWithAvailabilityZoneAWS](docs/SubnetIdWithAvailabilityZoneAWS.md)
908
913
  - [SupportRequestsQuery](docs/SupportRequestsQuery.md)
909
914
  - [SystemWorkloadName](docs/SystemWorkloadName.md)
915
+ - [TaskExceptionGroupAggregate](docs/TaskExceptionGroupAggregate.md)
916
+ - [TaskFunctionNameGroupAggregate](docs/TaskFunctionNameGroupAggregate.md)
917
+ - [TaskGroupedAggregateMetrics](docs/TaskGroupedAggregateMetrics.md)
918
+ - [TaskJobGroupAggregate](docs/TaskJobGroupAggregate.md)
919
+ - [TaskState](docs/TaskState.md)
920
+ - [TaskSummary](docs/TaskSummary.md)
921
+ - [TaskTableConfig](docs/TaskTableConfig.md)
922
+ - [TaskTableResponse](docs/TaskTableResponse.md)
923
+ - [TaskTableRow](docs/TaskTableRow.md)
924
+ - [TaskType](docs/TaskType.md)
925
+ - [TaskexceptiongroupaggregateListResponse](docs/TaskexceptiongroupaggregateListResponse.md)
926
+ - [TaskfunctionnamegroupaggregateListResponse](docs/TaskfunctionnamegroupaggregateListResponse.md)
927
+ - [TaskjobgroupaggregateListResponse](docs/TaskjobgroupaggregateListResponse.md)
928
+ - [TasksummaryResponse](docs/TasksummaryResponse.md)
910
929
  - [TemplatizedComputeConfigs](docs/TemplatizedComputeConfigs.md)
911
930
  - [TemplatizedDecoratedApplicationTemplates](docs/TemplatizedDecoratedApplicationTemplates.md)
912
931
  - [TemplatizedcomputeconfigsResponse](docs/TemplatizedcomputeconfigsResponse.md)
@@ -543,6 +543,20 @@ from openapi_client.models.stream_publish_request import StreamPublishRequest
543
543
  from openapi_client.models.subnet_id_with_availability_zone_aws import SubnetIdWithAvailabilityZoneAWS
544
544
  from openapi_client.models.support_requests_query import SupportRequestsQuery
545
545
  from openapi_client.models.system_workload_name import SystemWorkloadName
546
+ from openapi_client.models.task_exception_group_aggregate import TaskExceptionGroupAggregate
547
+ from openapi_client.models.task_function_name_group_aggregate import TaskFunctionNameGroupAggregate
548
+ from openapi_client.models.task_grouped_aggregate_metrics import TaskGroupedAggregateMetrics
549
+ from openapi_client.models.task_job_group_aggregate import TaskJobGroupAggregate
550
+ from openapi_client.models.task_state import TaskState
551
+ from openapi_client.models.task_summary import TaskSummary
552
+ from openapi_client.models.task_table_config import TaskTableConfig
553
+ from openapi_client.models.task_table_response import TaskTableResponse
554
+ from openapi_client.models.task_table_row import TaskTableRow
555
+ from openapi_client.models.task_type import TaskType
556
+ from openapi_client.models.taskexceptiongroupaggregate_list_response import TaskexceptiongroupaggregateListResponse
557
+ from openapi_client.models.taskfunctionnamegroupaggregate_list_response import TaskfunctionnamegroupaggregateListResponse
558
+ from openapi_client.models.taskjobgroupaggregate_list_response import TaskjobgroupaggregateListResponse
559
+ from openapi_client.models.tasksummary_response import TasksummaryResponse
546
560
  from openapi_client.models.templatized_compute_configs import TemplatizedComputeConfigs
547
561
  from openapi_client.models.templatized_decorated_application_templates import TemplatizedDecoratedApplicationTemplates
548
562
  from openapi_client.models.templatizedcomputeconfigs_response import TemplatizedcomputeconfigsResponse
@@ -21864,6 +21864,581 @@ class DefaultApi(object):
21864
21864
  _request_timeout=local_var_params.get('_request_timeout'),
21865
21865
  collection_formats=collection_formats)
21866
21866
 
21867
+ def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(self, cluster_id, **kwargs): # noqa: E501
21868
+ """Get Task Exception Aggregates # noqa: E501
21869
+
21870
+ This method makes a synchronous HTTP request by default. To make an
21871
+ asynchronous HTTP request, please pass async_req=True
21872
+ >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get(cluster_id, async_req=True)
21873
+ >>> result = thread.get()
21874
+
21875
+ :param async_req bool: execute request asynchronously
21876
+ :param str cluster_id: (required)
21877
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
21878
+ be returned without reading/decoding response
21879
+ data. Default is True.
21880
+ :param _request_timeout: timeout setting for this request. If one
21881
+ number provided, it will be total request
21882
+ timeout. It can also be a pair (tuple) of
21883
+ (connection, read) timeouts.
21884
+ :return: TaskexceptiongroupaggregateListResponse
21885
+ If the method is called asynchronously,
21886
+ returns the request thread.
21887
+ """
21888
+ kwargs['_return_http_data_only'] = True
21889
+ return self.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, **kwargs) # noqa: E501
21890
+
21891
+ def get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
21892
+ """Get Task Exception Aggregates # noqa: E501
21893
+
21894
+ This method makes a synchronous HTTP request by default. To make an
21895
+ asynchronous HTTP request, please pass async_req=True
21896
+ >>> thread = api.get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get_with_http_info(cluster_id, async_req=True)
21897
+ >>> result = thread.get()
21898
+
21899
+ :param async_req bool: execute request asynchronously
21900
+ :param str cluster_id: (required)
21901
+ :param _return_http_data_only: response data without head status code
21902
+ and headers
21903
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
21904
+ be returned without reading/decoding response
21905
+ data. Default is True.
21906
+ :param _request_timeout: timeout setting for this request. If one
21907
+ number provided, it will be total request
21908
+ timeout. It can also be a pair (tuple) of
21909
+ (connection, read) timeouts.
21910
+ :return: tuple(TaskexceptiongroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
21911
+ If the method is called asynchronously,
21912
+ returns the request thread.
21913
+ """
21914
+
21915
+ local_var_params = locals()
21916
+
21917
+ all_params = [
21918
+ 'cluster_id'
21919
+ ]
21920
+ all_params.extend(
21921
+ [
21922
+ 'async_req',
21923
+ '_return_http_data_only',
21924
+ '_preload_content',
21925
+ '_request_timeout'
21926
+ ]
21927
+ )
21928
+
21929
+ for key, val in six.iteritems(local_var_params['kwargs']):
21930
+ if key not in all_params:
21931
+ raise ApiTypeError(
21932
+ "Got an unexpected keyword argument '%s'"
21933
+ " to method get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get" % key
21934
+ )
21935
+ local_var_params[key] = val
21936
+ del local_var_params['kwargs']
21937
+ # verify the required parameter 'cluster_id' is set
21938
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
21939
+ local_var_params['cluster_id'] is None): # noqa: E501
21940
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_exception_aggregates_api_v2_tasks_dashboard_aggregate_by_exception_get`") # noqa: E501
21941
+
21942
+ collection_formats = {}
21943
+
21944
+ path_params = {}
21945
+
21946
+ query_params = []
21947
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
21948
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
21949
+
21950
+ header_params = {}
21951
+
21952
+ form_params = []
21953
+ local_var_files = {}
21954
+
21955
+ body_params = None
21956
+ # HTTP header `Accept`
21957
+ header_params['Accept'] = self.api_client.select_header_accept(
21958
+ ['application/json']) # noqa: E501
21959
+
21960
+ # Authentication setting
21961
+ auth_settings = [] # noqa: E501
21962
+
21963
+ return self.api_client.call_api(
21964
+ '/api/v2/tasks_dashboard/aggregate_by_exception', 'GET',
21965
+ path_params,
21966
+ query_params,
21967
+ header_params,
21968
+ body=body_params,
21969
+ post_params=form_params,
21970
+ files=local_var_files,
21971
+ response_type='TaskexceptiongroupaggregateListResponse', # noqa: E501
21972
+ auth_settings=auth_settings,
21973
+ async_req=local_var_params.get('async_req'),
21974
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21975
+ _preload_content=local_var_params.get('_preload_content', True),
21976
+ _request_timeout=local_var_params.get('_request_timeout'),
21977
+ collection_formats=collection_formats)
21978
+
21979
+ def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(self, cluster_id, **kwargs): # noqa: E501
21980
+ """Get Task Function Aggregates # noqa: E501
21981
+
21982
+ This method makes a synchronous HTTP request by default. To make an
21983
+ asynchronous HTTP request, please pass async_req=True
21984
+ >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get(cluster_id, async_req=True)
21985
+ >>> result = thread.get()
21986
+
21987
+ :param async_req bool: execute request asynchronously
21988
+ :param str cluster_id: (required)
21989
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
21990
+ be returned without reading/decoding response
21991
+ data. Default is True.
21992
+ :param _request_timeout: timeout setting for this request. If one
21993
+ number provided, it will be total request
21994
+ timeout. It can also be a pair (tuple) of
21995
+ (connection, read) timeouts.
21996
+ :return: TaskfunctionnamegroupaggregateListResponse
21997
+ If the method is called asynchronously,
21998
+ returns the request thread.
21999
+ """
22000
+ kwargs['_return_http_data_only'] = True
22001
+ return self.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, **kwargs) # noqa: E501
22002
+
22003
+ def get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
22004
+ """Get Task Function Aggregates # noqa: E501
22005
+
22006
+ This method makes a synchronous HTTP request by default. To make an
22007
+ asynchronous HTTP request, please pass async_req=True
22008
+ >>> thread = api.get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get_with_http_info(cluster_id, async_req=True)
22009
+ >>> result = thread.get()
22010
+
22011
+ :param async_req bool: execute request asynchronously
22012
+ :param str cluster_id: (required)
22013
+ :param _return_http_data_only: response data without head status code
22014
+ and headers
22015
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22016
+ be returned without reading/decoding response
22017
+ data. Default is True.
22018
+ :param _request_timeout: timeout setting for this request. If one
22019
+ number provided, it will be total request
22020
+ timeout. It can also be a pair (tuple) of
22021
+ (connection, read) timeouts.
22022
+ :return: tuple(TaskfunctionnamegroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
22023
+ If the method is called asynchronously,
22024
+ returns the request thread.
22025
+ """
22026
+
22027
+ local_var_params = locals()
22028
+
22029
+ all_params = [
22030
+ 'cluster_id'
22031
+ ]
22032
+ all_params.extend(
22033
+ [
22034
+ 'async_req',
22035
+ '_return_http_data_only',
22036
+ '_preload_content',
22037
+ '_request_timeout'
22038
+ ]
22039
+ )
22040
+
22041
+ for key, val in six.iteritems(local_var_params['kwargs']):
22042
+ if key not in all_params:
22043
+ raise ApiTypeError(
22044
+ "Got an unexpected keyword argument '%s'"
22045
+ " to method get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get" % key
22046
+ )
22047
+ local_var_params[key] = val
22048
+ del local_var_params['kwargs']
22049
+ # verify the required parameter 'cluster_id' is set
22050
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
22051
+ local_var_params['cluster_id'] is None): # noqa: E501
22052
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_function_aggregates_api_v2_tasks_dashboard_aggregate_by_function_get`") # noqa: E501
22053
+
22054
+ collection_formats = {}
22055
+
22056
+ path_params = {}
22057
+
22058
+ query_params = []
22059
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
22060
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
22061
+
22062
+ header_params = {}
22063
+
22064
+ form_params = []
22065
+ local_var_files = {}
22066
+
22067
+ body_params = None
22068
+ # HTTP header `Accept`
22069
+ header_params['Accept'] = self.api_client.select_header_accept(
22070
+ ['application/json']) # noqa: E501
22071
+
22072
+ # Authentication setting
22073
+ auth_settings = [] # noqa: E501
22074
+
22075
+ return self.api_client.call_api(
22076
+ '/api/v2/tasks_dashboard/aggregate_by_function', 'GET',
22077
+ path_params,
22078
+ query_params,
22079
+ header_params,
22080
+ body=body_params,
22081
+ post_params=form_params,
22082
+ files=local_var_files,
22083
+ response_type='TaskfunctionnamegroupaggregateListResponse', # noqa: E501
22084
+ auth_settings=auth_settings,
22085
+ async_req=local_var_params.get('async_req'),
22086
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
22087
+ _preload_content=local_var_params.get('_preload_content', True),
22088
+ _request_timeout=local_var_params.get('_request_timeout'),
22089
+ collection_formats=collection_formats)
22090
+
22091
+ def get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get(self, cluster_id, **kwargs): # noqa: E501
22092
+ """Get Task Job Aggregates # noqa: E501
22093
+
22094
+ This method makes a synchronous HTTP request by default. To make an
22095
+ asynchronous HTTP request, please pass async_req=True
22096
+ >>> thread = api.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get(cluster_id, async_req=True)
22097
+ >>> result = thread.get()
22098
+
22099
+ :param async_req bool: execute request asynchronously
22100
+ :param str cluster_id: (required)
22101
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22102
+ be returned without reading/decoding response
22103
+ data. Default is True.
22104
+ :param _request_timeout: timeout setting for this request. If one
22105
+ number provided, it will be total request
22106
+ timeout. It can also be a pair (tuple) of
22107
+ (connection, read) timeouts.
22108
+ :return: TaskjobgroupaggregateListResponse
22109
+ If the method is called asynchronously,
22110
+ returns the request thread.
22111
+ """
22112
+ kwargs['_return_http_data_only'] = True
22113
+ return self.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(cluster_id, **kwargs) # noqa: E501
22114
+
22115
+ def get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
22116
+ """Get Task Job Aggregates # noqa: E501
22117
+
22118
+ This method makes a synchronous HTTP request by default. To make an
22119
+ asynchronous HTTP request, please pass async_req=True
22120
+ >>> thread = api.get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get_with_http_info(cluster_id, async_req=True)
22121
+ >>> result = thread.get()
22122
+
22123
+ :param async_req bool: execute request asynchronously
22124
+ :param str cluster_id: (required)
22125
+ :param _return_http_data_only: response data without head status code
22126
+ and headers
22127
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22128
+ be returned without reading/decoding response
22129
+ data. Default is True.
22130
+ :param _request_timeout: timeout setting for this request. If one
22131
+ number provided, it will be total request
22132
+ timeout. It can also be a pair (tuple) of
22133
+ (connection, read) timeouts.
22134
+ :return: tuple(TaskjobgroupaggregateListResponse, status_code(int), headers(HTTPHeaderDict))
22135
+ If the method is called asynchronously,
22136
+ returns the request thread.
22137
+ """
22138
+
22139
+ local_var_params = locals()
22140
+
22141
+ all_params = [
22142
+ 'cluster_id'
22143
+ ]
22144
+ all_params.extend(
22145
+ [
22146
+ 'async_req',
22147
+ '_return_http_data_only',
22148
+ '_preload_content',
22149
+ '_request_timeout'
22150
+ ]
22151
+ )
22152
+
22153
+ for key, val in six.iteritems(local_var_params['kwargs']):
22154
+ if key not in all_params:
22155
+ raise ApiTypeError(
22156
+ "Got an unexpected keyword argument '%s'"
22157
+ " to method get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get" % key
22158
+ )
22159
+ local_var_params[key] = val
22160
+ del local_var_params['kwargs']
22161
+ # verify the required parameter 'cluster_id' is set
22162
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
22163
+ local_var_params['cluster_id'] is None): # noqa: E501
22164
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_job_aggregates_api_v2_tasks_dashboard_aggregate_by_job_get`") # noqa: E501
22165
+
22166
+ collection_formats = {}
22167
+
22168
+ path_params = {}
22169
+
22170
+ query_params = []
22171
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
22172
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
22173
+
22174
+ header_params = {}
22175
+
22176
+ form_params = []
22177
+ local_var_files = {}
22178
+
22179
+ body_params = None
22180
+ # HTTP header `Accept`
22181
+ header_params['Accept'] = self.api_client.select_header_accept(
22182
+ ['application/json']) # noqa: E501
22183
+
22184
+ # Authentication setting
22185
+ auth_settings = [] # noqa: E501
22186
+
22187
+ return self.api_client.call_api(
22188
+ '/api/v2/tasks_dashboard/aggregate_by_job', 'GET',
22189
+ path_params,
22190
+ query_params,
22191
+ header_params,
22192
+ body=body_params,
22193
+ post_params=form_params,
22194
+ files=local_var_files,
22195
+ response_type='TaskjobgroupaggregateListResponse', # noqa: E501
22196
+ auth_settings=auth_settings,
22197
+ async_req=local_var_params.get('async_req'),
22198
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
22199
+ _preload_content=local_var_params.get('_preload_content', True),
22200
+ _request_timeout=local_var_params.get('_request_timeout'),
22201
+ collection_formats=collection_formats)
22202
+
22203
+ def get_task_summary_api_v2_tasks_dashboard_summary_get(self, cluster_id, **kwargs): # noqa: E501
22204
+ """Get Task Summary # noqa: E501
22205
+
22206
+ This method makes a synchronous HTTP request by default. To make an
22207
+ asynchronous HTTP request, please pass async_req=True
22208
+ >>> thread = api.get_task_summary_api_v2_tasks_dashboard_summary_get(cluster_id, async_req=True)
22209
+ >>> result = thread.get()
22210
+
22211
+ :param async_req bool: execute request asynchronously
22212
+ :param str cluster_id: (required)
22213
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22214
+ be returned without reading/decoding response
22215
+ data. Default is True.
22216
+ :param _request_timeout: timeout setting for this request. If one
22217
+ number provided, it will be total request
22218
+ timeout. It can also be a pair (tuple) of
22219
+ (connection, read) timeouts.
22220
+ :return: TasksummaryResponse
22221
+ If the method is called asynchronously,
22222
+ returns the request thread.
22223
+ """
22224
+ kwargs['_return_http_data_only'] = True
22225
+ return self.get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(cluster_id, **kwargs) # noqa: E501
22226
+
22227
+ def get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
22228
+ """Get Task Summary # noqa: E501
22229
+
22230
+ This method makes a synchronous HTTP request by default. To make an
22231
+ asynchronous HTTP request, please pass async_req=True
22232
+ >>> thread = api.get_task_summary_api_v2_tasks_dashboard_summary_get_with_http_info(cluster_id, async_req=True)
22233
+ >>> result = thread.get()
22234
+
22235
+ :param async_req bool: execute request asynchronously
22236
+ :param str cluster_id: (required)
22237
+ :param _return_http_data_only: response data without head status code
22238
+ and headers
22239
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22240
+ be returned without reading/decoding response
22241
+ data. Default is True.
22242
+ :param _request_timeout: timeout setting for this request. If one
22243
+ number provided, it will be total request
22244
+ timeout. It can also be a pair (tuple) of
22245
+ (connection, read) timeouts.
22246
+ :return: tuple(TasksummaryResponse, status_code(int), headers(HTTPHeaderDict))
22247
+ If the method is called asynchronously,
22248
+ returns the request thread.
22249
+ """
22250
+
22251
+ local_var_params = locals()
22252
+
22253
+ all_params = [
22254
+ 'cluster_id'
22255
+ ]
22256
+ all_params.extend(
22257
+ [
22258
+ 'async_req',
22259
+ '_return_http_data_only',
22260
+ '_preload_content',
22261
+ '_request_timeout'
22262
+ ]
22263
+ )
22264
+
22265
+ for key, val in six.iteritems(local_var_params['kwargs']):
22266
+ if key not in all_params:
22267
+ raise ApiTypeError(
22268
+ "Got an unexpected keyword argument '%s'"
22269
+ " to method get_task_summary_api_v2_tasks_dashboard_summary_get" % key
22270
+ )
22271
+ local_var_params[key] = val
22272
+ del local_var_params['kwargs']
22273
+ # verify the required parameter 'cluster_id' is set
22274
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
22275
+ local_var_params['cluster_id'] is None): # noqa: E501
22276
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_summary_api_v2_tasks_dashboard_summary_get`") # noqa: E501
22277
+
22278
+ collection_formats = {}
22279
+
22280
+ path_params = {}
22281
+
22282
+ query_params = []
22283
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
22284
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
22285
+
22286
+ header_params = {}
22287
+
22288
+ form_params = []
22289
+ local_var_files = {}
22290
+
22291
+ body_params = None
22292
+ # HTTP header `Accept`
22293
+ header_params['Accept'] = self.api_client.select_header_accept(
22294
+ ['application/json']) # noqa: E501
22295
+
22296
+ # Authentication setting
22297
+ auth_settings = [] # noqa: E501
22298
+
22299
+ return self.api_client.call_api(
22300
+ '/api/v2/tasks_dashboard/summary', 'GET',
22301
+ path_params,
22302
+ query_params,
22303
+ header_params,
22304
+ body=body_params,
22305
+ post_params=form_params,
22306
+ files=local_var_files,
22307
+ response_type='TasksummaryResponse', # noqa: E501
22308
+ auth_settings=auth_settings,
22309
+ async_req=local_var_params.get('async_req'),
22310
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
22311
+ _preload_content=local_var_params.get('_preload_content', True),
22312
+ _request_timeout=local_var_params.get('_request_timeout'),
22313
+ collection_formats=collection_formats)
22314
+
22315
+ def get_task_table_api_v2_tasks_dashboard_table_get(self, cluster_id, task_table_config, **kwargs): # noqa: E501
22316
+ """Get Task Table # noqa: E501
22317
+
22318
+ Paging tokens are integers that represent the page number. # noqa: E501
22319
+ This method makes a synchronous HTTP request by default. To make an
22320
+ asynchronous HTTP request, please pass async_req=True
22321
+ >>> thread = api.get_task_table_api_v2_tasks_dashboard_table_get(cluster_id, task_table_config, async_req=True)
22322
+ >>> result = thread.get()
22323
+
22324
+ :param async_req bool: execute request asynchronously
22325
+ :param str cluster_id: (required)
22326
+ :param TaskTableConfig task_table_config: (required)
22327
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22328
+ be returned without reading/decoding response
22329
+ data. Default is True.
22330
+ :param _request_timeout: timeout setting for this request. If one
22331
+ number provided, it will be total request
22332
+ timeout. It can also be a pair (tuple) of
22333
+ (connection, read) timeouts.
22334
+ :return: TaskTableResponse
22335
+ If the method is called asynchronously,
22336
+ returns the request thread.
22337
+ """
22338
+ kwargs['_return_http_data_only'] = True
22339
+ return self.get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(cluster_id, task_table_config, **kwargs) # noqa: E501
22340
+
22341
+ def get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(self, cluster_id, task_table_config, **kwargs): # noqa: E501
22342
+ """Get Task Table # noqa: E501
22343
+
22344
+ Paging tokens are integers that represent the page number. # noqa: E501
22345
+ This method makes a synchronous HTTP request by default. To make an
22346
+ asynchronous HTTP request, please pass async_req=True
22347
+ >>> thread = api.get_task_table_api_v2_tasks_dashboard_table_get_with_http_info(cluster_id, task_table_config, async_req=True)
22348
+ >>> result = thread.get()
22349
+
22350
+ :param async_req bool: execute request asynchronously
22351
+ :param str cluster_id: (required)
22352
+ :param TaskTableConfig task_table_config: (required)
22353
+ :param _return_http_data_only: response data without head status code
22354
+ and headers
22355
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
22356
+ be returned without reading/decoding response
22357
+ data. Default is True.
22358
+ :param _request_timeout: timeout setting for this request. If one
22359
+ number provided, it will be total request
22360
+ timeout. It can also be a pair (tuple) of
22361
+ (connection, read) timeouts.
22362
+ :return: tuple(TaskTableResponse, status_code(int), headers(HTTPHeaderDict))
22363
+ If the method is called asynchronously,
22364
+ returns the request thread.
22365
+ """
22366
+
22367
+ local_var_params = locals()
22368
+
22369
+ all_params = [
22370
+ 'cluster_id',
22371
+ 'task_table_config'
22372
+ ]
22373
+ all_params.extend(
22374
+ [
22375
+ 'async_req',
22376
+ '_return_http_data_only',
22377
+ '_preload_content',
22378
+ '_request_timeout'
22379
+ ]
22380
+ )
22381
+
22382
+ for key, val in six.iteritems(local_var_params['kwargs']):
22383
+ if key not in all_params:
22384
+ raise ApiTypeError(
22385
+ "Got an unexpected keyword argument '%s'"
22386
+ " to method get_task_table_api_v2_tasks_dashboard_table_get" % key
22387
+ )
22388
+ local_var_params[key] = val
22389
+ del local_var_params['kwargs']
22390
+ # verify the required parameter 'cluster_id' is set
22391
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
22392
+ local_var_params['cluster_id'] is None): # noqa: E501
22393
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_task_table_api_v2_tasks_dashboard_table_get`") # noqa: E501
22394
+ # verify the required parameter 'task_table_config' is set
22395
+ if self.api_client.client_side_validation and ('task_table_config' not in local_var_params or # noqa: E501
22396
+ local_var_params['task_table_config'] is None): # noqa: E501
22397
+ raise ApiValueError("Missing the required parameter `task_table_config` when calling `get_task_table_api_v2_tasks_dashboard_table_get`") # noqa: E501
22398
+
22399
+ collection_formats = {}
22400
+
22401
+ path_params = {}
22402
+
22403
+ query_params = []
22404
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
22405
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
22406
+
22407
+ header_params = {}
22408
+
22409
+ form_params = []
22410
+ local_var_files = {}
22411
+
22412
+ body_params = None
22413
+ if 'task_table_config' in local_var_params:
22414
+ body_params = local_var_params['task_table_config']
22415
+ # HTTP header `Accept`
22416
+ header_params['Accept'] = self.api_client.select_header_accept(
22417
+ ['application/json']) # noqa: E501
22418
+
22419
+ # HTTP header `Content-Type`
22420
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
22421
+ ['application/json']) # noqa: E501
22422
+
22423
+ # Authentication setting
22424
+ auth_settings = [] # noqa: E501
22425
+
22426
+ return self.api_client.call_api(
22427
+ '/api/v2/tasks_dashboard/table', 'GET',
22428
+ path_params,
22429
+ query_params,
22430
+ header_params,
22431
+ body=body_params,
22432
+ post_params=form_params,
22433
+ files=local_var_files,
22434
+ response_type='TaskTableResponse', # noqa: E501
22435
+ auth_settings=auth_settings,
22436
+ async_req=local_var_params.get('async_req'),
22437
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
22438
+ _preload_content=local_var_params.get('_preload_content', True),
22439
+ _request_timeout=local_var_params.get('_request_timeout'),
22440
+ collection_formats=collection_formats)
22441
+
21867
22442
  def get_template_readme_api_v2_experimental_workspaces_template_readme_template_id_get(self, template_id, **kwargs): # noqa: E501
21868
22443
  """Get Template Readme # noqa: E501
21869
22444
 
@@ -529,6 +529,20 @@ from openapi_client.models.stream_publish_request import StreamPublishRequest
529
529
  from openapi_client.models.subnet_id_with_availability_zone_aws import SubnetIdWithAvailabilityZoneAWS
530
530
  from openapi_client.models.support_requests_query import SupportRequestsQuery
531
531
  from openapi_client.models.system_workload_name import SystemWorkloadName
532
+ from openapi_client.models.task_exception_group_aggregate import TaskExceptionGroupAggregate
533
+ from openapi_client.models.task_function_name_group_aggregate import TaskFunctionNameGroupAggregate
534
+ from openapi_client.models.task_grouped_aggregate_metrics import TaskGroupedAggregateMetrics
535
+ from openapi_client.models.task_job_group_aggregate import TaskJobGroupAggregate
536
+ from openapi_client.models.task_state import TaskState
537
+ from openapi_client.models.task_summary import TaskSummary
538
+ from openapi_client.models.task_table_config import TaskTableConfig
539
+ from openapi_client.models.task_table_response import TaskTableResponse
540
+ from openapi_client.models.task_table_row import TaskTableRow
541
+ from openapi_client.models.task_type import TaskType
542
+ from openapi_client.models.taskexceptiongroupaggregate_list_response import TaskexceptiongroupaggregateListResponse
543
+ from openapi_client.models.taskfunctionnamegroupaggregate_list_response import TaskfunctionnamegroupaggregateListResponse
544
+ from openapi_client.models.taskjobgroupaggregate_list_response import TaskjobgroupaggregateListResponse
545
+ from openapi_client.models.tasksummary_response import TasksummaryResponse
532
546
  from openapi_client.models.templatized_compute_configs import TemplatizedComputeConfigs
533
547
  from openapi_client.models.templatized_decorated_application_templates import TemplatizedDecoratedApplicationTemplates
534
548
  from openapi_client.models.templatizedcomputeconfigs_response import TemplatizedcomputeconfigsResponse