revengai 1.85.0__py3-none-any.whl → 1.88.0__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.
Potentially problematic release.
This version of revengai might be problematic. Click here for more details.
- revengai/__init__.py +13 -3
- revengai/api/__init__.py +0 -1
- revengai/api/analyses_core_api.py +294 -0
- revengai/api/functions_core_api.py +627 -25
- revengai/api_client.py +1 -1
- revengai/configuration.py +2 -2
- revengai/models/__init__.py +6 -0
- revengai/models/analysis_function_matching_request.py +87 -0
- revengai/models/function_matching_batch_request.py +92 -0
- revengai/models/function_matching_batch_response.py +117 -0
- revengai/models/function_matching_result_with_best_match.py +101 -0
- revengai/models/function_matching_scope_request.py +106 -0
- revengai/models/matched_function.py +114 -0
- {revengai-1.85.0.dist-info → revengai-1.88.0.dist-info}/METADATA +10 -2
- {revengai-1.85.0.dist-info → revengai-1.88.0.dist-info}/RECORD +16 -11
- revengai/api/v1_api.py +0 -334
- {revengai-1.85.0.dist-info → revengai-1.88.0.dist-info}/WHEEL +0 -0
revengai/__init__.py
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
__version__ = "v1.
|
|
16
|
+
__version__ = "v1.88.0"
|
|
17
17
|
|
|
18
18
|
# Define package exports
|
|
19
19
|
__all__ = [
|
|
@@ -37,7 +37,6 @@ __all__ = [
|
|
|
37
37
|
"FunctionsThreatScoreApi",
|
|
38
38
|
"ModelsApi",
|
|
39
39
|
"SearchApi",
|
|
40
|
-
"V1Api",
|
|
41
40
|
"ApiResponse",
|
|
42
41
|
"ApiClient",
|
|
43
42
|
"Configuration",
|
|
@@ -56,6 +55,7 @@ __all__ = [
|
|
|
56
55
|
"AnalysisCreateResponse",
|
|
57
56
|
"AnalysisDetailResponse",
|
|
58
57
|
"AnalysisFunctionMapping",
|
|
58
|
+
"AnalysisFunctionMatchingRequest",
|
|
59
59
|
"AnalysisFunctions",
|
|
60
60
|
"AnalysisRecord",
|
|
61
61
|
"AnalysisScope",
|
|
@@ -242,6 +242,10 @@ __all__ = [
|
|
|
242
242
|
"FunctionLocalVariableResponse",
|
|
243
243
|
"FunctionMapping",
|
|
244
244
|
"FunctionMappingFull",
|
|
245
|
+
"FunctionMatchingBatchRequest",
|
|
246
|
+
"FunctionMatchingBatchResponse",
|
|
247
|
+
"FunctionMatchingResultWithBestMatch",
|
|
248
|
+
"FunctionMatchingScopeRequest",
|
|
245
249
|
"FunctionNameConfidenceBody",
|
|
246
250
|
"FunctionNameHistory",
|
|
247
251
|
"FunctionNameInput",
|
|
@@ -276,6 +280,7 @@ __all__ = [
|
|
|
276
280
|
"LoginRequest",
|
|
277
281
|
"LoginResponse",
|
|
278
282
|
"Logs",
|
|
283
|
+
"MatchedFunction",
|
|
279
284
|
"MatchedFunctionSuggestion",
|
|
280
285
|
"MetaModel",
|
|
281
286
|
"ModelName",
|
|
@@ -376,7 +381,6 @@ from revengai.api.functions_renaming_history_api import FunctionsRenamingHistory
|
|
|
376
381
|
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi as FunctionsThreatScoreApi
|
|
377
382
|
from revengai.api.models_api import ModelsApi as ModelsApi
|
|
378
383
|
from revengai.api.search_api import SearchApi as SearchApi
|
|
379
|
-
from revengai.api.v1_api import V1Api as V1Api
|
|
380
384
|
|
|
381
385
|
# import ApiClient
|
|
382
386
|
from revengai.api_response import ApiResponse as ApiResponse
|
|
@@ -399,6 +403,7 @@ from revengai.models.analysis_create_request import AnalysisCreateRequest as Ana
|
|
|
399
403
|
from revengai.models.analysis_create_response import AnalysisCreateResponse as AnalysisCreateResponse
|
|
400
404
|
from revengai.models.analysis_detail_response import AnalysisDetailResponse as AnalysisDetailResponse
|
|
401
405
|
from revengai.models.analysis_function_mapping import AnalysisFunctionMapping as AnalysisFunctionMapping
|
|
406
|
+
from revengai.models.analysis_function_matching_request import AnalysisFunctionMatchingRequest as AnalysisFunctionMatchingRequest
|
|
402
407
|
from revengai.models.analysis_functions import AnalysisFunctions as AnalysisFunctions
|
|
403
408
|
from revengai.models.analysis_record import AnalysisRecord as AnalysisRecord
|
|
404
409
|
from revengai.models.analysis_scope import AnalysisScope as AnalysisScope
|
|
@@ -585,6 +590,10 @@ from revengai.models.function_info_output import FunctionInfoOutput as FunctionI
|
|
|
585
590
|
from revengai.models.function_local_variable_response import FunctionLocalVariableResponse as FunctionLocalVariableResponse
|
|
586
591
|
from revengai.models.function_mapping import FunctionMapping as FunctionMapping
|
|
587
592
|
from revengai.models.function_mapping_full import FunctionMappingFull as FunctionMappingFull
|
|
593
|
+
from revengai.models.function_matching_batch_request import FunctionMatchingBatchRequest as FunctionMatchingBatchRequest
|
|
594
|
+
from revengai.models.function_matching_batch_response import FunctionMatchingBatchResponse as FunctionMatchingBatchResponse
|
|
595
|
+
from revengai.models.function_matching_result_with_best_match import FunctionMatchingResultWithBestMatch as FunctionMatchingResultWithBestMatch
|
|
596
|
+
from revengai.models.function_matching_scope_request import FunctionMatchingScopeRequest as FunctionMatchingScopeRequest
|
|
588
597
|
from revengai.models.function_name_confidence_body import FunctionNameConfidenceBody as FunctionNameConfidenceBody
|
|
589
598
|
from revengai.models.function_name_history import FunctionNameHistory as FunctionNameHistory
|
|
590
599
|
from revengai.models.function_name_input import FunctionNameInput as FunctionNameInput
|
|
@@ -619,6 +628,7 @@ from revengai.models.list_collection_results import ListCollectionResults as Lis
|
|
|
619
628
|
from revengai.models.login_request import LoginRequest as LoginRequest
|
|
620
629
|
from revengai.models.login_response import LoginResponse as LoginResponse
|
|
621
630
|
from revengai.models.logs import Logs as Logs
|
|
631
|
+
from revengai.models.matched_function import MatchedFunction as MatchedFunction
|
|
622
632
|
from revengai.models.matched_function_suggestion import MatchedFunctionSuggestion as MatchedFunctionSuggestion
|
|
623
633
|
from revengai.models.meta_model import MetaModel as MetaModel
|
|
624
634
|
from revengai.models.model_name import ModelName as ModelName
|
revengai/api/__init__.py
CHANGED
|
@@ -21,5 +21,4 @@ from revengai.api.functions_renaming_history_api import FunctionsRenamingHistory
|
|
|
21
21
|
from revengai.api.functions_threat_score_api import FunctionsThreatScoreApi
|
|
22
22
|
from revengai.api.models_api import ModelsApi
|
|
23
23
|
from revengai.api.search_api import SearchApi
|
|
24
|
-
from revengai.api.v1_api import V1Api
|
|
25
24
|
|
|
@@ -21,6 +21,7 @@ from typing_extensions import Annotated
|
|
|
21
21
|
from revengai.models.analysis_create_request import AnalysisCreateRequest
|
|
22
22
|
from revengai.models.analysis_update_request import AnalysisUpdateRequest
|
|
23
23
|
from revengai.models.analysis_update_tags_request import AnalysisUpdateTagsRequest
|
|
24
|
+
from revengai.models.app_api_rest_v1_ann_schema_ann_function import AppApiRestV1AnnSchemaANNFunction
|
|
24
25
|
from revengai.models.app_api_rest_v2_analyses_enums_order_by import AppApiRestV2AnalysesEnumsOrderBy
|
|
25
26
|
from revengai.models.app_api_rest_v2_similarity_schema_ann_function import AppApiRestV2SimilaritySchemaANNFunction
|
|
26
27
|
from revengai.models.base_response_analysis_create_response import BaseResponseAnalysisCreateResponse
|
|
@@ -39,6 +40,7 @@ from revengai.models.base_response_status import BaseResponseStatus
|
|
|
39
40
|
from revengai.models.base_response_upload_response import BaseResponseUploadResponse
|
|
40
41
|
from revengai.models.binary_ann_form import BinaryAnnForm
|
|
41
42
|
from revengai.models.dynamic_execution_status_input import DynamicExecutionStatusInput
|
|
43
|
+
from revengai.models.function_batch_ann import FunctionBatchAnn
|
|
42
44
|
from revengai.models.model_name import ModelName
|
|
43
45
|
from revengai.models.order import Order
|
|
44
46
|
from revengai.models.re_analysis_form import ReAnalysisForm
|
|
@@ -64,6 +66,298 @@ class AnalysesCoreApi:
|
|
|
64
66
|
self.api_client = api_client
|
|
65
67
|
|
|
66
68
|
|
|
69
|
+
@validate_call
|
|
70
|
+
def batch_symbol_ann(
|
|
71
|
+
self,
|
|
72
|
+
app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction,
|
|
73
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
74
|
+
_request_timeout: Union[
|
|
75
|
+
None,
|
|
76
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
77
|
+
Tuple[
|
|
78
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
79
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
80
|
+
]
|
|
81
|
+
] = None,
|
|
82
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
83
|
+
_content_type: Optional[StrictStr] = None,
|
|
84
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
85
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
86
|
+
) -> FunctionBatchAnn:
|
|
87
|
+
"""Batch Symbol ANN using function IDs
|
|
88
|
+
|
|
89
|
+
Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
|
|
90
|
+
|
|
91
|
+
:param app_api_rest_v1_ann_schema_ann_function: (required)
|
|
92
|
+
:type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction
|
|
93
|
+
:param authorization: API Key bearer token
|
|
94
|
+
:type authorization: str
|
|
95
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
96
|
+
number provided, it will be total request
|
|
97
|
+
timeout. It can also be a pair (tuple) of
|
|
98
|
+
(connection, read) timeouts.
|
|
99
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
100
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
101
|
+
request; this effectively ignores the
|
|
102
|
+
authentication in the spec for a single request.
|
|
103
|
+
:type _request_auth: dict, optional
|
|
104
|
+
:param _content_type: force content-type for the request.
|
|
105
|
+
:type _content_type: str, Optional
|
|
106
|
+
:param _headers: set to override the headers for a single
|
|
107
|
+
request; this effectively ignores the headers
|
|
108
|
+
in the spec for a single request.
|
|
109
|
+
:type _headers: dict, optional
|
|
110
|
+
:param _host_index: set to override the host_index for a single
|
|
111
|
+
request; this effectively ignores the host_index
|
|
112
|
+
in the spec for a single request.
|
|
113
|
+
:type _host_index: int, optional
|
|
114
|
+
:return: Returns the result object.
|
|
115
|
+
""" # noqa: E501
|
|
116
|
+
|
|
117
|
+
_param = self._batch_symbol_ann_serialize(
|
|
118
|
+
app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function,
|
|
119
|
+
authorization=authorization,
|
|
120
|
+
_request_auth=_request_auth,
|
|
121
|
+
_content_type=_content_type,
|
|
122
|
+
_headers=_headers,
|
|
123
|
+
_host_index=_host_index
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
127
|
+
'200': "FunctionBatchAnn",
|
|
128
|
+
'422': "BaseResponse",
|
|
129
|
+
}
|
|
130
|
+
response_data = self.api_client.call_api(
|
|
131
|
+
*_param,
|
|
132
|
+
_request_timeout=_request_timeout
|
|
133
|
+
)
|
|
134
|
+
response_data.read()
|
|
135
|
+
return self.api_client.response_deserialize(
|
|
136
|
+
response_data=response_data,
|
|
137
|
+
response_types_map=_response_types_map,
|
|
138
|
+
).data
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
@validate_call
|
|
142
|
+
def batch_symbol_ann_with_http_info(
|
|
143
|
+
self,
|
|
144
|
+
app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction,
|
|
145
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
146
|
+
_request_timeout: Union[
|
|
147
|
+
None,
|
|
148
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
149
|
+
Tuple[
|
|
150
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
151
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
152
|
+
]
|
|
153
|
+
] = None,
|
|
154
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
155
|
+
_content_type: Optional[StrictStr] = None,
|
|
156
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
157
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
158
|
+
) -> ApiResponse[FunctionBatchAnn]:
|
|
159
|
+
"""Batch Symbol ANN using function IDs
|
|
160
|
+
|
|
161
|
+
Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
|
|
162
|
+
|
|
163
|
+
:param app_api_rest_v1_ann_schema_ann_function: (required)
|
|
164
|
+
:type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction
|
|
165
|
+
:param authorization: API Key bearer token
|
|
166
|
+
:type authorization: str
|
|
167
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
168
|
+
number provided, it will be total request
|
|
169
|
+
timeout. It can also be a pair (tuple) of
|
|
170
|
+
(connection, read) timeouts.
|
|
171
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
172
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
173
|
+
request; this effectively ignores the
|
|
174
|
+
authentication in the spec for a single request.
|
|
175
|
+
:type _request_auth: dict, optional
|
|
176
|
+
:param _content_type: force content-type for the request.
|
|
177
|
+
:type _content_type: str, Optional
|
|
178
|
+
:param _headers: set to override the headers for a single
|
|
179
|
+
request; this effectively ignores the headers
|
|
180
|
+
in the spec for a single request.
|
|
181
|
+
:type _headers: dict, optional
|
|
182
|
+
:param _host_index: set to override the host_index for a single
|
|
183
|
+
request; this effectively ignores the host_index
|
|
184
|
+
in the spec for a single request.
|
|
185
|
+
:type _host_index: int, optional
|
|
186
|
+
:return: Returns the result object.
|
|
187
|
+
""" # noqa: E501
|
|
188
|
+
|
|
189
|
+
_param = self._batch_symbol_ann_serialize(
|
|
190
|
+
app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function,
|
|
191
|
+
authorization=authorization,
|
|
192
|
+
_request_auth=_request_auth,
|
|
193
|
+
_content_type=_content_type,
|
|
194
|
+
_headers=_headers,
|
|
195
|
+
_host_index=_host_index
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
199
|
+
'200': "FunctionBatchAnn",
|
|
200
|
+
'422': "BaseResponse",
|
|
201
|
+
}
|
|
202
|
+
response_data = self.api_client.call_api(
|
|
203
|
+
*_param,
|
|
204
|
+
_request_timeout=_request_timeout
|
|
205
|
+
)
|
|
206
|
+
response_data.read()
|
|
207
|
+
return self.api_client.response_deserialize(
|
|
208
|
+
response_data=response_data,
|
|
209
|
+
response_types_map=_response_types_map,
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
@validate_call
|
|
214
|
+
def batch_symbol_ann_without_preload_content(
|
|
215
|
+
self,
|
|
216
|
+
app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction,
|
|
217
|
+
authorization: Annotated[Optional[StrictStr], Field(description="API Key bearer token")] = None,
|
|
218
|
+
_request_timeout: Union[
|
|
219
|
+
None,
|
|
220
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
221
|
+
Tuple[
|
|
222
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
223
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
224
|
+
]
|
|
225
|
+
] = None,
|
|
226
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
227
|
+
_content_type: Optional[StrictStr] = None,
|
|
228
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
229
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
230
|
+
) -> RESTResponseType:
|
|
231
|
+
"""Batch Symbol ANN using function IDs
|
|
232
|
+
|
|
233
|
+
Takes in an input of functions ID's and settings and finds the nearest functions for each function that's within the database
|
|
234
|
+
|
|
235
|
+
:param app_api_rest_v1_ann_schema_ann_function: (required)
|
|
236
|
+
:type app_api_rest_v1_ann_schema_ann_function: AppApiRestV1AnnSchemaANNFunction
|
|
237
|
+
:param authorization: API Key bearer token
|
|
238
|
+
:type authorization: str
|
|
239
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
240
|
+
number provided, it will be total request
|
|
241
|
+
timeout. It can also be a pair (tuple) of
|
|
242
|
+
(connection, read) timeouts.
|
|
243
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
244
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
245
|
+
request; this effectively ignores the
|
|
246
|
+
authentication in the spec for a single request.
|
|
247
|
+
:type _request_auth: dict, optional
|
|
248
|
+
:param _content_type: force content-type for the request.
|
|
249
|
+
:type _content_type: str, Optional
|
|
250
|
+
:param _headers: set to override the headers for a single
|
|
251
|
+
request; this effectively ignores the headers
|
|
252
|
+
in the spec for a single request.
|
|
253
|
+
:type _headers: dict, optional
|
|
254
|
+
:param _host_index: set to override the host_index for a single
|
|
255
|
+
request; this effectively ignores the host_index
|
|
256
|
+
in the spec for a single request.
|
|
257
|
+
:type _host_index: int, optional
|
|
258
|
+
:return: Returns the result object.
|
|
259
|
+
""" # noqa: E501
|
|
260
|
+
|
|
261
|
+
_param = self._batch_symbol_ann_serialize(
|
|
262
|
+
app_api_rest_v1_ann_schema_ann_function=app_api_rest_v1_ann_schema_ann_function,
|
|
263
|
+
authorization=authorization,
|
|
264
|
+
_request_auth=_request_auth,
|
|
265
|
+
_content_type=_content_type,
|
|
266
|
+
_headers=_headers,
|
|
267
|
+
_host_index=_host_index
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
271
|
+
'200': "FunctionBatchAnn",
|
|
272
|
+
'422': "BaseResponse",
|
|
273
|
+
}
|
|
274
|
+
response_data = self.api_client.call_api(
|
|
275
|
+
*_param,
|
|
276
|
+
_request_timeout=_request_timeout
|
|
277
|
+
)
|
|
278
|
+
return response_data.response
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def _batch_symbol_ann_serialize(
|
|
282
|
+
self,
|
|
283
|
+
app_api_rest_v1_ann_schema_ann_function,
|
|
284
|
+
authorization,
|
|
285
|
+
_request_auth,
|
|
286
|
+
_content_type,
|
|
287
|
+
_headers,
|
|
288
|
+
_host_index,
|
|
289
|
+
) -> RequestSerialized:
|
|
290
|
+
|
|
291
|
+
_host = None
|
|
292
|
+
|
|
293
|
+
_collection_formats: Dict[str, str] = {
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
_path_params: Dict[str, str] = {}
|
|
297
|
+
_query_params: List[Tuple[str, str]] = []
|
|
298
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
299
|
+
_form_params: List[Tuple[str, str]] = []
|
|
300
|
+
_files: Dict[
|
|
301
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
302
|
+
] = {}
|
|
303
|
+
_body_params: Optional[bytes] = None
|
|
304
|
+
|
|
305
|
+
# process the path parameters
|
|
306
|
+
# process the query parameters
|
|
307
|
+
# process the header parameters
|
|
308
|
+
if authorization is not None:
|
|
309
|
+
_header_params['authorization'] = authorization
|
|
310
|
+
# process the form parameters
|
|
311
|
+
# process the body parameter
|
|
312
|
+
if app_api_rest_v1_ann_schema_ann_function is not None:
|
|
313
|
+
_body_params = app_api_rest_v1_ann_schema_ann_function
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
# set the HTTP header `Accept`
|
|
317
|
+
if 'Accept' not in _header_params:
|
|
318
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
319
|
+
[
|
|
320
|
+
'application/json'
|
|
321
|
+
]
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
# set the HTTP header `Content-Type`
|
|
325
|
+
if _content_type:
|
|
326
|
+
_header_params['Content-Type'] = _content_type
|
|
327
|
+
else:
|
|
328
|
+
_default_content_type = (
|
|
329
|
+
self.api_client.select_header_content_type(
|
|
330
|
+
[
|
|
331
|
+
'application/json'
|
|
332
|
+
]
|
|
333
|
+
)
|
|
334
|
+
)
|
|
335
|
+
if _default_content_type is not None:
|
|
336
|
+
_header_params['Content-Type'] = _default_content_type
|
|
337
|
+
|
|
338
|
+
# authentication setting
|
|
339
|
+
_auth_settings: List[str] = [
|
|
340
|
+
'APIKey'
|
|
341
|
+
]
|
|
342
|
+
|
|
343
|
+
return self.api_client.param_serialize(
|
|
344
|
+
method='POST',
|
|
345
|
+
resource_path='/v1/ann/symbol/batch',
|
|
346
|
+
path_params=_path_params,
|
|
347
|
+
query_params=_query_params,
|
|
348
|
+
header_params=_header_params,
|
|
349
|
+
body=_body_params,
|
|
350
|
+
post_params=_form_params,
|
|
351
|
+
files=_files,
|
|
352
|
+
auth_settings=_auth_settings,
|
|
353
|
+
collection_formats=_collection_formats,
|
|
354
|
+
_host=_host,
|
|
355
|
+
_request_auth=_request_auth
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
67
361
|
@validate_call
|
|
68
362
|
def create_analysis(
|
|
69
363
|
self,
|