testit-python-commons 4.2.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 (71) hide show
  1. api_client_syncstorage/__init__.py +27 -0
  2. api_client_syncstorage/api/__init__.py +3 -0
  3. api_client_syncstorage/api/completion_api.py +302 -0
  4. api_client_syncstorage/api/health_api.py +158 -0
  5. api_client_syncstorage/api/system_api.py +158 -0
  6. api_client_syncstorage/api/test_results_api.py +182 -0
  7. api_client_syncstorage/api/workers_api.py +308 -0
  8. api_client_syncstorage/api_client.py +898 -0
  9. api_client_syncstorage/apis/__init__.py +21 -0
  10. api_client_syncstorage/configuration.py +450 -0
  11. api_client_syncstorage/exceptions.py +158 -0
  12. api_client_syncstorage/model/__init__.py +5 -0
  13. api_client_syncstorage/model/completion_response.py +267 -0
  14. api_client_syncstorage/model/health_status_response.py +267 -0
  15. api_client_syncstorage/model/register_request.py +275 -0
  16. api_client_syncstorage/model/register_response.py +279 -0
  17. api_client_syncstorage/model/set_worker_status_request.py +271 -0
  18. api_client_syncstorage/model/set_worker_status_response.py +267 -0
  19. api_client_syncstorage/model/shutdown_response.py +267 -0
  20. api_client_syncstorage/model/test_result_cut_api_model.py +279 -0
  21. api_client_syncstorage/model/test_result_save_response.py +267 -0
  22. api_client_syncstorage/model_utils.py +2058 -0
  23. api_client_syncstorage/models/__init__.py +20 -0
  24. api_client_syncstorage/rest.py +356 -0
  25. testit.py +69 -0
  26. testit_python_commons/__init__.py +0 -0
  27. testit_python_commons/app_properties.py +257 -0
  28. testit_python_commons/client/__init__.py +9 -0
  29. testit_python_commons/client/api_client.py +560 -0
  30. testit_python_commons/client/client_configuration.py +74 -0
  31. testit_python_commons/client/converter.py +618 -0
  32. testit_python_commons/client/helpers/__init__.py +0 -0
  33. testit_python_commons/client/helpers/bulk_autotest_helper.py +246 -0
  34. testit_python_commons/client/helpers/threads_manager.py +86 -0
  35. testit_python_commons/client/models/__init__.py +8 -0
  36. testit_python_commons/client/models/threads_for_create_and_result.py +35 -0
  37. testit_python_commons/client/models/threads_for_update_and_result.py +45 -0
  38. testit_python_commons/configurations/__init__.py +0 -0
  39. testit_python_commons/configurations/properties_names.py +51 -0
  40. testit_python_commons/decorators.py +221 -0
  41. testit_python_commons/dynamic_methods.py +237 -0
  42. testit_python_commons/models/__init__.py +5 -0
  43. testit_python_commons/models/adapter_mode.py +4 -0
  44. testit_python_commons/models/fixture.py +24 -0
  45. testit_python_commons/models/link.py +53 -0
  46. testit_python_commons/models/link_type.py +10 -0
  47. testit_python_commons/models/outcome_type.py +5 -0
  48. testit_python_commons/models/status_type.py +6 -0
  49. testit_python_commons/models/step_result.py +90 -0
  50. testit_python_commons/models/test_result.py +297 -0
  51. testit_python_commons/models/test_result_with_all_fixture_step_results_model.py +28 -0
  52. testit_python_commons/services/__init__.py +41 -0
  53. testit_python_commons/services/adapter_manager.py +318 -0
  54. testit_python_commons/services/adapter_manager_configuration.py +42 -0
  55. testit_python_commons/services/fixture_manager.py +60 -0
  56. testit_python_commons/services/fixture_storage.py +40 -0
  57. testit_python_commons/services/logger.py +32 -0
  58. testit_python_commons/services/plugin_manager.py +101 -0
  59. testit_python_commons/services/retry.py +92 -0
  60. testit_python_commons/services/step_manager.py +36 -0
  61. testit_python_commons/services/step_result_storage.py +26 -0
  62. testit_python_commons/services/sync_storage/__init__.py +9 -0
  63. testit_python_commons/services/sync_storage/sync_storage_runner.py +589 -0
  64. testit_python_commons/services/utils.py +132 -0
  65. testit_python_commons/step.py +101 -0
  66. testit_python_commons/utils/__init__.py +3 -0
  67. testit_python_commons/utils/html_escape_utils.py +219 -0
  68. testit_python_commons-4.2.8.dist-info/METADATA +52 -0
  69. testit_python_commons-4.2.8.dist-info/RECORD +71 -0
  70. testit_python_commons-4.2.8.dist-info/WHEEL +5 -0
  71. testit_python_commons-4.2.8.dist-info/top_level.txt +3 -0
@@ -0,0 +1,27 @@
1
+ # flake8: noqa
2
+
3
+ """
4
+ Sync Storage Service API
5
+
6
+ This is a sync storage service for coordinating test workers. # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ __version__ = "1.0.0"
14
+
15
+ # import ApiClient
16
+ from api_client_syncstorage.api_client import ApiClient
17
+
18
+ # import Configuration
19
+ from api_client_syncstorage.configuration import Configuration
20
+
21
+ # import exceptions
22
+ from api_client_syncstorage.exceptions import OpenApiException
23
+ from api_client_syncstorage.exceptions import ApiAttributeError
24
+ from api_client_syncstorage.exceptions import ApiTypeError
25
+ from api_client_syncstorage.exceptions import ApiValueError
26
+ from api_client_syncstorage.exceptions import ApiKeyError
27
+ from api_client_syncstorage.exceptions import ApiException
@@ -0,0 +1,3 @@
1
+ # do not import all apis into this module because that uses a lot of memory and stack frames
2
+ # if you need the ability to import all apis from one package, import them with
3
+ # from api_client_syncstorage.apis import CompletionApi
@@ -0,0 +1,302 @@
1
+ """
2
+ Sync Storage Service API
3
+
4
+ This is a sync storage service for coordinating test workers. # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from api_client_syncstorage.api_client import ApiClient, Endpoint as _Endpoint
15
+ from api_client_syncstorage.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from api_client_syncstorage.model.completion_response import CompletionResponse
25
+
26
+
27
+ class CompletionApi(object):
28
+ """NOTE: This class is auto generated by OpenAPI Generator
29
+ Ref: https://openapi-generator.tech
30
+
31
+ Do not edit the class manually.
32
+ """
33
+
34
+ def __init__(self, api_client=None):
35
+ if api_client is None:
36
+ api_client = ApiClient()
37
+ self.api_client = api_client
38
+ self.force_completion_get_endpoint = _Endpoint(
39
+ settings={
40
+ 'response_type': (CompletionResponse,),
41
+ 'auth': [],
42
+ 'endpoint_path': '/force-completion',
43
+ 'operation_id': 'force_completion_get',
44
+ 'http_method': 'GET',
45
+ 'servers': None,
46
+ },
47
+ params_map={
48
+ 'all': [
49
+ 'test_run_id',
50
+ ],
51
+ 'required': [
52
+ 'test_run_id',
53
+ ],
54
+ 'nullable': [
55
+ ],
56
+ 'enum': [
57
+ ],
58
+ 'validation': [
59
+ ]
60
+ },
61
+ root_map={
62
+ 'validations': {
63
+ },
64
+ 'allowed_values': {
65
+ },
66
+ 'openapi_types': {
67
+ 'test_run_id':
68
+ (str,),
69
+ },
70
+ 'attribute_map': {
71
+ 'test_run_id': 'testRunId',
72
+ },
73
+ 'location_map': {
74
+ 'test_run_id': 'query',
75
+ },
76
+ 'collection_format_map': {
77
+ }
78
+ },
79
+ headers_map={
80
+ 'accept': [
81
+ 'application/json'
82
+ ],
83
+ 'content_type': [],
84
+ },
85
+ api_client=api_client
86
+ )
87
+ self.wait_completion_get_endpoint = _Endpoint(
88
+ settings={
89
+ 'response_type': (CompletionResponse,),
90
+ 'auth': [],
91
+ 'endpoint_path': '/wait-completion',
92
+ 'operation_id': 'wait_completion_get',
93
+ 'http_method': 'GET',
94
+ 'servers': None,
95
+ },
96
+ params_map={
97
+ 'all': [
98
+ 'test_run_id',
99
+ ],
100
+ 'required': [
101
+ 'test_run_id',
102
+ ],
103
+ 'nullable': [
104
+ ],
105
+ 'enum': [
106
+ ],
107
+ 'validation': [
108
+ ]
109
+ },
110
+ root_map={
111
+ 'validations': {
112
+ },
113
+ 'allowed_values': {
114
+ },
115
+ 'openapi_types': {
116
+ 'test_run_id':
117
+ (str,),
118
+ },
119
+ 'attribute_map': {
120
+ 'test_run_id': 'testRunId',
121
+ },
122
+ 'location_map': {
123
+ 'test_run_id': 'query',
124
+ },
125
+ 'collection_format_map': {
126
+ }
127
+ },
128
+ headers_map={
129
+ 'accept': [
130
+ 'application/json'
131
+ ],
132
+ 'content_type': [],
133
+ },
134
+ api_client=api_client
135
+ )
136
+
137
+ def force_completion_get(
138
+ self,
139
+ test_run_id,
140
+ **kwargs
141
+ ):
142
+ """Force completion of a test run # noqa: E501
143
+
144
+ Force processing completion for a specific test run. # noqa: E501
145
+ This method makes a synchronous HTTP request by default. To make an
146
+ asynchronous HTTP request, please pass async_req=True
147
+
148
+ >>> thread = api.force_completion_get(test_run_id, async_req=True)
149
+ >>> result = thread.get()
150
+
151
+ Args:
152
+ test_run_id (str): Test Run ID
153
+
154
+ Keyword Args:
155
+ _return_http_data_only (bool): response data without head status
156
+ code and headers. Default is True.
157
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
158
+ will be returned without reading/decoding response data.
159
+ Default is True.
160
+ _request_timeout (int/float/tuple): timeout setting for this request. If
161
+ one number provided, it will be total request timeout. It can also
162
+ be a pair (tuple) of (connection, read) timeouts.
163
+ Default is None.
164
+ _check_input_type (bool): specifies if type checking
165
+ should be done one the data sent to the server.
166
+ Default is True.
167
+ _check_return_type (bool): specifies if type checking
168
+ should be done one the data received from the server.
169
+ Default is True.
170
+ _spec_property_naming (bool): True if the variable names in the input data
171
+ are serialized names, as specified in the OpenAPI document.
172
+ False if the variable names in the input data
173
+ are pythonic names, e.g. snake case (default)
174
+ _content_type (str/None): force body content-type.
175
+ Default is None and content-type will be predicted by allowed
176
+ content-types and body.
177
+ _host_index (int/None): specifies the index of the server
178
+ that we want to use.
179
+ Default is read from the configuration.
180
+ _request_auths (list): set to override the auth_settings for an a single
181
+ request; this effectively ignores the authentication
182
+ in the spec for a single request.
183
+ Default is None
184
+ async_req (bool): execute request asynchronously
185
+
186
+ Returns:
187
+ CompletionResponse
188
+ If the method is called asynchronously, returns the request
189
+ thread.
190
+ """
191
+ kwargs['async_req'] = kwargs.get(
192
+ 'async_req', False
193
+ )
194
+ kwargs['_return_http_data_only'] = kwargs.get(
195
+ '_return_http_data_only', True
196
+ )
197
+ kwargs['_preload_content'] = kwargs.get(
198
+ '_preload_content', True
199
+ )
200
+ kwargs['_request_timeout'] = kwargs.get(
201
+ '_request_timeout', None
202
+ )
203
+ kwargs['_check_input_type'] = kwargs.get(
204
+ '_check_input_type', True
205
+ )
206
+ kwargs['_check_return_type'] = kwargs.get(
207
+ '_check_return_type', True
208
+ )
209
+ kwargs['_spec_property_naming'] = kwargs.get(
210
+ '_spec_property_naming', False
211
+ )
212
+ kwargs['_content_type'] = kwargs.get(
213
+ '_content_type')
214
+ kwargs['_host_index'] = kwargs.get('_host_index')
215
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
216
+ kwargs['test_run_id'] = \
217
+ test_run_id
218
+ return self.force_completion_get_endpoint.call_with_http_info(**kwargs)
219
+
220
+ def wait_completion_get(
221
+ self,
222
+ test_run_id,
223
+ **kwargs
224
+ ):
225
+ """Wait for completion # noqa: E501
226
+
227
+ Wait until processing is completed for a test run. # noqa: E501
228
+ This method makes a synchronous HTTP request by default. To make an
229
+ asynchronous HTTP request, please pass async_req=True
230
+
231
+ >>> thread = api.wait_completion_get(test_run_id, async_req=True)
232
+ >>> result = thread.get()
233
+
234
+ Args:
235
+ test_run_id (str): Test Run ID
236
+
237
+ Keyword Args:
238
+ _return_http_data_only (bool): response data without head status
239
+ code and headers. Default is True.
240
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
241
+ will be returned without reading/decoding response data.
242
+ Default is True.
243
+ _request_timeout (int/float/tuple): timeout setting for this request. If
244
+ one number provided, it will be total request timeout. It can also
245
+ be a pair (tuple) of (connection, read) timeouts.
246
+ Default is None.
247
+ _check_input_type (bool): specifies if type checking
248
+ should be done one the data sent to the server.
249
+ Default is True.
250
+ _check_return_type (bool): specifies if type checking
251
+ should be done one the data received from the server.
252
+ Default is True.
253
+ _spec_property_naming (bool): True if the variable names in the input data
254
+ are serialized names, as specified in the OpenAPI document.
255
+ False if the variable names in the input data
256
+ are pythonic names, e.g. snake case (default)
257
+ _content_type (str/None): force body content-type.
258
+ Default is None and content-type will be predicted by allowed
259
+ content-types and body.
260
+ _host_index (int/None): specifies the index of the server
261
+ that we want to use.
262
+ Default is read from the configuration.
263
+ _request_auths (list): set to override the auth_settings for an a single
264
+ request; this effectively ignores the authentication
265
+ in the spec for a single request.
266
+ Default is None
267
+ async_req (bool): execute request asynchronously
268
+
269
+ Returns:
270
+ CompletionResponse
271
+ If the method is called asynchronously, returns the request
272
+ thread.
273
+ """
274
+ kwargs['async_req'] = kwargs.get(
275
+ 'async_req', False
276
+ )
277
+ kwargs['_return_http_data_only'] = kwargs.get(
278
+ '_return_http_data_only', True
279
+ )
280
+ kwargs['_preload_content'] = kwargs.get(
281
+ '_preload_content', True
282
+ )
283
+ kwargs['_request_timeout'] = kwargs.get(
284
+ '_request_timeout', None
285
+ )
286
+ kwargs['_check_input_type'] = kwargs.get(
287
+ '_check_input_type', True
288
+ )
289
+ kwargs['_check_return_type'] = kwargs.get(
290
+ '_check_return_type', True
291
+ )
292
+ kwargs['_spec_property_naming'] = kwargs.get(
293
+ '_spec_property_naming', False
294
+ )
295
+ kwargs['_content_type'] = kwargs.get(
296
+ '_content_type')
297
+ kwargs['_host_index'] = kwargs.get('_host_index')
298
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
299
+ kwargs['test_run_id'] = \
300
+ test_run_id
301
+ return self.wait_completion_get_endpoint.call_with_http_info(**kwargs)
302
+
@@ -0,0 +1,158 @@
1
+ """
2
+ Sync Storage Service API
3
+
4
+ This is a sync storage service for coordinating test workers. # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from api_client_syncstorage.api_client import ApiClient, Endpoint as _Endpoint
15
+ from api_client_syncstorage.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from api_client_syncstorage.model.health_status_response import HealthStatusResponse
25
+
26
+
27
+ class HealthApi(object):
28
+ """NOTE: This class is auto generated by OpenAPI Generator
29
+ Ref: https://openapi-generator.tech
30
+
31
+ Do not edit the class manually.
32
+ """
33
+
34
+ def __init__(self, api_client=None):
35
+ if api_client is None:
36
+ api_client = ApiClient()
37
+ self.api_client = api_client
38
+ self.health_get_endpoint = _Endpoint(
39
+ settings={
40
+ 'response_type': (HealthStatusResponse,),
41
+ 'auth': [],
42
+ 'endpoint_path': '/health',
43
+ 'operation_id': 'health_get',
44
+ 'http_method': 'GET',
45
+ 'servers': None,
46
+ },
47
+ params_map={
48
+ 'all': [
49
+ ],
50
+ 'required': [],
51
+ 'nullable': [
52
+ ],
53
+ 'enum': [
54
+ ],
55
+ 'validation': [
56
+ ]
57
+ },
58
+ root_map={
59
+ 'validations': {
60
+ },
61
+ 'allowed_values': {
62
+ },
63
+ 'openapi_types': {
64
+ },
65
+ 'attribute_map': {
66
+ },
67
+ 'location_map': {
68
+ },
69
+ 'collection_format_map': {
70
+ }
71
+ },
72
+ headers_map={
73
+ 'accept': [
74
+ 'application/json'
75
+ ],
76
+ 'content_type': [],
77
+ },
78
+ api_client=api_client
79
+ )
80
+
81
+ def health_get(
82
+ self,
83
+ **kwargs
84
+ ):
85
+ """Health check # noqa: E501
86
+
87
+ Get the current health status of the service. # noqa: E501
88
+ This method makes a synchronous HTTP request by default. To make an
89
+ asynchronous HTTP request, please pass async_req=True
90
+
91
+ >>> thread = api.health_get(async_req=True)
92
+ >>> result = thread.get()
93
+
94
+
95
+ Keyword Args:
96
+ _return_http_data_only (bool): response data without head status
97
+ code and headers. Default is True.
98
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
99
+ will be returned without reading/decoding response data.
100
+ Default is True.
101
+ _request_timeout (int/float/tuple): timeout setting for this request. If
102
+ one number provided, it will be total request timeout. It can also
103
+ be a pair (tuple) of (connection, read) timeouts.
104
+ Default is None.
105
+ _check_input_type (bool): specifies if type checking
106
+ should be done one the data sent to the server.
107
+ Default is True.
108
+ _check_return_type (bool): specifies if type checking
109
+ should be done one the data received from the server.
110
+ Default is True.
111
+ _spec_property_naming (bool): True if the variable names in the input data
112
+ are serialized names, as specified in the OpenAPI document.
113
+ False if the variable names in the input data
114
+ are pythonic names, e.g. snake case (default)
115
+ _content_type (str/None): force body content-type.
116
+ Default is None and content-type will be predicted by allowed
117
+ content-types and body.
118
+ _host_index (int/None): specifies the index of the server
119
+ that we want to use.
120
+ Default is read from the configuration.
121
+ _request_auths (list): set to override the auth_settings for an a single
122
+ request; this effectively ignores the authentication
123
+ in the spec for a single request.
124
+ Default is None
125
+ async_req (bool): execute request asynchronously
126
+
127
+ Returns:
128
+ HealthStatusResponse
129
+ If the method is called asynchronously, returns the request
130
+ thread.
131
+ """
132
+ kwargs['async_req'] = kwargs.get(
133
+ 'async_req', False
134
+ )
135
+ kwargs['_return_http_data_only'] = kwargs.get(
136
+ '_return_http_data_only', True
137
+ )
138
+ kwargs['_preload_content'] = kwargs.get(
139
+ '_preload_content', True
140
+ )
141
+ kwargs['_request_timeout'] = kwargs.get(
142
+ '_request_timeout', None
143
+ )
144
+ kwargs['_check_input_type'] = kwargs.get(
145
+ '_check_input_type', True
146
+ )
147
+ kwargs['_check_return_type'] = kwargs.get(
148
+ '_check_return_type', True
149
+ )
150
+ kwargs['_spec_property_naming'] = kwargs.get(
151
+ '_spec_property_naming', False
152
+ )
153
+ kwargs['_content_type'] = kwargs.get(
154
+ '_content_type')
155
+ kwargs['_host_index'] = kwargs.get('_host_index')
156
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
157
+ return self.health_get_endpoint.call_with_http_info(**kwargs)
158
+
@@ -0,0 +1,158 @@
1
+ """
2
+ Sync Storage Service API
3
+
4
+ This is a sync storage service for coordinating test workers. # noqa: E501
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from api_client_syncstorage.api_client import ApiClient, Endpoint as _Endpoint
15
+ from api_client_syncstorage.model_utils import ( # noqa: F401
16
+ check_allowed_values,
17
+ check_validations,
18
+ date,
19
+ datetime,
20
+ file_type,
21
+ none_type,
22
+ validate_and_convert_types
23
+ )
24
+ from api_client_syncstorage.model.shutdown_response import ShutdownResponse
25
+
26
+
27
+ class SystemApi(object):
28
+ """NOTE: This class is auto generated by OpenAPI Generator
29
+ Ref: https://openapi-generator.tech
30
+
31
+ Do not edit the class manually.
32
+ """
33
+
34
+ def __init__(self, api_client=None):
35
+ if api_client is None:
36
+ api_client = ApiClient()
37
+ self.api_client = api_client
38
+ self.shutdown_post_endpoint = _Endpoint(
39
+ settings={
40
+ 'response_type': (ShutdownResponse,),
41
+ 'auth': [],
42
+ 'endpoint_path': '/shutdown',
43
+ 'operation_id': 'shutdown_post',
44
+ 'http_method': 'POST',
45
+ 'servers': None,
46
+ },
47
+ params_map={
48
+ 'all': [
49
+ ],
50
+ 'required': [],
51
+ 'nullable': [
52
+ ],
53
+ 'enum': [
54
+ ],
55
+ 'validation': [
56
+ ]
57
+ },
58
+ root_map={
59
+ 'validations': {
60
+ },
61
+ 'allowed_values': {
62
+ },
63
+ 'openapi_types': {
64
+ },
65
+ 'attribute_map': {
66
+ },
67
+ 'location_map': {
68
+ },
69
+ 'collection_format_map': {
70
+ }
71
+ },
72
+ headers_map={
73
+ 'accept': [
74
+ 'application/json'
75
+ ],
76
+ 'content_type': [],
77
+ },
78
+ api_client=api_client
79
+ )
80
+
81
+ def shutdown_post(
82
+ self,
83
+ **kwargs
84
+ ):
85
+ """Shutdown service # noqa: E501
86
+
87
+ Initiate shutdown of the service. # noqa: E501
88
+ This method makes a synchronous HTTP request by default. To make an
89
+ asynchronous HTTP request, please pass async_req=True
90
+
91
+ >>> thread = api.shutdown_post(async_req=True)
92
+ >>> result = thread.get()
93
+
94
+
95
+ Keyword Args:
96
+ _return_http_data_only (bool): response data without head status
97
+ code and headers. Default is True.
98
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
99
+ will be returned without reading/decoding response data.
100
+ Default is True.
101
+ _request_timeout (int/float/tuple): timeout setting for this request. If
102
+ one number provided, it will be total request timeout. It can also
103
+ be a pair (tuple) of (connection, read) timeouts.
104
+ Default is None.
105
+ _check_input_type (bool): specifies if type checking
106
+ should be done one the data sent to the server.
107
+ Default is True.
108
+ _check_return_type (bool): specifies if type checking
109
+ should be done one the data received from the server.
110
+ Default is True.
111
+ _spec_property_naming (bool): True if the variable names in the input data
112
+ are serialized names, as specified in the OpenAPI document.
113
+ False if the variable names in the input data
114
+ are pythonic names, e.g. snake case (default)
115
+ _content_type (str/None): force body content-type.
116
+ Default is None and content-type will be predicted by allowed
117
+ content-types and body.
118
+ _host_index (int/None): specifies the index of the server
119
+ that we want to use.
120
+ Default is read from the configuration.
121
+ _request_auths (list): set to override the auth_settings for an a single
122
+ request; this effectively ignores the authentication
123
+ in the spec for a single request.
124
+ Default is None
125
+ async_req (bool): execute request asynchronously
126
+
127
+ Returns:
128
+ ShutdownResponse
129
+ If the method is called asynchronously, returns the request
130
+ thread.
131
+ """
132
+ kwargs['async_req'] = kwargs.get(
133
+ 'async_req', False
134
+ )
135
+ kwargs['_return_http_data_only'] = kwargs.get(
136
+ '_return_http_data_only', True
137
+ )
138
+ kwargs['_preload_content'] = kwargs.get(
139
+ '_preload_content', True
140
+ )
141
+ kwargs['_request_timeout'] = kwargs.get(
142
+ '_request_timeout', None
143
+ )
144
+ kwargs['_check_input_type'] = kwargs.get(
145
+ '_check_input_type', True
146
+ )
147
+ kwargs['_check_return_type'] = kwargs.get(
148
+ '_check_return_type', True
149
+ )
150
+ kwargs['_spec_property_naming'] = kwargs.get(
151
+ '_spec_property_naming', False
152
+ )
153
+ kwargs['_content_type'] = kwargs.get(
154
+ '_content_type')
155
+ kwargs['_host_index'] = kwargs.get('_host_index')
156
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
157
+ return self.shutdown_post_endpoint.call_with_http_info(**kwargs)
158
+