anyscale 0.26.69__py3-none-any.whl → 0.26.70__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 (67) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +67 -1
  2. anyscale/_private/anyscale_client/common.py +20 -1
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +77 -10
  4. anyscale/client/README.md +14 -4
  5. anyscale/client/openapi_client/__init__.py +11 -4
  6. anyscale/client/openapi_client/api/default_api.py +462 -23
  7. anyscale/client/openapi_client/models/__init__.py +11 -4
  8. anyscale/client/openapi_client/models/api_key_info.py +29 -3
  9. anyscale/client/openapi_client/models/apply_autoscaling_config_update_model.py +350 -0
  10. anyscale/client/openapi_client/models/apply_production_service_multi_version_v2_model.py +207 -0
  11. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/cloud_data_bucket_file_type.py +2 -1
  14. anyscale/client/openapi_client/models/{oauthconnectionresponse_response.py → clouddeployment_response.py} +11 -11
  15. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  16. anyscale/client/openapi_client/models/create_workspace_from_template.py +29 -1
  17. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  18. anyscale/client/openapi_client/models/decorated_list_service_api_model.py +58 -1
  19. anyscale/client/openapi_client/models/decorated_production_service_v2_api_model.py +60 -3
  20. anyscale/client/openapi_client/models/decorated_service_event_api_model.py +3 -3
  21. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +33 -5
  22. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +33 -5
  23. anyscale/client/openapi_client/models/{service_event_level.py → entity_type.py} +9 -9
  24. anyscale/client/openapi_client/models/event_level.py +2 -1
  25. anyscale/client/openapi_client/models/job_event_fields.py +206 -0
  26. anyscale/client/openapi_client/models/machine_type_partition_filter.py +152 -0
  27. anyscale/client/openapi_client/models/partition_info.py +30 -1
  28. anyscale/client/openapi_client/models/production_job_event.py +3 -3
  29. anyscale/client/openapi_client/models/rollout_strategy.py +2 -1
  30. anyscale/client/openapi_client/models/service_event_fields.py +318 -0
  31. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  32. anyscale/client/openapi_client/models/task_summary_config.py +29 -3
  33. anyscale/client/openapi_client/models/task_table_config.py +29 -3
  34. anyscale/client/openapi_client/models/unified_event.py +377 -0
  35. anyscale/client/openapi_client/models/{ha_job_event_level.py → unified_origin_filter.py} +21 -9
  36. anyscale/client/openapi_client/models/unifiedevent_list_response.py +147 -0
  37. anyscale/client/openapi_client/models/workspace_event_fields.py +122 -0
  38. anyscale/client/openapi_client/models/workspace_template_version.py +30 -1
  39. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +30 -1
  40. anyscale/cloud/models.py +2 -2
  41. anyscale/commands/cloud_commands.py +133 -2
  42. anyscale/commands/job_commands.py +1 -1
  43. anyscale/commands/service_commands.py +130 -67
  44. anyscale/commands/setup_k8s.py +546 -31
  45. anyscale/controllers/cloud_controller.py +15 -2
  46. anyscale/controllers/kubernetes_verifier.py +80 -66
  47. anyscale/job/_private/job_sdk.py +47 -1
  48. anyscale/job/commands.py +3 -0
  49. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
  50. anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
  51. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  52. anyscale/sdk/anyscale_client/models/rollout_strategy.py +2 -1
  53. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  54. anyscale/service/__init__.py +11 -3
  55. anyscale/service/_private/service_sdk.py +361 -35
  56. anyscale/service/commands.py +15 -3
  57. anyscale/service/models.py +12 -0
  58. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  59. anyscale/version.py +1 -1
  60. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/METADATA +1 -1
  61. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/RECORD +66 -59
  62. anyscale/client/openapi_client/models/o_auth_connection_response.py +0 -229
  63. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/WHEEL +0 -0
  64. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/entry_points.txt +0 -0
  65. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/licenses/LICENSE +0 -0
  66. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/licenses/NOTICE +0 -0
  67. {anyscale-0.26.69.dist-info → anyscale-0.26.70.dist-info}/top_level.txt +0 -0
@@ -54,7 +54,7 @@ class DefaultApi(object):
54
54
  number provided, it will be total request
55
55
  timeout. It can also be a pair (tuple) of
56
56
  (connection, read) timeouts.
57
- :return: object
57
+ :return: ClouddeploymentResponse
58
58
  If the method is called asynchronously,
59
59
  returns the request thread.
60
60
  """
@@ -81,7 +81,7 @@ class DefaultApi(object):
81
81
  number provided, it will be total request
82
82
  timeout. It can also be a pair (tuple) of
83
83
  (connection, read) timeouts.
84
- :return: tuple(object, status_code(int), headers(HTTPHeaderDict))
84
+ :return: tuple(ClouddeploymentResponse, status_code(int), headers(HTTPHeaderDict))
85
85
  If the method is called asynchronously,
86
86
  returns the request thread.
87
87
  """
@@ -153,7 +153,7 @@ class DefaultApi(object):
153
153
  body=body_params,
154
154
  post_params=form_params,
155
155
  files=local_var_files,
156
- response_type='object', # noqa: E501
156
+ response_type='ClouddeploymentResponse', # noqa: E501
157
157
  auth_settings=auth_settings,
158
158
  async_req=local_var_params.get('async_req'),
159
159
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
@@ -902,6 +902,133 @@ class DefaultApi(object):
902
902
  _request_timeout=local_var_params.get('_request_timeout'),
903
903
  collection_formats=collection_formats)
904
904
 
905
+ def apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put(self, service_id, apply_autoscaling_config_update_model, **kwargs): # noqa: E501
906
+ """Apply Autoscaling Config Update # noqa: E501
907
+
908
+ Apply an autoscaling config update # noqa: E501
909
+ This method makes a synchronous HTTP request by default. To make an
910
+ asynchronous HTTP request, please pass async_req=True
911
+ >>> thread = api.apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put(service_id, apply_autoscaling_config_update_model, async_req=True)
912
+ >>> result = thread.get()
913
+
914
+ :param async_req bool: execute request asynchronously
915
+ :param str service_id: (required)
916
+ :param ApplyAutoscalingConfigUpdateModel apply_autoscaling_config_update_model: (required)
917
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
918
+ be returned without reading/decoding response
919
+ data. Default is True.
920
+ :param _request_timeout: timeout setting for this request. If one
921
+ number provided, it will be total request
922
+ timeout. It can also be a pair (tuple) of
923
+ (connection, read) timeouts.
924
+ :return: Decoratedproductionservicev2ApimodelResponse
925
+ If the method is called asynchronously,
926
+ returns the request thread.
927
+ """
928
+ kwargs['_return_http_data_only'] = True
929
+ return self.apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put_with_http_info(service_id, apply_autoscaling_config_update_model, **kwargs) # noqa: E501
930
+
931
+ def apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put_with_http_info(self, service_id, apply_autoscaling_config_update_model, **kwargs): # noqa: E501
932
+ """Apply Autoscaling Config Update # noqa: E501
933
+
934
+ Apply an autoscaling config update # noqa: E501
935
+ This method makes a synchronous HTTP request by default. To make an
936
+ asynchronous HTTP request, please pass async_req=True
937
+ >>> thread = api.apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put_with_http_info(service_id, apply_autoscaling_config_update_model, async_req=True)
938
+ >>> result = thread.get()
939
+
940
+ :param async_req bool: execute request asynchronously
941
+ :param str service_id: (required)
942
+ :param ApplyAutoscalingConfigUpdateModel apply_autoscaling_config_update_model: (required)
943
+ :param _return_http_data_only: response data without head status code
944
+ and headers
945
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
946
+ be returned without reading/decoding response
947
+ data. Default is True.
948
+ :param _request_timeout: timeout setting for this request. If one
949
+ number provided, it will be total request
950
+ timeout. It can also be a pair (tuple) of
951
+ (connection, read) timeouts.
952
+ :return: tuple(Decoratedproductionservicev2ApimodelResponse, status_code(int), headers(HTTPHeaderDict))
953
+ If the method is called asynchronously,
954
+ returns the request thread.
955
+ """
956
+
957
+ local_var_params = locals()
958
+
959
+ all_params = [
960
+ 'service_id',
961
+ 'apply_autoscaling_config_update_model'
962
+ ]
963
+ all_params.extend(
964
+ [
965
+ 'async_req',
966
+ '_return_http_data_only',
967
+ '_preload_content',
968
+ '_request_timeout'
969
+ ]
970
+ )
971
+
972
+ for key, val in six.iteritems(local_var_params['kwargs']):
973
+ if key not in all_params:
974
+ raise ApiTypeError(
975
+ "Got an unexpected keyword argument '%s'"
976
+ " to method apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put" % key
977
+ )
978
+ local_var_params[key] = val
979
+ del local_var_params['kwargs']
980
+ # verify the required parameter 'service_id' is set
981
+ if self.api_client.client_side_validation and ('service_id' not in local_var_params or # noqa: E501
982
+ local_var_params['service_id'] is None): # noqa: E501
983
+ raise ApiValueError("Missing the required parameter `service_id` when calling `apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put`") # noqa: E501
984
+ # verify the required parameter 'apply_autoscaling_config_update_model' is set
985
+ if self.api_client.client_side_validation and ('apply_autoscaling_config_update_model' not in local_var_params or # noqa: E501
986
+ local_var_params['apply_autoscaling_config_update_model'] is None): # noqa: E501
987
+ raise ApiValueError("Missing the required parameter `apply_autoscaling_config_update_model` when calling `apply_autoscaling_config_update_api_v2_services_v2_service_id_apply_autoscaling_config_update_put`") # noqa: E501
988
+
989
+ collection_formats = {}
990
+
991
+ path_params = {}
992
+ if 'service_id' in local_var_params:
993
+ path_params['service_id'] = local_var_params['service_id'] # noqa: E501
994
+
995
+ query_params = []
996
+
997
+ header_params = {}
998
+
999
+ form_params = []
1000
+ local_var_files = {}
1001
+
1002
+ body_params = None
1003
+ if 'apply_autoscaling_config_update_model' in local_var_params:
1004
+ body_params = local_var_params['apply_autoscaling_config_update_model']
1005
+ # HTTP header `Accept`
1006
+ header_params['Accept'] = self.api_client.select_header_accept(
1007
+ ['application/json']) # noqa: E501
1008
+
1009
+ # HTTP header `Content-Type`
1010
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1011
+ ['application/json']) # noqa: E501
1012
+
1013
+ # Authentication setting
1014
+ auth_settings = [] # noqa: E501
1015
+
1016
+ return self.api_client.call_api(
1017
+ '/api/v2/services-v2/{service_id}/apply_autoscaling_config_update', 'PUT',
1018
+ path_params,
1019
+ query_params,
1020
+ header_params,
1021
+ body=body_params,
1022
+ post_params=form_params,
1023
+ files=local_var_files,
1024
+ response_type='Decoratedproductionservicev2ApimodelResponse', # noqa: E501
1025
+ auth_settings=auth_settings,
1026
+ async_req=local_var_params.get('async_req'),
1027
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
1028
+ _preload_content=local_var_params.get('_preload_content', True),
1029
+ _request_timeout=local_var_params.get('_request_timeout'),
1030
+ collection_formats=collection_formats)
1031
+
905
1032
  def apply_service_api_v2_services_v2_apply_put(self, apply_production_service_v2_model, **kwargs): # noqa: E501
906
1033
  """Apply Service # noqa: E501
907
1034
 
@@ -1020,6 +1147,124 @@ class DefaultApi(object):
1020
1147
  _request_timeout=local_var_params.get('_request_timeout'),
1021
1148
  collection_formats=collection_formats)
1022
1149
 
1150
+ def apply_service_multi_version_api_v2_services_v2_apply_multi_version_put(self, apply_production_service_multi_version_v2_model, **kwargs): # noqa: E501
1151
+ """Apply Service Multi Version # noqa: E501
1152
+
1153
+ Apply a Service # noqa: E501
1154
+ This method makes a synchronous HTTP request by default. To make an
1155
+ asynchronous HTTP request, please pass async_req=True
1156
+ >>> thread = api.apply_service_multi_version_api_v2_services_v2_apply_multi_version_put(apply_production_service_multi_version_v2_model, async_req=True)
1157
+ >>> result = thread.get()
1158
+
1159
+ :param async_req bool: execute request asynchronously
1160
+ :param ApplyProductionServiceMultiVersionV2Model apply_production_service_multi_version_v2_model: (required)
1161
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
1162
+ be returned without reading/decoding response
1163
+ data. Default is True.
1164
+ :param _request_timeout: timeout setting for this request. If one
1165
+ number provided, it will be total request
1166
+ timeout. It can also be a pair (tuple) of
1167
+ (connection, read) timeouts.
1168
+ :return: Decoratedproductionservicev2ApimodelResponse
1169
+ If the method is called asynchronously,
1170
+ returns the request thread.
1171
+ """
1172
+ kwargs['_return_http_data_only'] = True
1173
+ return self.apply_service_multi_version_api_v2_services_v2_apply_multi_version_put_with_http_info(apply_production_service_multi_version_v2_model, **kwargs) # noqa: E501
1174
+
1175
+ def apply_service_multi_version_api_v2_services_v2_apply_multi_version_put_with_http_info(self, apply_production_service_multi_version_v2_model, **kwargs): # noqa: E501
1176
+ """Apply Service Multi Version # noqa: E501
1177
+
1178
+ Apply a Service # noqa: E501
1179
+ This method makes a synchronous HTTP request by default. To make an
1180
+ asynchronous HTTP request, please pass async_req=True
1181
+ >>> thread = api.apply_service_multi_version_api_v2_services_v2_apply_multi_version_put_with_http_info(apply_production_service_multi_version_v2_model, async_req=True)
1182
+ >>> result = thread.get()
1183
+
1184
+ :param async_req bool: execute request asynchronously
1185
+ :param ApplyProductionServiceMultiVersionV2Model apply_production_service_multi_version_v2_model: (required)
1186
+ :param _return_http_data_only: response data without head status code
1187
+ and headers
1188
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
1189
+ be returned without reading/decoding response
1190
+ data. Default is True.
1191
+ :param _request_timeout: timeout setting for this request. If one
1192
+ number provided, it will be total request
1193
+ timeout. It can also be a pair (tuple) of
1194
+ (connection, read) timeouts.
1195
+ :return: tuple(Decoratedproductionservicev2ApimodelResponse, status_code(int), headers(HTTPHeaderDict))
1196
+ If the method is called asynchronously,
1197
+ returns the request thread.
1198
+ """
1199
+
1200
+ local_var_params = locals()
1201
+
1202
+ all_params = [
1203
+ 'apply_production_service_multi_version_v2_model'
1204
+ ]
1205
+ all_params.extend(
1206
+ [
1207
+ 'async_req',
1208
+ '_return_http_data_only',
1209
+ '_preload_content',
1210
+ '_request_timeout'
1211
+ ]
1212
+ )
1213
+
1214
+ for key, val in six.iteritems(local_var_params['kwargs']):
1215
+ if key not in all_params:
1216
+ raise ApiTypeError(
1217
+ "Got an unexpected keyword argument '%s'"
1218
+ " to method apply_service_multi_version_api_v2_services_v2_apply_multi_version_put" % key
1219
+ )
1220
+ local_var_params[key] = val
1221
+ del local_var_params['kwargs']
1222
+ # verify the required parameter 'apply_production_service_multi_version_v2_model' is set
1223
+ if self.api_client.client_side_validation and ('apply_production_service_multi_version_v2_model' not in local_var_params or # noqa: E501
1224
+ local_var_params['apply_production_service_multi_version_v2_model'] is None): # noqa: E501
1225
+ raise ApiValueError("Missing the required parameter `apply_production_service_multi_version_v2_model` when calling `apply_service_multi_version_api_v2_services_v2_apply_multi_version_put`") # noqa: E501
1226
+
1227
+ collection_formats = {}
1228
+
1229
+ path_params = {}
1230
+
1231
+ query_params = []
1232
+
1233
+ header_params = {}
1234
+
1235
+ form_params = []
1236
+ local_var_files = {}
1237
+
1238
+ body_params = None
1239
+ if 'apply_production_service_multi_version_v2_model' in local_var_params:
1240
+ body_params = local_var_params['apply_production_service_multi_version_v2_model']
1241
+ # HTTP header `Accept`
1242
+ header_params['Accept'] = self.api_client.select_header_accept(
1243
+ ['application/json']) # noqa: E501
1244
+
1245
+ # HTTP header `Content-Type`
1246
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1247
+ ['application/json']) # noqa: E501
1248
+
1249
+ # Authentication setting
1250
+ auth_settings = [] # noqa: E501
1251
+
1252
+ return self.api_client.call_api(
1253
+ '/api/v2/services-v2/apply_multi_version', 'PUT',
1254
+ path_params,
1255
+ query_params,
1256
+ header_params,
1257
+ body=body_params,
1258
+ post_params=form_params,
1259
+ files=local_var_files,
1260
+ response_type='Decoratedproductionservicev2ApimodelResponse', # noqa: E501
1261
+ auth_settings=auth_settings,
1262
+ async_req=local_var_params.get('async_req'),
1263
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
1264
+ _preload_content=local_var_params.get('_preload_content', True),
1265
+ _request_timeout=local_var_params.get('_request_timeout'),
1266
+ collection_formats=collection_formats)
1267
+
1023
1268
  def archive_cluster_environment_api_v2_application_templates_application_template_id_archive_post(self, application_template_id, **kwargs): # noqa: E501
1024
1269
  """Archive Cluster Environment # noqa: E501
1025
1270
 
@@ -13395,7 +13640,7 @@ class DefaultApi(object):
13395
13640
  :param str instance_node_ip: Filter for events from this instance. This is a string that is the node ip of the instance.
13396
13641
  :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
13397
13642
  :param int count: Max number of events to fetch.
13398
- :param EventLevel level: Filter by level of event. If level is not set, query will return all level values
13643
+ :param list[EventLevel] level: Filter by level of event. If level is not set, query will return all level values
13399
13644
  :param str message: Filter by message of event. If message is not set, query will not filter for message
13400
13645
  :param _preload_content: if False, the urllib3.HTTPResponse object will
13401
13646
  be returned without reading/decoding response
@@ -13430,7 +13675,7 @@ class DefaultApi(object):
13430
13675
  :param str instance_node_ip: Filter for events from this instance. This is a string that is the node ip of the instance.
13431
13676
  :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
13432
13677
  :param int count: Max number of events to fetch.
13433
- :param EventLevel level: Filter by level of event. If level is not set, query will return all level values
13678
+ :param list[EventLevel] level: Filter by level of event. If level is not set, query will return all level values
13434
13679
  :param str message: Filter by message of event. If message is not set, query will not filter for message
13435
13680
  :param _return_http_data_only: response data without head status code
13436
13681
  and headers
@@ -13510,6 +13755,7 @@ class DefaultApi(object):
13510
13755
  query_params.append(('count', local_var_params['count'])) # noqa: E501
13511
13756
  if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
13512
13757
  query_params.append(('level', local_var_params['level'])) # noqa: E501
13758
+ collection_formats['level'] = 'multi' # noqa: E501
13513
13759
  if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
13514
13760
  query_params.append(('message', local_var_params['message'])) # noqa: E501
13515
13761
 
@@ -16231,7 +16477,7 @@ class DefaultApi(object):
16231
16477
  :param async_req bool: execute request asynchronously
16232
16478
  :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
16233
16479
  :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
16234
- :param HaJobEventLevel level: Filter by level of event
16480
+ :param list[EventLevel] level: Filter by level of event
16235
16481
  :param str message: Filter by message of event
16236
16482
  :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
16237
16483
  :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
@@ -16264,7 +16510,7 @@ class DefaultApi(object):
16264
16510
  :param async_req bool: execute request asynchronously
16265
16511
  :param str production_job_id: ID of the production job to fetch logs for. Note: This API doesn't support offset based pagination and the time filter should instead be used. (required)
16266
16512
  :param list[ProductionJobEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
16267
- :param HaJobEventLevel level: Filter by level of event
16513
+ :param list[EventLevel] level: Filter by level of event
16268
16514
  :param str message: Filter by message of event
16269
16515
  :param datetime start_time: The start time for the query. If start_time is not set, the query will use beginning of time. Non-inclusive.
16270
16516
  :param datetime end_time: The end time for the query. If end_time is not set, the query will use the time now. Non-inclusive.
@@ -16336,6 +16582,7 @@ class DefaultApi(object):
16336
16582
  collection_formats['origin'] = 'multi' # noqa: E501
16337
16583
  if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
16338
16584
  query_params.append(('level', local_var_params['level'])) # noqa: E501
16585
+ collection_formats['level'] = 'multi' # noqa: E501
16339
16586
  if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
16340
16587
  query_params.append(('message', local_var_params['message'])) # noqa: E501
16341
16588
  if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
@@ -20981,7 +21228,7 @@ class DefaultApi(object):
20981
21228
  def get_service_events_api_v2_services_v2_service_id_events_get(self, service_id, **kwargs): # noqa: E501
20982
21229
  """Get Service Events # noqa: E501
20983
21230
 
20984
- Get Service events # noqa: E501
21231
+ Get Service events (DEPRECATED: Use /api/v2/events/service/{service_id}/events instead) # noqa: E501
20985
21232
  This method makes a synchronous HTTP request by default. To make an
20986
21233
  asynchronous HTTP request, please pass async_req=True
20987
21234
  >>> thread = api.get_service_events_api_v2_services_v2_service_id_events_get(service_id, async_req=True)
@@ -20990,7 +21237,7 @@ class DefaultApi(object):
20990
21237
  :param async_req bool: execute request asynchronously
20991
21238
  :param str service_id: (required)
20992
21239
  :param list[ServiceEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
20993
- :param ServiceEventLevel level: Filter by level of event
21240
+ :param list[EventLevel] level: Filter by level of event
20994
21241
  :param str message: Filter by message of event
20995
21242
  :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
20996
21243
  :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
@@ -21015,7 +21262,7 @@ class DefaultApi(object):
21015
21262
  def get_service_events_api_v2_services_v2_service_id_events_get_with_http_info(self, service_id, **kwargs): # noqa: E501
21016
21263
  """Get Service Events # noqa: E501
21017
21264
 
21018
- Get Service events # noqa: E501
21265
+ Get Service events (DEPRECATED: Use /api/v2/events/service/{service_id}/events instead) # noqa: E501
21019
21266
  This method makes a synchronous HTTP request by default. To make an
21020
21267
  asynchronous HTTP request, please pass async_req=True
21021
21268
  >>> thread = api.get_service_events_api_v2_services_v2_service_id_events_get_with_http_info(service_id, async_req=True)
@@ -21024,7 +21271,7 @@ class DefaultApi(object):
21024
21271
  :param async_req bool: execute request asynchronously
21025
21272
  :param str service_id: (required)
21026
21273
  :param list[ServiceEventScopeFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
21027
- :param ServiceEventLevel level: Filter by level of event
21274
+ :param list[EventLevel] level: Filter by level of event
21028
21275
  :param str message: Filter by message of event
21029
21276
  :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
21030
21277
  :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
@@ -21098,6 +21345,7 @@ class DefaultApi(object):
21098
21345
  collection_formats['origin'] = 'multi' # noqa: E501
21099
21346
  if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
21100
21347
  query_params.append(('level', local_var_params['level'])) # noqa: E501
21348
+ collection_formats['level'] = 'multi' # noqa: E501
21101
21349
  if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
21102
21350
  query_params.append(('message', local_var_params['message'])) # noqa: E501
21103
21351
  if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
@@ -23310,6 +23558,196 @@ class DefaultApi(object):
23310
23558
  _request_timeout=local_var_params.get('_request_timeout'),
23311
23559
  collection_formats=collection_formats)
23312
23560
 
23561
+ def get_unified_events_api_v2_events_entity_type_entity_id_events_get(self, entity_type, entity_id, **kwargs): # noqa: E501
23562
+ """Get Unified Events # noqa: E501
23563
+
23564
+ Get events for any entity type (production jobs, workspaces, or services) # noqa: E501
23565
+ This method makes a synchronous HTTP request by default. To make an
23566
+ asynchronous HTTP request, please pass async_req=True
23567
+ >>> thread = api.get_unified_events_api_v2_events_entity_type_entity_id_events_get(entity_type, entity_id, async_req=True)
23568
+ >>> result = thread.get()
23569
+
23570
+ :param async_req bool: execute request asynchronously
23571
+ :param EntityType entity_type: The type of entity (required)
23572
+ :param str entity_id: The ID of the entity (required)
23573
+ :param list[UnifiedOriginFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter. Available origins by entity type: • Jobs: JOB, CLUSTER • Workspaces: WORKSPACE, CLUSTER • Services: SERVICE, SERVICE_VERSION, ALB, SERVE_DEPLOYMENT, CLUSTER • Clusters: AUTOSCALER, CLUSTER_LIFECYCLE, IDLE_TERMINATION, JOBS, WORKSPACE_SNAPSHOT, OS, CLUSTER
23574
+ :param list[EventLevel] level: Filter by level of event
23575
+ :param str message: Filter by message of event
23576
+ :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
23577
+ :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
23578
+ :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
23579
+ :param bool include_verbose_events: Show all verbose service events without truncation if set to True. Only applicable to service events.
23580
+ :param str instance_id: Filter for events from this instance. This is a string that is the instance id of the instance.
23581
+ :param list[str] autoscaler_resource_bundles: Filter for autoscaler events relevant to specific resource bundles.Each string should be a JSON-encoded resource bundle. We accept a string here because query params do not support dictionaries. Ex: ['{\"CPU\": 1, \"GPU\": 1}', '{\"GPU\": 1}']
23582
+ :param str instance_node_ip: Filter for events from this instance. This is a string that is the node ip of the instance.
23583
+ :param int count:
23584
+ :param str paging_token:
23585
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
23586
+ be returned without reading/decoding response
23587
+ data. Default is True.
23588
+ :param _request_timeout: timeout setting for this request. If one
23589
+ number provided, it will be total request
23590
+ timeout. It can also be a pair (tuple) of
23591
+ (connection, read) timeouts.
23592
+ :return: UnifiedeventListResponse
23593
+ If the method is called asynchronously,
23594
+ returns the request thread.
23595
+ """
23596
+ kwargs['_return_http_data_only'] = True
23597
+ return self.get_unified_events_api_v2_events_entity_type_entity_id_events_get_with_http_info(entity_type, entity_id, **kwargs) # noqa: E501
23598
+
23599
+ def get_unified_events_api_v2_events_entity_type_entity_id_events_get_with_http_info(self, entity_type, entity_id, **kwargs): # noqa: E501
23600
+ """Get Unified Events # noqa: E501
23601
+
23602
+ Get events for any entity type (production jobs, workspaces, or services) # noqa: E501
23603
+ This method makes a synchronous HTTP request by default. To make an
23604
+ asynchronous HTTP request, please pass async_req=True
23605
+ >>> thread = api.get_unified_events_api_v2_events_entity_type_entity_id_events_get_with_http_info(entity_type, entity_id, async_req=True)
23606
+ >>> result = thread.get()
23607
+
23608
+ :param async_req bool: execute request asynchronously
23609
+ :param EntityType entity_type: The type of entity (required)
23610
+ :param str entity_id: The ID of the entity (required)
23611
+ :param list[UnifiedOriginFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter. Available origins by entity type: • Jobs: JOB, CLUSTER • Workspaces: WORKSPACE, CLUSTER • Services: SERVICE, SERVICE_VERSION, ALB, SERVE_DEPLOYMENT, CLUSTER • Clusters: AUTOSCALER, CLUSTER_LIFECYCLE, IDLE_TERMINATION, JOBS, WORKSPACE_SNAPSHOT, OS, CLUSTER
23612
+ :param list[EventLevel] level: Filter by level of event
23613
+ :param str message: Filter by message of event
23614
+ :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
23615
+ :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
23616
+ :param bool ascending_order: Fetch events in ascending order of time. Default is descending order.
23617
+ :param bool include_verbose_events: Show all verbose service events without truncation if set to True. Only applicable to service events.
23618
+ :param str instance_id: Filter for events from this instance. This is a string that is the instance id of the instance.
23619
+ :param list[str] autoscaler_resource_bundles: Filter for autoscaler events relevant to specific resource bundles.Each string should be a JSON-encoded resource bundle. We accept a string here because query params do not support dictionaries. Ex: ['{\"CPU\": 1, \"GPU\": 1}', '{\"GPU\": 1}']
23620
+ :param str instance_node_ip: Filter for events from this instance. This is a string that is the node ip of the instance.
23621
+ :param int count:
23622
+ :param str paging_token:
23623
+ :param _return_http_data_only: response data without head status code
23624
+ and headers
23625
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
23626
+ be returned without reading/decoding response
23627
+ data. Default is True.
23628
+ :param _request_timeout: timeout setting for this request. If one
23629
+ number provided, it will be total request
23630
+ timeout. It can also be a pair (tuple) of
23631
+ (connection, read) timeouts.
23632
+ :return: tuple(UnifiedeventListResponse, status_code(int), headers(HTTPHeaderDict))
23633
+ If the method is called asynchronously,
23634
+ returns the request thread.
23635
+ """
23636
+
23637
+ local_var_params = locals()
23638
+
23639
+ all_params = [
23640
+ 'entity_type',
23641
+ 'entity_id',
23642
+ 'origin',
23643
+ 'level',
23644
+ 'message',
23645
+ 'start_time',
23646
+ 'end_time',
23647
+ 'ascending_order',
23648
+ 'include_verbose_events',
23649
+ 'instance_id',
23650
+ 'autoscaler_resource_bundles',
23651
+ 'instance_node_ip',
23652
+ 'count',
23653
+ 'paging_token'
23654
+ ]
23655
+ all_params.extend(
23656
+ [
23657
+ 'async_req',
23658
+ '_return_http_data_only',
23659
+ '_preload_content',
23660
+ '_request_timeout'
23661
+ ]
23662
+ )
23663
+
23664
+ for key, val in six.iteritems(local_var_params['kwargs']):
23665
+ if key not in all_params:
23666
+ raise ApiTypeError(
23667
+ "Got an unexpected keyword argument '%s'"
23668
+ " to method get_unified_events_api_v2_events_entity_type_entity_id_events_get" % key
23669
+ )
23670
+ local_var_params[key] = val
23671
+ del local_var_params['kwargs']
23672
+ # verify the required parameter 'entity_type' is set
23673
+ if self.api_client.client_side_validation and ('entity_type' not in local_var_params or # noqa: E501
23674
+ local_var_params['entity_type'] is None): # noqa: E501
23675
+ raise ApiValueError("Missing the required parameter `entity_type` when calling `get_unified_events_api_v2_events_entity_type_entity_id_events_get`") # noqa: E501
23676
+ # verify the required parameter 'entity_id' is set
23677
+ if self.api_client.client_side_validation and ('entity_id' not in local_var_params or # noqa: E501
23678
+ local_var_params['entity_id'] is None): # noqa: E501
23679
+ raise ApiValueError("Missing the required parameter `entity_id` when calling `get_unified_events_api_v2_events_entity_type_entity_id_events_get`") # noqa: E501
23680
+
23681
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
23682
+ raise ApiValueError("Invalid value for parameter `count` when calling `get_unified_events_api_v2_events_entity_type_entity_id_events_get`, must be a value less than or equal to `1000`") # noqa: E501
23683
+ if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
23684
+ raise ApiValueError("Invalid value for parameter `count` when calling `get_unified_events_api_v2_events_entity_type_entity_id_events_get`, must be a value greater than or equal to `0`") # noqa: E501
23685
+ collection_formats = {}
23686
+
23687
+ path_params = {}
23688
+ if 'entity_type' in local_var_params:
23689
+ path_params['entity_type'] = local_var_params['entity_type'] # noqa: E501
23690
+ if 'entity_id' in local_var_params:
23691
+ path_params['entity_id'] = local_var_params['entity_id'] # noqa: E501
23692
+
23693
+ query_params = []
23694
+ if 'origin' in local_var_params and local_var_params['origin'] is not None: # noqa: E501
23695
+ query_params.append(('origin', local_var_params['origin'])) # noqa: E501
23696
+ collection_formats['origin'] = 'multi' # noqa: E501
23697
+ if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
23698
+ query_params.append(('level', local_var_params['level'])) # noqa: E501
23699
+ collection_formats['level'] = 'multi' # noqa: E501
23700
+ if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
23701
+ query_params.append(('message', local_var_params['message'])) # noqa: E501
23702
+ if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
23703
+ query_params.append(('start_time', local_var_params['start_time'])) # noqa: E501
23704
+ if 'end_time' in local_var_params and local_var_params['end_time'] is not None: # noqa: E501
23705
+ query_params.append(('end_time', local_var_params['end_time'])) # noqa: E501
23706
+ if 'ascending_order' in local_var_params and local_var_params['ascending_order'] is not None: # noqa: E501
23707
+ query_params.append(('ascending_order', local_var_params['ascending_order'])) # noqa: E501
23708
+ if 'include_verbose_events' in local_var_params and local_var_params['include_verbose_events'] is not None: # noqa: E501
23709
+ query_params.append(('include_verbose_events', local_var_params['include_verbose_events'])) # noqa: E501
23710
+ if 'instance_id' in local_var_params and local_var_params['instance_id'] is not None: # noqa: E501
23711
+ query_params.append(('instance_id', local_var_params['instance_id'])) # noqa: E501
23712
+ if 'autoscaler_resource_bundles' in local_var_params and local_var_params['autoscaler_resource_bundles'] is not None: # noqa: E501
23713
+ query_params.append(('autoscaler_resource_bundles', local_var_params['autoscaler_resource_bundles'])) # noqa: E501
23714
+ collection_formats['autoscaler_resource_bundles'] = 'multi' # noqa: E501
23715
+ if 'instance_node_ip' in local_var_params and local_var_params['instance_node_ip'] is not None: # noqa: E501
23716
+ query_params.append(('instance_node_ip', local_var_params['instance_node_ip'])) # noqa: E501
23717
+ if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
23718
+ query_params.append(('count', local_var_params['count'])) # noqa: E501
23719
+ if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
23720
+ query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
23721
+
23722
+ header_params = {}
23723
+
23724
+ form_params = []
23725
+ local_var_files = {}
23726
+
23727
+ body_params = None
23728
+ # HTTP header `Accept`
23729
+ header_params['Accept'] = self.api_client.select_header_accept(
23730
+ ['application/json']) # noqa: E501
23731
+
23732
+ # Authentication setting
23733
+ auth_settings = [] # noqa: E501
23734
+
23735
+ return self.api_client.call_api(
23736
+ '/api/v2/events/{entity_type}/{entity_id}/events', 'GET',
23737
+ path_params,
23738
+ query_params,
23739
+ header_params,
23740
+ body=body_params,
23741
+ post_params=form_params,
23742
+ files=local_var_files,
23743
+ response_type='UnifiedeventListResponse', # noqa: E501
23744
+ auth_settings=auth_settings,
23745
+ async_req=local_var_params.get('async_req'),
23746
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
23747
+ _preload_content=local_var_params.get('_preload_content', True),
23748
+ _request_timeout=local_var_params.get('_request_timeout'),
23749
+ collection_formats=collection_formats)
23750
+
23313
23751
  def get_user_info_api_v2_userinfo_get(self, **kwargs): # noqa: E501
23314
23752
  """Get User Info # noqa: E501
23315
23753
 
@@ -23885,7 +24323,7 @@ class DefaultApi(object):
23885
24323
  def get_workspace_events_api_v2_experimental_workspaces_workspace_id_events_get(self, workspace_id, **kwargs): # noqa: E501
23886
24324
  """Get Workspace Events # noqa: E501
23887
24325
 
23888
- Retrieves events for a Workspace. # noqa: E501
24326
+ Retrieves events for a Workspace. (DEPRECATED: Use /api/v2/events/workspace/{workspace_id}/events instead) # noqa: E501
23889
24327
  This method makes a synchronous HTTP request by default. To make an
23890
24328
  asynchronous HTTP request, please pass async_req=True
23891
24329
  >>> thread = api.get_workspace_events_api_v2_experimental_workspaces_workspace_id_events_get(workspace_id, async_req=True)
@@ -23894,7 +24332,7 @@ class DefaultApi(object):
23894
24332
  :param async_req bool: execute request asynchronously
23895
24333
  :param str workspace_id: ID of the Workspace to retreive. (required)
23896
24334
  :param list[WorkspaceEventSourceFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
23897
- :param EventLevel level: Filter by level of event. If level is not set, query will return all level values
24335
+ :param list[EventLevel] level: Filter by level of event
23898
24336
  :param str message: Filter by message of event. If message is not set, query will not filter for message
23899
24337
  :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
23900
24338
  :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
@@ -23918,7 +24356,7 @@ class DefaultApi(object):
23918
24356
  def get_workspace_events_api_v2_experimental_workspaces_workspace_id_events_get_with_http_info(self, workspace_id, **kwargs): # noqa: E501
23919
24357
  """Get Workspace Events # noqa: E501
23920
24358
 
23921
- Retrieves events for a Workspace. # noqa: E501
24359
+ Retrieves events for a Workspace. (DEPRECATED: Use /api/v2/events/workspace/{workspace_id}/events instead) # noqa: E501
23922
24360
  This method makes a synchronous HTTP request by default. To make an
23923
24361
  asynchronous HTTP request, please pass async_req=True
23924
24362
  >>> thread = api.get_workspace_events_api_v2_experimental_workspaces_workspace_id_events_get_with_http_info(workspace_id, async_req=True)
@@ -23927,7 +24365,7 @@ class DefaultApi(object):
23927
24365
  :param async_req bool: execute request asynchronously
23928
24366
  :param str workspace_id: ID of the Workspace to retreive. (required)
23929
24367
  :param list[WorkspaceEventSourceFilter] origin: Filter if origin of event is included in this list. If \"\" in this list, no origin will be included in filter, so no results will be returned. Default behavior is to include all origin values in filter.
23930
- :param EventLevel level: Filter by level of event. If level is not set, query will return all level values
24368
+ :param list[EventLevel] level: Filter by level of event
23931
24369
  :param str message: Filter by message of event. If message is not set, query will not filter for message
23932
24370
  :param datetime start_time: The start time for the query. Non-inclusive. If start_time is not set, the query will use beginning of time.
23933
24371
  :param datetime end_time: The end time for the query. Non-inclusive. If end_time is not set, the query will use the time now.
@@ -23999,6 +24437,7 @@ class DefaultApi(object):
23999
24437
  collection_formats['origin'] = 'multi' # noqa: E501
24000
24438
  if 'level' in local_var_params and local_var_params['level'] is not None: # noqa: E501
24001
24439
  query_params.append(('level', local_var_params['level'])) # noqa: E501
24440
+ collection_formats['level'] = 'multi' # noqa: E501
24002
24441
  if 'message' in local_var_params and local_var_params['message'] is not None: # noqa: E501
24003
24442
  query_params.append(('message', local_var_params['message'])) # noqa: E501
24004
24443
  if 'start_time' in local_var_params and local_var_params['start_time'] is not None: # noqa: E501
@@ -28417,7 +28856,7 @@ class DefaultApi(object):
28417
28856
 
28418
28857
  :param async_req bool: execute request asynchronously
28419
28858
  :param LineageWorkloadType workload_type: Lineage workload type. (required)
28420
- :param str workload_id: Filter by Anyscale workload ID. This takes precedence over project_id and cloud_id filters.
28859
+ :param str anyscale_workload_id: Filter by Anyscale workload ID. This takes precedence over project_id and cloud_id filters.
28421
28860
  :param str project_id: Filter by project ID. This takes precedence over cloud_id filter.
28422
28861
  :param str cloud_id: Filter by cloud ID.
28423
28862
  :param LineageWorkloadSortField sort_field: Sort field. Defaults to created_at.
@@ -28449,7 +28888,7 @@ class DefaultApi(object):
28449
28888
 
28450
28889
  :param async_req bool: execute request asynchronously
28451
28890
  :param LineageWorkloadType workload_type: Lineage workload type. (required)
28452
- :param str workload_id: Filter by Anyscale workload ID. This takes precedence over project_id and cloud_id filters.
28891
+ :param str anyscale_workload_id: Filter by Anyscale workload ID. This takes precedence over project_id and cloud_id filters.
28453
28892
  :param str project_id: Filter by project ID. This takes precedence over cloud_id filter.
28454
28893
  :param str cloud_id: Filter by cloud ID.
28455
28894
  :param LineageWorkloadSortField sort_field: Sort field. Defaults to created_at.
@@ -28474,7 +28913,7 @@ class DefaultApi(object):
28474
28913
 
28475
28914
  all_params = [
28476
28915
  'workload_type',
28477
- 'workload_id',
28916
+ 'anyscale_workload_id',
28478
28917
  'project_id',
28479
28918
  'cloud_id',
28480
28919
  'sort_field',
@@ -28515,8 +28954,8 @@ class DefaultApi(object):
28515
28954
  query_params = []
28516
28955
  if 'workload_type' in local_var_params and local_var_params['workload_type'] is not None: # noqa: E501
28517
28956
  query_params.append(('workload_type', local_var_params['workload_type'])) # noqa: E501
28518
- if 'workload_id' in local_var_params and local_var_params['workload_id'] is not None: # noqa: E501
28519
- query_params.append(('workload_id', local_var_params['workload_id'])) # noqa: E501
28957
+ if 'anyscale_workload_id' in local_var_params and local_var_params['anyscale_workload_id'] is not None: # noqa: E501
28958
+ query_params.append(('anyscale_workload_id', local_var_params['anyscale_workload_id'])) # noqa: E501
28520
28959
  if 'project_id' in local_var_params and local_var_params['project_id'] is not None: # noqa: E501
28521
28960
  query_params.append(('project_id', local_var_params['project_id'])) # noqa: E501
28522
28961
  if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
@@ -31074,7 +31513,7 @@ class DefaultApi(object):
31074
31513
  number provided, it will be total request
31075
31514
  timeout. It can also be a pair (tuple) of
31076
31515
  (connection, read) timeouts.
31077
- :return: OauthconnectionresponseResponse
31516
+ :return: None
31078
31517
  If the method is called asynchronously,
31079
31518
  returns the request thread.
31080
31519
  """
@@ -31102,7 +31541,7 @@ class DefaultApi(object):
31102
31541
  number provided, it will be total request
31103
31542
  timeout. It can also be a pair (tuple) of
31104
31543
  (connection, read) timeouts.
31105
- :return: tuple(OauthconnectionresponseResponse, status_code(int), headers(HTTPHeaderDict))
31544
+ :return: None
31106
31545
  If the method is called asynchronously,
31107
31546
  returns the request thread.
31108
31547
  """
@@ -31170,7 +31609,7 @@ class DefaultApi(object):
31170
31609
  body=body_params,
31171
31610
  post_params=form_params,
31172
31611
  files=local_var_files,
31173
- response_type='OauthconnectionresponseResponse', # noqa: E501
31612
+ response_type=None, # noqa: E501
31174
31613
  auth_settings=auth_settings,
31175
31614
  async_req=local_var_params.get('async_req'),
31176
31615
  _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501