rapidata 2.26.1__py3-none-any.whl → 2.27.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 rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +2 -2
- rapidata/api_client/__init__.py +11 -3
- rapidata/api_client/api/__init__.py +2 -1
- rapidata/api_client/api/client_api.py +0 -257
- rapidata/api_client/api/customer_rapid_api.py +1644 -0
- rapidata/api_client/api/dataset_api.py +358 -1
- rapidata/api_client/api/newsletter_api.py +11 -299
- rapidata/api_client/api/user_rapid_api.py +1385 -0
- rapidata/api_client/api/validation_set_api.py +6 -6
- rapidata/api_client/models/__init__.py +9 -2
- rapidata/api_client/models/add_campaign_model.py +5 -0
- rapidata/api_client/models/add_validation_rapid_model.py +3 -3
- rapidata/api_client/models/add_validation_rapid_model_truth.py +25 -11
- rapidata/api_client/models/add_validation_text_rapid_model.py +3 -3
- rapidata/api_client/models/asset_metadata_model.py +2 -8
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_files_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_urls_model.py +3 -3
- rapidata/api_client/models/create_order_model.py +2 -4
- rapidata/api_client/models/datapoint.py +3 -3
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/file_asset_model.py +1 -3
- rapidata/api_client/models/file_asset_model_metadata_value.py +1 -3
- rapidata/api_client/models/get_compare_workflow_results_result.py +3 -3
- rapidata/api_client/models/get_datapoint_by_id_result.py +3 -3
- rapidata/api_client/models/get_rapid_responses_result.py +5 -5
- rapidata/api_client/models/get_validation_rapids_result.py +12 -3
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- rapidata/api_client/models/get_workflow_results_result.py +5 -5
- rapidata/api_client/models/multi_asset_model.py +4 -4
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/null_asset_model.py +1 -3
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/rapid_model.py +173 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_state.py +1 -0
- rapidata/api_client/models/text_asset_model.py +1 -3
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_validation_rapid_model.py +3 -8
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- rapidata/api_client_README.md +21 -13
- rapidata/rapidata_client/__init__.py +1 -1
- rapidata/rapidata_client/assets/_multi_asset.py +0 -5
- rapidata/rapidata_client/logging/__init__.py +1 -1
- rapidata/rapidata_client/logging/output_manager.py +2 -2
- rapidata/rapidata_client/order/_rapidata_dataset.py +16 -39
- rapidata/rapidata_client/order/rapidata_order.py +20 -15
- rapidata/rapidata_client/order/rapidata_order_manager.py +2 -2
- rapidata/rapidata_client/validation/rapids/rapids.py +3 -4
- rapidata/rapidata_client/validation/validation_set_manager.py +2 -2
- rapidata/rapidata_client/workflow/_ranking_workflow.py +2 -6
- {rapidata-2.26.1.dist-info → rapidata-2.27.0.dist-info}/METADATA +1 -1
- {rapidata-2.26.1.dist-info → rapidata-2.27.0.dist-info}/RECORD +64 -54
- {rapidata-2.26.1.dist-info → rapidata-2.27.0.dist-info}/LICENSE +0 -0
- {rapidata-2.26.1.dist-info → rapidata-2.27.0.dist-info}/WHEEL +0 -0
|
@@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field
|
|
20
|
-
from typing import
|
|
20
|
+
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.newsletter_model import NewsletterModel
|
|
23
23
|
|
|
@@ -39,276 +39,6 @@ class NewsletterApi:
|
|
|
39
39
|
self.api_client = api_client
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
@validate_call
|
|
43
|
-
def newsletter_post(
|
|
44
|
-
self,
|
|
45
|
-
newsletter_model: Annotated[Optional[NewsletterModel], Field(description="The model containing the email of a user and recaptcha token.")] = None,
|
|
46
|
-
_request_timeout: Union[
|
|
47
|
-
None,
|
|
48
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
49
|
-
Tuple[
|
|
50
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
52
|
-
]
|
|
53
|
-
] = None,
|
|
54
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
55
|
-
_content_type: Optional[StrictStr] = None,
|
|
56
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
|
-
) -> None:
|
|
59
|
-
"""(Deprecated) Signs a user up to the newsletter.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
:param newsletter_model: The model containing the email of a user and recaptcha token.
|
|
63
|
-
:type newsletter_model: NewsletterModel
|
|
64
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
65
|
-
number provided, it will be total request
|
|
66
|
-
timeout. It can also be a pair (tuple) of
|
|
67
|
-
(connection, read) timeouts.
|
|
68
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
69
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
70
|
-
request; this effectively ignores the
|
|
71
|
-
authentication in the spec for a single request.
|
|
72
|
-
:type _request_auth: dict, optional
|
|
73
|
-
:param _content_type: force content-type for the request.
|
|
74
|
-
:type _content_type: str, Optional
|
|
75
|
-
:param _headers: set to override the headers for a single
|
|
76
|
-
request; this effectively ignores the headers
|
|
77
|
-
in the spec for a single request.
|
|
78
|
-
:type _headers: dict, optional
|
|
79
|
-
:param _host_index: set to override the host_index for a single
|
|
80
|
-
request; this effectively ignores the host_index
|
|
81
|
-
in the spec for a single request.
|
|
82
|
-
:type _host_index: int, optional
|
|
83
|
-
:return: Returns the result object.
|
|
84
|
-
""" # noqa: E501
|
|
85
|
-
warnings.warn("POST /newsletter is deprecated.", DeprecationWarning)
|
|
86
|
-
|
|
87
|
-
_param = self._newsletter_post_serialize(
|
|
88
|
-
newsletter_model=newsletter_model,
|
|
89
|
-
_request_auth=_request_auth,
|
|
90
|
-
_content_type=_content_type,
|
|
91
|
-
_headers=_headers,
|
|
92
|
-
_host_index=_host_index
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
96
|
-
'200': None,
|
|
97
|
-
}
|
|
98
|
-
response_data = self.api_client.call_api(
|
|
99
|
-
*_param,
|
|
100
|
-
_request_timeout=_request_timeout
|
|
101
|
-
)
|
|
102
|
-
response_data.read()
|
|
103
|
-
return self.api_client.response_deserialize(
|
|
104
|
-
response_data=response_data,
|
|
105
|
-
response_types_map=_response_types_map,
|
|
106
|
-
).data
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@validate_call
|
|
110
|
-
def newsletter_post_with_http_info(
|
|
111
|
-
self,
|
|
112
|
-
newsletter_model: Annotated[Optional[NewsletterModel], Field(description="The model containing the email of a user and recaptcha token.")] = None,
|
|
113
|
-
_request_timeout: Union[
|
|
114
|
-
None,
|
|
115
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
116
|
-
Tuple[
|
|
117
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
118
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
119
|
-
]
|
|
120
|
-
] = None,
|
|
121
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
122
|
-
_content_type: Optional[StrictStr] = None,
|
|
123
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
124
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125
|
-
) -> ApiResponse[None]:
|
|
126
|
-
"""(Deprecated) Signs a user up to the newsletter.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
:param newsletter_model: The model containing the email of a user and recaptcha token.
|
|
130
|
-
:type newsletter_model: NewsletterModel
|
|
131
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
132
|
-
number provided, it will be total request
|
|
133
|
-
timeout. It can also be a pair (tuple) of
|
|
134
|
-
(connection, read) timeouts.
|
|
135
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
136
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
137
|
-
request; this effectively ignores the
|
|
138
|
-
authentication in the spec for a single request.
|
|
139
|
-
:type _request_auth: dict, optional
|
|
140
|
-
:param _content_type: force content-type for the request.
|
|
141
|
-
:type _content_type: str, Optional
|
|
142
|
-
:param _headers: set to override the headers for a single
|
|
143
|
-
request; this effectively ignores the headers
|
|
144
|
-
in the spec for a single request.
|
|
145
|
-
:type _headers: dict, optional
|
|
146
|
-
:param _host_index: set to override the host_index for a single
|
|
147
|
-
request; this effectively ignores the host_index
|
|
148
|
-
in the spec for a single request.
|
|
149
|
-
:type _host_index: int, optional
|
|
150
|
-
:return: Returns the result object.
|
|
151
|
-
""" # noqa: E501
|
|
152
|
-
warnings.warn("POST /newsletter is deprecated.", DeprecationWarning)
|
|
153
|
-
|
|
154
|
-
_param = self._newsletter_post_serialize(
|
|
155
|
-
newsletter_model=newsletter_model,
|
|
156
|
-
_request_auth=_request_auth,
|
|
157
|
-
_content_type=_content_type,
|
|
158
|
-
_headers=_headers,
|
|
159
|
-
_host_index=_host_index
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
163
|
-
'200': None,
|
|
164
|
-
}
|
|
165
|
-
response_data = self.api_client.call_api(
|
|
166
|
-
*_param,
|
|
167
|
-
_request_timeout=_request_timeout
|
|
168
|
-
)
|
|
169
|
-
response_data.read()
|
|
170
|
-
return self.api_client.response_deserialize(
|
|
171
|
-
response_data=response_data,
|
|
172
|
-
response_types_map=_response_types_map,
|
|
173
|
-
)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
@validate_call
|
|
177
|
-
def newsletter_post_without_preload_content(
|
|
178
|
-
self,
|
|
179
|
-
newsletter_model: Annotated[Optional[NewsletterModel], Field(description="The model containing the email of a user and recaptcha token.")] = None,
|
|
180
|
-
_request_timeout: Union[
|
|
181
|
-
None,
|
|
182
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
183
|
-
Tuple[
|
|
184
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
185
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
186
|
-
]
|
|
187
|
-
] = None,
|
|
188
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
189
|
-
_content_type: Optional[StrictStr] = None,
|
|
190
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
191
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
192
|
-
) -> RESTResponseType:
|
|
193
|
-
"""(Deprecated) Signs a user up to the newsletter.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
:param newsletter_model: The model containing the email of a user and recaptcha token.
|
|
197
|
-
:type newsletter_model: NewsletterModel
|
|
198
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
199
|
-
number provided, it will be total request
|
|
200
|
-
timeout. It can also be a pair (tuple) of
|
|
201
|
-
(connection, read) timeouts.
|
|
202
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
203
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
204
|
-
request; this effectively ignores the
|
|
205
|
-
authentication in the spec for a single request.
|
|
206
|
-
:type _request_auth: dict, optional
|
|
207
|
-
:param _content_type: force content-type for the request.
|
|
208
|
-
:type _content_type: str, Optional
|
|
209
|
-
:param _headers: set to override the headers for a single
|
|
210
|
-
request; this effectively ignores the headers
|
|
211
|
-
in the spec for a single request.
|
|
212
|
-
:type _headers: dict, optional
|
|
213
|
-
:param _host_index: set to override the host_index for a single
|
|
214
|
-
request; this effectively ignores the host_index
|
|
215
|
-
in the spec for a single request.
|
|
216
|
-
:type _host_index: int, optional
|
|
217
|
-
:return: Returns the result object.
|
|
218
|
-
""" # noqa: E501
|
|
219
|
-
warnings.warn("POST /newsletter is deprecated.", DeprecationWarning)
|
|
220
|
-
|
|
221
|
-
_param = self._newsletter_post_serialize(
|
|
222
|
-
newsletter_model=newsletter_model,
|
|
223
|
-
_request_auth=_request_auth,
|
|
224
|
-
_content_type=_content_type,
|
|
225
|
-
_headers=_headers,
|
|
226
|
-
_host_index=_host_index
|
|
227
|
-
)
|
|
228
|
-
|
|
229
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
230
|
-
'200': None,
|
|
231
|
-
}
|
|
232
|
-
response_data = self.api_client.call_api(
|
|
233
|
-
*_param,
|
|
234
|
-
_request_timeout=_request_timeout
|
|
235
|
-
)
|
|
236
|
-
return response_data.response
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
def _newsletter_post_serialize(
|
|
240
|
-
self,
|
|
241
|
-
newsletter_model,
|
|
242
|
-
_request_auth,
|
|
243
|
-
_content_type,
|
|
244
|
-
_headers,
|
|
245
|
-
_host_index,
|
|
246
|
-
) -> RequestSerialized:
|
|
247
|
-
|
|
248
|
-
_host = None
|
|
249
|
-
|
|
250
|
-
_collection_formats: Dict[str, str] = {
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
_path_params: Dict[str, str] = {}
|
|
254
|
-
_query_params: List[Tuple[str, str]] = []
|
|
255
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
256
|
-
_form_params: List[Tuple[str, str]] = []
|
|
257
|
-
_files: Dict[
|
|
258
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
259
|
-
] = {}
|
|
260
|
-
_body_params: Optional[bytes] = None
|
|
261
|
-
|
|
262
|
-
# process the path parameters
|
|
263
|
-
# process the query parameters
|
|
264
|
-
# process the header parameters
|
|
265
|
-
# process the form parameters
|
|
266
|
-
# process the body parameter
|
|
267
|
-
if newsletter_model is not None:
|
|
268
|
-
_body_params = newsletter_model
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
# set the HTTP header `Content-Type`
|
|
273
|
-
if _content_type:
|
|
274
|
-
_header_params['Content-Type'] = _content_type
|
|
275
|
-
else:
|
|
276
|
-
_default_content_type = (
|
|
277
|
-
self.api_client.select_header_content_type(
|
|
278
|
-
[
|
|
279
|
-
'application/json',
|
|
280
|
-
'text/json',
|
|
281
|
-
'application/*+json'
|
|
282
|
-
]
|
|
283
|
-
)
|
|
284
|
-
)
|
|
285
|
-
if _default_content_type is not None:
|
|
286
|
-
_header_params['Content-Type'] = _default_content_type
|
|
287
|
-
|
|
288
|
-
# authentication setting
|
|
289
|
-
_auth_settings: List[str] = [
|
|
290
|
-
'bearer',
|
|
291
|
-
'oauth2'
|
|
292
|
-
]
|
|
293
|
-
|
|
294
|
-
return self.api_client.param_serialize(
|
|
295
|
-
method='POST',
|
|
296
|
-
resource_path='/newsletter',
|
|
297
|
-
path_params=_path_params,
|
|
298
|
-
query_params=_query_params,
|
|
299
|
-
header_params=_header_params,
|
|
300
|
-
body=_body_params,
|
|
301
|
-
post_params=_form_params,
|
|
302
|
-
files=_files,
|
|
303
|
-
auth_settings=_auth_settings,
|
|
304
|
-
collection_formats=_collection_formats,
|
|
305
|
-
_host=_host,
|
|
306
|
-
_request_auth=_request_auth
|
|
307
|
-
)
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
42
|
@validate_call
|
|
313
43
|
def newsletter_subscribe_post(
|
|
314
44
|
self,
|
|
@@ -325,7 +55,7 @@ class NewsletterApi:
|
|
|
325
55
|
_content_type: Optional[StrictStr] = None,
|
|
326
56
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
327
57
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
328
|
-
) ->
|
|
58
|
+
) -> None:
|
|
329
59
|
"""Signs a user up to the newsletter.
|
|
330
60
|
|
|
331
61
|
|
|
@@ -362,7 +92,7 @@ class NewsletterApi:
|
|
|
362
92
|
)
|
|
363
93
|
|
|
364
94
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
365
|
-
'
|
|
95
|
+
'204': None,
|
|
366
96
|
}
|
|
367
97
|
response_data = self.api_client.call_api(
|
|
368
98
|
*_param,
|
|
@@ -391,7 +121,7 @@ class NewsletterApi:
|
|
|
391
121
|
_content_type: Optional[StrictStr] = None,
|
|
392
122
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
393
123
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
394
|
-
) -> ApiResponse[
|
|
124
|
+
) -> ApiResponse[None]:
|
|
395
125
|
"""Signs a user up to the newsletter.
|
|
396
126
|
|
|
397
127
|
|
|
@@ -428,7 +158,7 @@ class NewsletterApi:
|
|
|
428
158
|
)
|
|
429
159
|
|
|
430
160
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
431
|
-
'
|
|
161
|
+
'204': None,
|
|
432
162
|
}
|
|
433
163
|
response_data = self.api_client.call_api(
|
|
434
164
|
*_param,
|
|
@@ -494,7 +224,7 @@ class NewsletterApi:
|
|
|
494
224
|
)
|
|
495
225
|
|
|
496
226
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
497
|
-
'
|
|
227
|
+
'204': None,
|
|
498
228
|
}
|
|
499
229
|
response_data = self.api_client.call_api(
|
|
500
230
|
*_param,
|
|
@@ -535,15 +265,6 @@ class NewsletterApi:
|
|
|
535
265
|
_body_params = newsletter_model
|
|
536
266
|
|
|
537
267
|
|
|
538
|
-
# set the HTTP header `Accept`
|
|
539
|
-
if 'Accept' not in _header_params:
|
|
540
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
541
|
-
[
|
|
542
|
-
'text/plain',
|
|
543
|
-
'application/json',
|
|
544
|
-
'text/json'
|
|
545
|
-
]
|
|
546
|
-
)
|
|
547
268
|
|
|
548
269
|
# set the HTTP header `Content-Type`
|
|
549
270
|
if _content_type:
|
|
@@ -601,7 +322,7 @@ class NewsletterApi:
|
|
|
601
322
|
_content_type: Optional[StrictStr] = None,
|
|
602
323
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
603
324
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
604
|
-
) ->
|
|
325
|
+
) -> None:
|
|
605
326
|
"""Unsubscribes a user from the newsletter.
|
|
606
327
|
|
|
607
328
|
|
|
@@ -638,7 +359,7 @@ class NewsletterApi:
|
|
|
638
359
|
)
|
|
639
360
|
|
|
640
361
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
641
|
-
'
|
|
362
|
+
'204': None,
|
|
642
363
|
}
|
|
643
364
|
response_data = self.api_client.call_api(
|
|
644
365
|
*_param,
|
|
@@ -667,7 +388,7 @@ class NewsletterApi:
|
|
|
667
388
|
_content_type: Optional[StrictStr] = None,
|
|
668
389
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
669
390
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
670
|
-
) -> ApiResponse[
|
|
391
|
+
) -> ApiResponse[None]:
|
|
671
392
|
"""Unsubscribes a user from the newsletter.
|
|
672
393
|
|
|
673
394
|
|
|
@@ -704,7 +425,7 @@ class NewsletterApi:
|
|
|
704
425
|
)
|
|
705
426
|
|
|
706
427
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
707
|
-
'
|
|
428
|
+
'204': None,
|
|
708
429
|
}
|
|
709
430
|
response_data = self.api_client.call_api(
|
|
710
431
|
*_param,
|
|
@@ -770,7 +491,7 @@ class NewsletterApi:
|
|
|
770
491
|
)
|
|
771
492
|
|
|
772
493
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
773
|
-
'
|
|
494
|
+
'204': None,
|
|
774
495
|
}
|
|
775
496
|
response_data = self.api_client.call_api(
|
|
776
497
|
*_param,
|
|
@@ -811,15 +532,6 @@ class NewsletterApi:
|
|
|
811
532
|
_body_params = newsletter_model
|
|
812
533
|
|
|
813
534
|
|
|
814
|
-
# set the HTTP header `Accept`
|
|
815
|
-
if 'Accept' not in _header_params:
|
|
816
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
817
|
-
[
|
|
818
|
-
'text/plain',
|
|
819
|
-
'application/json',
|
|
820
|
-
'text/json'
|
|
821
|
-
]
|
|
822
|
-
)
|
|
823
535
|
|
|
824
536
|
# set the HTTP header `Content-Type`
|
|
825
537
|
if _content_type:
|