match-predicting-pub-api 4.9__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 (30) hide show
  1. match_predicting_pub_api/__init__.py +79 -0
  2. match_predicting_pub_api/api/__init__.py +8 -0
  3. match_predicting_pub_api/api/dummy_api.py +170 -0
  4. match_predicting_pub_api/api/import_api.py +173 -0
  5. match_predicting_pub_api/api/testing_api.py +171 -0
  6. match_predicting_pub_api/api/training_api.py +318 -0
  7. match_predicting_pub_api/api_client.py +766 -0
  8. match_predicting_pub_api/api_response.py +25 -0
  9. match_predicting_pub_api/configuration.py +434 -0
  10. match_predicting_pub_api/exceptions.py +166 -0
  11. match_predicting_pub_api/models/__init__.py +29 -0
  12. match_predicting_pub_api/models/dummy_dto.py +93 -0
  13. match_predicting_pub_api/models/fcm_topic.py +46 -0
  14. match_predicting_pub_api/models/import_dto.py +78 -0
  15. match_predicting_pub_api/models/import_progress_dto.py +78 -0
  16. match_predicting_pub_api/models/import_type.py +42 -0
  17. match_predicting_pub_api/models/progress_dto.py +73 -0
  18. match_predicting_pub_api/models/testing_dto.py +73 -0
  19. match_predicting_pub_api/models/training_dto.py +73 -0
  20. match_predicting_pub_api/models/training_network_dto.py +81 -0
  21. match_predicting_pub_api/models/training_progress_dto.py +75 -0
  22. match_predicting_pub_api/models/training_request_dto.py +83 -0
  23. match_predicting_pub_api/models/training_result_dto.py +87 -0
  24. match_predicting_pub_api/models/user_role_enum.py +40 -0
  25. match_predicting_pub_api/py.typed +0 -0
  26. match_predicting_pub_api/rest.py +329 -0
  27. match_predicting_pub_api-4.9.dist-info/METADATA +24 -0
  28. match_predicting_pub_api-4.9.dist-info/RECORD +30 -0
  29. match_predicting_pub_api-4.9.dist-info/WHEEL +5 -0
  30. match_predicting_pub_api-4.9.dist-info/top_level.txt +1 -0
@@ -0,0 +1,79 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Match Predicting Application Public API
7
+
8
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
9
+
10
+ The version of the OpenAPI document: 1.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+
17
+ __version__ = "4.9"
18
+
19
+ # Define package exports
20
+ __all__ = [
21
+ "DummyApi",
22
+ "ImportApi",
23
+ "TestingApi",
24
+ "TrainingApi",
25
+ "ApiResponse",
26
+ "ApiClient",
27
+ "Configuration",
28
+ "OpenApiException",
29
+ "ApiTypeError",
30
+ "ApiValueError",
31
+ "ApiKeyError",
32
+ "ApiAttributeError",
33
+ "ApiException",
34
+ "DummyDTO",
35
+ "FCMTopic",
36
+ "ImportDTO",
37
+ "ImportProgressDTO",
38
+ "ImportType",
39
+ "ProgressDTO",
40
+ "TestingDTO",
41
+ "TrainingDTO",
42
+ "TrainingNetworkDTO",
43
+ "TrainingProgressDTO",
44
+ "TrainingRequestDTO",
45
+ "TrainingResultDTO",
46
+ "UserRoleEnum",
47
+ ]
48
+
49
+ # import apis into sdk package
50
+ from match_predicting_pub_api.api.dummy_api import DummyApi as DummyApi
51
+ from match_predicting_pub_api.api.import_api import ImportApi as ImportApi
52
+ from match_predicting_pub_api.api.testing_api import TestingApi as TestingApi
53
+ from match_predicting_pub_api.api.training_api import TrainingApi as TrainingApi
54
+
55
+ # import ApiClient
56
+ from match_predicting_pub_api.api_response import ApiResponse as ApiResponse
57
+ from match_predicting_pub_api.api_client import ApiClient as ApiClient
58
+ from match_predicting_pub_api.configuration import Configuration as Configuration
59
+ from match_predicting_pub_api.exceptions import OpenApiException as OpenApiException
60
+ from match_predicting_pub_api.exceptions import ApiTypeError as ApiTypeError
61
+ from match_predicting_pub_api.exceptions import ApiValueError as ApiValueError
62
+ from match_predicting_pub_api.exceptions import ApiKeyError as ApiKeyError
63
+ from match_predicting_pub_api.exceptions import ApiAttributeError as ApiAttributeError
64
+ from match_predicting_pub_api.exceptions import ApiException as ApiException
65
+
66
+ # import models into sdk package
67
+ from match_predicting_pub_api.models.dummy_dto import DummyDTO as DummyDTO
68
+ from match_predicting_pub_api.models.fcm_topic import FCMTopic as FCMTopic
69
+ from match_predicting_pub_api.models.import_dto import ImportDTO as ImportDTO
70
+ from match_predicting_pub_api.models.import_progress_dto import ImportProgressDTO as ImportProgressDTO
71
+ from match_predicting_pub_api.models.import_type import ImportType as ImportType
72
+ from match_predicting_pub_api.models.progress_dto import ProgressDTO as ProgressDTO
73
+ from match_predicting_pub_api.models.testing_dto import TestingDTO as TestingDTO
74
+ from match_predicting_pub_api.models.training_dto import TrainingDTO as TrainingDTO
75
+ from match_predicting_pub_api.models.training_network_dto import TrainingNetworkDTO as TrainingNetworkDTO
76
+ from match_predicting_pub_api.models.training_progress_dto import TrainingProgressDTO as TrainingProgressDTO
77
+ from match_predicting_pub_api.models.training_request_dto import TrainingRequestDTO as TrainingRequestDTO
78
+ from match_predicting_pub_api.models.training_result_dto import TrainingResultDTO as TrainingResultDTO
79
+ from match_predicting_pub_api.models.user_role_enum import UserRoleEnum as UserRoleEnum
@@ -0,0 +1,8 @@
1
+ # flake8: noqa
2
+
3
+ # import apis into api package
4
+ from match_predicting_pub_api.api.dummy_api import DummyApi
5
+ from match_predicting_pub_api.api.import_api import ImportApi
6
+ from match_predicting_pub_api.api.testing_api import TestingApi
7
+ from match_predicting_pub_api.api.training_api import TrainingApi
8
+
@@ -0,0 +1,170 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Match Predicting Application Public API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import re # noqa: F401
16
+ import io
17
+ import warnings
18
+
19
+ from pydantic import validate_arguments, ValidationError
20
+
21
+ from match_predicting_pub_api.models.dummy_dto import DummyDTO
22
+
23
+ from match_predicting_pub_api.api_client import ApiClient
24
+ from match_predicting_pub_api.api_response import ApiResponse
25
+ from match_predicting_pub_api.exceptions import ( # noqa: F401
26
+ ApiTypeError,
27
+ ApiValueError
28
+ )
29
+
30
+
31
+ class DummyApi:
32
+ """NOTE: This class is auto generated by OpenAPI Generator
33
+ Ref: https://openapi-generator.tech
34
+
35
+ Do not edit the class manually.
36
+ """
37
+
38
+ def __init__(self, api_client=None) -> None:
39
+ if api_client is None:
40
+ api_client = ApiClient.get_default()
41
+ self.api_client = api_client
42
+
43
+ @validate_arguments
44
+ def dummy(self, **kwargs) -> DummyDTO: # noqa: E501
45
+ """dummy # noqa: E501
46
+
47
+ This method makes a synchronous HTTP request by default. To make an
48
+ asynchronous HTTP request, please pass async_req=True
49
+
50
+ >>> thread = api.dummy(async_req=True)
51
+ >>> result = thread.get()
52
+
53
+ :param async_req: Whether to execute the request asynchronously.
54
+ :type async_req: bool, optional
55
+ :param _request_timeout: timeout setting for this request.
56
+ If one number provided, it will be total request
57
+ timeout. It can also be a pair (tuple) of
58
+ (connection, read) timeouts.
59
+ :return: Returns the result object.
60
+ If the method is called asynchronously,
61
+ returns the request thread.
62
+ :rtype: DummyDTO
63
+ """
64
+ kwargs['_return_http_data_only'] = True
65
+ if '_preload_content' in kwargs:
66
+ message = "Error! Please call the dummy_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
67
+ raise ValueError(message)
68
+ return self.dummy_with_http_info(**kwargs) # noqa: E501
69
+
70
+ @validate_arguments
71
+ def dummy_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
72
+ """dummy # noqa: E501
73
+
74
+ This method makes a synchronous HTTP request by default. To make an
75
+ asynchronous HTTP request, please pass async_req=True
76
+
77
+ >>> thread = api.dummy_with_http_info(async_req=True)
78
+ >>> result = thread.get()
79
+
80
+ :param async_req: Whether to execute the request asynchronously.
81
+ :type async_req: bool, optional
82
+ :param _preload_content: if False, the ApiResponse.data will
83
+ be set to none and raw_data will store the
84
+ HTTP response body without reading/decoding.
85
+ Default is True.
86
+ :type _preload_content: bool, optional
87
+ :param _return_http_data_only: response data instead of ApiResponse
88
+ object with status code, headers, etc
89
+ :type _return_http_data_only: bool, optional
90
+ :param _request_timeout: timeout setting for this request. If one
91
+ number provided, it will be total request
92
+ timeout. It can also be a pair (tuple) of
93
+ (connection, read) timeouts.
94
+ :param _request_auth: set to override the auth_settings for an a single
95
+ request; this effectively ignores the authentication
96
+ in the spec for a single request.
97
+ :type _request_auth: dict, optional
98
+ :type _content_type: string, optional: force content-type for the request
99
+ :return: Returns the result object.
100
+ If the method is called asynchronously,
101
+ returns the request thread.
102
+ :rtype: tuple(DummyDTO, status_code(int), headers(HTTPHeaderDict))
103
+ """
104
+
105
+ _params = locals()
106
+
107
+ _all_params = [
108
+ ]
109
+ _all_params.extend(
110
+ [
111
+ 'async_req',
112
+ '_return_http_data_only',
113
+ '_preload_content',
114
+ '_request_timeout',
115
+ '_request_auth',
116
+ '_content_type',
117
+ '_headers'
118
+ ]
119
+ )
120
+
121
+ # validate the arguments
122
+ for _key, _val in _params['kwargs'].items():
123
+ if _key not in _all_params:
124
+ raise ApiTypeError(
125
+ "Got an unexpected keyword argument '%s'"
126
+ " to method dummy" % _key
127
+ )
128
+ _params[_key] = _val
129
+ del _params['kwargs']
130
+
131
+ _collection_formats = {}
132
+
133
+ # process the path parameters
134
+ _path_params = {}
135
+
136
+ # process the query parameters
137
+ _query_params = []
138
+ # process the header parameters
139
+ _header_params = dict(_params.get('_headers', {}))
140
+ # process the form parameters
141
+ _form_params = []
142
+ _files = {}
143
+ # process the body parameter
144
+ _body_params = None
145
+ # set the HTTP header `Accept`
146
+ _header_params['Accept'] = self.api_client.select_header_accept(
147
+ ['*/*']) # noqa: E501
148
+
149
+ # authentication setting
150
+ _auth_settings = [] # noqa: E501
151
+
152
+ _response_types_map = {
153
+ }
154
+
155
+ return self.api_client.call_api(
156
+ '/dummy', 'GET',
157
+ _path_params,
158
+ _query_params,
159
+ _header_params,
160
+ body=_body_params,
161
+ post_params=_form_params,
162
+ files=_files,
163
+ response_types_map=_response_types_map,
164
+ auth_settings=_auth_settings,
165
+ async_req=_params.get('async_req'),
166
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
167
+ _preload_content=_params.get('_preload_content', True),
168
+ _request_timeout=_params.get('_request_timeout'),
169
+ collection_formats=_collection_formats,
170
+ _request_auth=_params.get('_request_auth'))
@@ -0,0 +1,173 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Match Predicting Application Public API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import re # noqa: F401
16
+ import io
17
+ import warnings
18
+
19
+ from pydantic import validate_arguments, ValidationError
20
+
21
+ from typing import List
22
+
23
+ from match_predicting_pub_api.models.import_dto import ImportDTO
24
+
25
+ from match_predicting_pub_api.api_client import ApiClient
26
+ from match_predicting_pub_api.api_response import ApiResponse
27
+ from match_predicting_pub_api.exceptions import ( # noqa: F401
28
+ ApiTypeError,
29
+ ApiValueError
30
+ )
31
+
32
+
33
+ class ImportApi:
34
+ """NOTE: This class is auto generated by OpenAPI Generator
35
+ Ref: https://openapi-generator.tech
36
+
37
+ Do not edit the class manually.
38
+ """
39
+
40
+ def __init__(self, api_client=None) -> None:
41
+ if api_client is None:
42
+ api_client = ApiClient.get_default()
43
+ self.api_client = api_client
44
+
45
+ @validate_arguments
46
+ def get_current_imports(self, **kwargs) -> List[ImportDTO]: # noqa: E501
47
+ """Returns the current import actions # noqa: E501
48
+
49
+ This method makes a synchronous HTTP request by default. To make an
50
+ asynchronous HTTP request, please pass async_req=True
51
+
52
+ >>> thread = api.get_current_imports(async_req=True)
53
+ >>> result = thread.get()
54
+
55
+ :param async_req: Whether to execute the request asynchronously.
56
+ :type async_req: bool, optional
57
+ :param _request_timeout: timeout setting for this request.
58
+ If one number provided, it will be total request
59
+ timeout. It can also be a pair (tuple) of
60
+ (connection, read) timeouts.
61
+ :return: Returns the result object.
62
+ If the method is called asynchronously,
63
+ returns the request thread.
64
+ :rtype: List[ImportDTO]
65
+ """
66
+ kwargs['_return_http_data_only'] = True
67
+ if '_preload_content' in kwargs:
68
+ message = "Error! Please call the get_current_imports_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
69
+ raise ValueError(message)
70
+ return self.get_current_imports_with_http_info(**kwargs) # noqa: E501
71
+
72
+ @validate_arguments
73
+ def get_current_imports_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
74
+ """Returns the current import actions # noqa: E501
75
+
76
+ This method makes a synchronous HTTP request by default. To make an
77
+ asynchronous HTTP request, please pass async_req=True
78
+
79
+ >>> thread = api.get_current_imports_with_http_info(async_req=True)
80
+ >>> result = thread.get()
81
+
82
+ :param async_req: Whether to execute the request asynchronously.
83
+ :type async_req: bool, optional
84
+ :param _preload_content: if False, the ApiResponse.data will
85
+ be set to none and raw_data will store the
86
+ HTTP response body without reading/decoding.
87
+ Default is True.
88
+ :type _preload_content: bool, optional
89
+ :param _return_http_data_only: response data instead of ApiResponse
90
+ object with status code, headers, etc
91
+ :type _return_http_data_only: bool, optional
92
+ :param _request_timeout: timeout setting for this request. If one
93
+ number provided, it will be total request
94
+ timeout. It can also be a pair (tuple) of
95
+ (connection, read) timeouts.
96
+ :param _request_auth: set to override the auth_settings for an a single
97
+ request; this effectively ignores the authentication
98
+ in the spec for a single request.
99
+ :type _request_auth: dict, optional
100
+ :type _content_type: string, optional: force content-type for the request
101
+ :return: Returns the result object.
102
+ If the method is called asynchronously,
103
+ returns the request thread.
104
+ :rtype: tuple(List[ImportDTO], status_code(int), headers(HTTPHeaderDict))
105
+ """
106
+
107
+ _params = locals()
108
+
109
+ _all_params = [
110
+ ]
111
+ _all_params.extend(
112
+ [
113
+ 'async_req',
114
+ '_return_http_data_only',
115
+ '_preload_content',
116
+ '_request_timeout',
117
+ '_request_auth',
118
+ '_content_type',
119
+ '_headers'
120
+ ]
121
+ )
122
+
123
+ # validate the arguments
124
+ for _key, _val in _params['kwargs'].items():
125
+ if _key not in _all_params:
126
+ raise ApiTypeError(
127
+ "Got an unexpected keyword argument '%s'"
128
+ " to method get_current_imports" % _key
129
+ )
130
+ _params[_key] = _val
131
+ del _params['kwargs']
132
+
133
+ _collection_formats = {}
134
+
135
+ # process the path parameters
136
+ _path_params = {}
137
+
138
+ # process the query parameters
139
+ _query_params = []
140
+ # process the header parameters
141
+ _header_params = dict(_params.get('_headers', {}))
142
+ # process the form parameters
143
+ _form_params = []
144
+ _files = {}
145
+ # process the body parameter
146
+ _body_params = None
147
+ # set the HTTP header `Accept`
148
+ _header_params['Accept'] = self.api_client.select_header_accept(
149
+ ['application/json']) # noqa: E501
150
+
151
+ # authentication setting
152
+ _auth_settings = [] # noqa: E501
153
+
154
+ _response_types_map = {
155
+ '200': "List[ImportDTO]",
156
+ }
157
+
158
+ return self.api_client.call_api(
159
+ '/api/import/current', 'GET',
160
+ _path_params,
161
+ _query_params,
162
+ _header_params,
163
+ body=_body_params,
164
+ post_params=_form_params,
165
+ files=_files,
166
+ response_types_map=_response_types_map,
167
+ auth_settings=_auth_settings,
168
+ async_req=_params.get('async_req'),
169
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
170
+ _preload_content=_params.get('_preload_content', True),
171
+ _request_timeout=_params.get('_request_timeout'),
172
+ collection_formats=_collection_formats,
173
+ _request_auth=_params.get('_request_auth'))
@@ -0,0 +1,171 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Match Predicting Application Public API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import re # noqa: F401
16
+ import io
17
+ import warnings
18
+
19
+ from pydantic import validate_arguments, ValidationError
20
+
21
+ from match_predicting_pub_api.models.testing_dto import TestingDTO
22
+
23
+ from match_predicting_pub_api.api_client import ApiClient
24
+ from match_predicting_pub_api.api_response import ApiResponse
25
+ from match_predicting_pub_api.exceptions import ( # noqa: F401
26
+ ApiTypeError,
27
+ ApiValueError
28
+ )
29
+
30
+
31
+ class TestingApi:
32
+ """NOTE: This class is auto generated by OpenAPI Generator
33
+ Ref: https://openapi-generator.tech
34
+
35
+ Do not edit the class manually.
36
+ """
37
+
38
+ def __init__(self, api_client=None) -> None:
39
+ if api_client is None:
40
+ api_client = ApiClient.get_default()
41
+ self.api_client = api_client
42
+
43
+ @validate_arguments
44
+ def get_current_testing(self, **kwargs) -> TestingDTO: # noqa: E501
45
+ """Returns the current testing # noqa: E501
46
+
47
+ This method makes a synchronous HTTP request by default. To make an
48
+ asynchronous HTTP request, please pass async_req=True
49
+
50
+ >>> thread = api.get_current_testing(async_req=True)
51
+ >>> result = thread.get()
52
+
53
+ :param async_req: Whether to execute the request asynchronously.
54
+ :type async_req: bool, optional
55
+ :param _request_timeout: timeout setting for this request.
56
+ If one number provided, it will be total request
57
+ timeout. It can also be a pair (tuple) of
58
+ (connection, read) timeouts.
59
+ :return: Returns the result object.
60
+ If the method is called asynchronously,
61
+ returns the request thread.
62
+ :rtype: TestingDTO
63
+ """
64
+ kwargs['_return_http_data_only'] = True
65
+ if '_preload_content' in kwargs:
66
+ message = "Error! Please call the get_current_testing_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
67
+ raise ValueError(message)
68
+ return self.get_current_testing_with_http_info(**kwargs) # noqa: E501
69
+
70
+ @validate_arguments
71
+ def get_current_testing_with_http_info(self, **kwargs) -> ApiResponse: # noqa: E501
72
+ """Returns the current testing # noqa: E501
73
+
74
+ This method makes a synchronous HTTP request by default. To make an
75
+ asynchronous HTTP request, please pass async_req=True
76
+
77
+ >>> thread = api.get_current_testing_with_http_info(async_req=True)
78
+ >>> result = thread.get()
79
+
80
+ :param async_req: Whether to execute the request asynchronously.
81
+ :type async_req: bool, optional
82
+ :param _preload_content: if False, the ApiResponse.data will
83
+ be set to none and raw_data will store the
84
+ HTTP response body without reading/decoding.
85
+ Default is True.
86
+ :type _preload_content: bool, optional
87
+ :param _return_http_data_only: response data instead of ApiResponse
88
+ object with status code, headers, etc
89
+ :type _return_http_data_only: bool, optional
90
+ :param _request_timeout: timeout setting for this request. If one
91
+ number provided, it will be total request
92
+ timeout. It can also be a pair (tuple) of
93
+ (connection, read) timeouts.
94
+ :param _request_auth: set to override the auth_settings for an a single
95
+ request; this effectively ignores the authentication
96
+ in the spec for a single request.
97
+ :type _request_auth: dict, optional
98
+ :type _content_type: string, optional: force content-type for the request
99
+ :return: Returns the result object.
100
+ If the method is called asynchronously,
101
+ returns the request thread.
102
+ :rtype: tuple(TestingDTO, status_code(int), headers(HTTPHeaderDict))
103
+ """
104
+
105
+ _params = locals()
106
+
107
+ _all_params = [
108
+ ]
109
+ _all_params.extend(
110
+ [
111
+ 'async_req',
112
+ '_return_http_data_only',
113
+ '_preload_content',
114
+ '_request_timeout',
115
+ '_request_auth',
116
+ '_content_type',
117
+ '_headers'
118
+ ]
119
+ )
120
+
121
+ # validate the arguments
122
+ for _key, _val in _params['kwargs'].items():
123
+ if _key not in _all_params:
124
+ raise ApiTypeError(
125
+ "Got an unexpected keyword argument '%s'"
126
+ " to method get_current_testing" % _key
127
+ )
128
+ _params[_key] = _val
129
+ del _params['kwargs']
130
+
131
+ _collection_formats = {}
132
+
133
+ # process the path parameters
134
+ _path_params = {}
135
+
136
+ # process the query parameters
137
+ _query_params = []
138
+ # process the header parameters
139
+ _header_params = dict(_params.get('_headers', {}))
140
+ # process the form parameters
141
+ _form_params = []
142
+ _files = {}
143
+ # process the body parameter
144
+ _body_params = None
145
+ # set the HTTP header `Accept`
146
+ _header_params['Accept'] = self.api_client.select_header_accept(
147
+ ['application/json']) # noqa: E501
148
+
149
+ # authentication setting
150
+ _auth_settings = [] # noqa: E501
151
+
152
+ _response_types_map = {
153
+ '200': "TestingDTO",
154
+ }
155
+
156
+ return self.api_client.call_api(
157
+ '/api/testing/current', 'GET',
158
+ _path_params,
159
+ _query_params,
160
+ _header_params,
161
+ body=_body_params,
162
+ post_params=_form_params,
163
+ files=_files,
164
+ response_types_map=_response_types_map,
165
+ auth_settings=_auth_settings,
166
+ async_req=_params.get('async_req'),
167
+ _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
168
+ _preload_content=_params.get('_preload_content', True),
169
+ _request_timeout=_params.get('_request_timeout'),
170
+ collection_formats=_collection_formats,
171
+ _request_auth=_params.get('_request_auth'))