rapidata 1.7.0__py3-none-any.whl → 1.7.1__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/api_client/__init__.py +6 -1
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/client_api.py +836 -0
- rapidata/api_client/api/identity_api.py +305 -49
- rapidata/api_client/api/order_api.py +7 -7
- rapidata/api_client/models/__init__.py +5 -1
- rapidata/api_client/models/clients_query_result.py +107 -0
- rapidata/api_client/models/clients_query_result_paged_result.py +105 -0
- rapidata/api_client/models/create_bridge_token_result.py +89 -0
- rapidata/api_client/models/create_client_model.py +1 -1
- rapidata/api_client/models/problem_details.py +133 -0
- rapidata/api_client/models/query_model.py +8 -8
- rapidata/api_client/models/read_bridge_token_keys_result.py +99 -0
- rapidata/api_client_README.md +10 -2
- rapidata/rapidata_client/assets/media_asset.py +19 -0
- rapidata/rapidata_client/dataset/rapidata_dataset.py +8 -7
- {rapidata-1.7.0.dist-info → rapidata-1.7.1.dist-info}/METADATA +1 -1
- {rapidata-1.7.0.dist-info → rapidata-1.7.1.dist-info}/RECORD +20 -14
- {rapidata-1.7.0.dist-info → rapidata-1.7.1.dist-info}/LICENSE +0 -0
- {rapidata-1.7.0.dist-info → rapidata-1.7.1.dist-info}/WHEEL +0 -0
|
@@ -16,11 +16,11 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field
|
|
19
|
+
from pydantic import Field, StrictStr
|
|
20
20
|
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
-
from rapidata.api_client.models.
|
|
23
|
-
from rapidata.api_client.models.
|
|
22
|
+
from rapidata.api_client.models.create_bridge_token_result import CreateBridgeTokenResult
|
|
23
|
+
from rapidata.api_client.models.read_bridge_token_keys_result import ReadBridgeTokenKeysResult
|
|
24
24
|
from rapidata.api_client.models.register_temporary_customer_model import RegisterTemporaryCustomerModel
|
|
25
25
|
|
|
26
26
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
@@ -42,9 +42,9 @@ class IdentityApi:
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
@validate_call
|
|
45
|
-
def
|
|
45
|
+
def identity_create_bridge_token_post(
|
|
46
46
|
self,
|
|
47
|
-
|
|
47
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
48
48
|
_request_timeout: Union[
|
|
49
49
|
None,
|
|
50
50
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -57,12 +57,12 @@ class IdentityApi:
|
|
|
57
57
|
_content_type: Optional[StrictStr] = None,
|
|
58
58
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
59
59
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
60
|
-
) ->
|
|
61
|
-
"""Creates a
|
|
60
|
+
) -> CreateBridgeTokenResult:
|
|
61
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
:param
|
|
65
|
-
:type
|
|
64
|
+
:param client_id: The client ID to create the keys for.
|
|
65
|
+
:type client_id: str
|
|
66
66
|
:param _request_timeout: timeout setting for this request. If one
|
|
67
67
|
number provided, it will be total request
|
|
68
68
|
timeout. It can also be a pair (tuple) of
|
|
@@ -85,8 +85,8 @@ class IdentityApi:
|
|
|
85
85
|
:return: Returns the result object.
|
|
86
86
|
""" # noqa: E501
|
|
87
87
|
|
|
88
|
-
_param = self.
|
|
89
|
-
|
|
88
|
+
_param = self._identity_create_bridge_token_post_serialize(
|
|
89
|
+
client_id=client_id,
|
|
90
90
|
_request_auth=_request_auth,
|
|
91
91
|
_content_type=_content_type,
|
|
92
92
|
_headers=_headers,
|
|
@@ -94,7 +94,7 @@ class IdentityApi:
|
|
|
94
94
|
)
|
|
95
95
|
|
|
96
96
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
97
|
-
'200': "
|
|
97
|
+
'200': "CreateBridgeTokenResult",
|
|
98
98
|
}
|
|
99
99
|
response_data = self.api_client.call_api(
|
|
100
100
|
*_param,
|
|
@@ -108,9 +108,9 @@ class IdentityApi:
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
@validate_call
|
|
111
|
-
def
|
|
111
|
+
def identity_create_bridge_token_post_with_http_info(
|
|
112
112
|
self,
|
|
113
|
-
|
|
113
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
114
114
|
_request_timeout: Union[
|
|
115
115
|
None,
|
|
116
116
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -123,12 +123,12 @@ class IdentityApi:
|
|
|
123
123
|
_content_type: Optional[StrictStr] = None,
|
|
124
124
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
125
125
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
126
|
-
) -> ApiResponse[
|
|
127
|
-
"""Creates a
|
|
126
|
+
) -> ApiResponse[CreateBridgeTokenResult]:
|
|
127
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
:param
|
|
131
|
-
:type
|
|
130
|
+
:param client_id: The client ID to create the keys for.
|
|
131
|
+
:type client_id: str
|
|
132
132
|
:param _request_timeout: timeout setting for this request. If one
|
|
133
133
|
number provided, it will be total request
|
|
134
134
|
timeout. It can also be a pair (tuple) of
|
|
@@ -151,8 +151,8 @@ class IdentityApi:
|
|
|
151
151
|
:return: Returns the result object.
|
|
152
152
|
""" # noqa: E501
|
|
153
153
|
|
|
154
|
-
_param = self.
|
|
155
|
-
|
|
154
|
+
_param = self._identity_create_bridge_token_post_serialize(
|
|
155
|
+
client_id=client_id,
|
|
156
156
|
_request_auth=_request_auth,
|
|
157
157
|
_content_type=_content_type,
|
|
158
158
|
_headers=_headers,
|
|
@@ -160,7 +160,7 @@ class IdentityApi:
|
|
|
160
160
|
)
|
|
161
161
|
|
|
162
162
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
163
|
-
'200': "
|
|
163
|
+
'200': "CreateBridgeTokenResult",
|
|
164
164
|
}
|
|
165
165
|
response_data = self.api_client.call_api(
|
|
166
166
|
*_param,
|
|
@@ -174,9 +174,9 @@ class IdentityApi:
|
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
@validate_call
|
|
177
|
-
def
|
|
177
|
+
def identity_create_bridge_token_post_without_preload_content(
|
|
178
178
|
self,
|
|
179
|
-
|
|
179
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
180
180
|
_request_timeout: Union[
|
|
181
181
|
None,
|
|
182
182
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -190,11 +190,11 @@ class IdentityApi:
|
|
|
190
190
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
191
191
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
192
192
|
) -> RESTResponseType:
|
|
193
|
-
"""Creates a
|
|
193
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
194
194
|
|
|
195
195
|
|
|
196
|
-
:param
|
|
197
|
-
:type
|
|
196
|
+
:param client_id: The client ID to create the keys for.
|
|
197
|
+
:type client_id: str
|
|
198
198
|
:param _request_timeout: timeout setting for this request. If one
|
|
199
199
|
number provided, it will be total request
|
|
200
200
|
timeout. It can also be a pair (tuple) of
|
|
@@ -217,8 +217,8 @@ class IdentityApi:
|
|
|
217
217
|
:return: Returns the result object.
|
|
218
218
|
""" # noqa: E501
|
|
219
219
|
|
|
220
|
-
_param = self.
|
|
221
|
-
|
|
220
|
+
_param = self._identity_create_bridge_token_post_serialize(
|
|
221
|
+
client_id=client_id,
|
|
222
222
|
_request_auth=_request_auth,
|
|
223
223
|
_content_type=_content_type,
|
|
224
224
|
_headers=_headers,
|
|
@@ -226,7 +226,7 @@ class IdentityApi:
|
|
|
226
226
|
)
|
|
227
227
|
|
|
228
228
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
229
|
-
'200': "
|
|
229
|
+
'200': "CreateBridgeTokenResult",
|
|
230
230
|
}
|
|
231
231
|
response_data = self.api_client.call_api(
|
|
232
232
|
*_param,
|
|
@@ -235,9 +235,9 @@ class IdentityApi:
|
|
|
235
235
|
return response_data.response
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
def
|
|
238
|
+
def _identity_create_bridge_token_post_serialize(
|
|
239
239
|
self,
|
|
240
|
-
|
|
240
|
+
client_id,
|
|
241
241
|
_request_auth,
|
|
242
242
|
_content_type,
|
|
243
243
|
_headers,
|
|
@@ -260,11 +260,13 @@ class IdentityApi:
|
|
|
260
260
|
|
|
261
261
|
# process the path parameters
|
|
262
262
|
# process the query parameters
|
|
263
|
+
if client_id is not None:
|
|
264
|
+
|
|
265
|
+
_query_params.append(('clientId', client_id))
|
|
266
|
+
|
|
263
267
|
# process the header parameters
|
|
264
268
|
# process the form parameters
|
|
265
269
|
# process the body parameter
|
|
266
|
-
if create_client_model is not None:
|
|
267
|
-
_body_params = create_client_model
|
|
268
270
|
|
|
269
271
|
|
|
270
272
|
# set the HTTP header `Accept`
|
|
@@ -277,21 +279,6 @@ class IdentityApi:
|
|
|
277
279
|
]
|
|
278
280
|
)
|
|
279
281
|
|
|
280
|
-
# set the HTTP header `Content-Type`
|
|
281
|
-
if _content_type:
|
|
282
|
-
_header_params['Content-Type'] = _content_type
|
|
283
|
-
else:
|
|
284
|
-
_default_content_type = (
|
|
285
|
-
self.api_client.select_header_content_type(
|
|
286
|
-
[
|
|
287
|
-
'application/json',
|
|
288
|
-
'text/json',
|
|
289
|
-
'application/*+json'
|
|
290
|
-
]
|
|
291
|
-
)
|
|
292
|
-
)
|
|
293
|
-
if _default_content_type is not None:
|
|
294
|
-
_header_params['Content-Type'] = _default_content_type
|
|
295
282
|
|
|
296
283
|
# authentication setting
|
|
297
284
|
_auth_settings: List[str] = [
|
|
@@ -301,7 +288,276 @@ class IdentityApi:
|
|
|
301
288
|
|
|
302
289
|
return self.api_client.param_serialize(
|
|
303
290
|
method='POST',
|
|
304
|
-
resource_path='/Identity/
|
|
291
|
+
resource_path='/Identity/CreateBridgeToken',
|
|
292
|
+
path_params=_path_params,
|
|
293
|
+
query_params=_query_params,
|
|
294
|
+
header_params=_header_params,
|
|
295
|
+
body=_body_params,
|
|
296
|
+
post_params=_form_params,
|
|
297
|
+
files=_files,
|
|
298
|
+
auth_settings=_auth_settings,
|
|
299
|
+
collection_formats=_collection_formats,
|
|
300
|
+
_host=_host,
|
|
301
|
+
_request_auth=_request_auth
|
|
302
|
+
)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
@validate_call
|
|
308
|
+
def identity_read_bridge_token_get(
|
|
309
|
+
self,
|
|
310
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
311
|
+
_request_timeout: Union[
|
|
312
|
+
None,
|
|
313
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
314
|
+
Tuple[
|
|
315
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
316
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
317
|
+
]
|
|
318
|
+
] = None,
|
|
319
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
320
|
+
_content_type: Optional[StrictStr] = None,
|
|
321
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
322
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
323
|
+
) -> ReadBridgeTokenKeysResult:
|
|
324
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
328
|
+
:type read_key: str
|
|
329
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
330
|
+
number provided, it will be total request
|
|
331
|
+
timeout. It can also be a pair (tuple) of
|
|
332
|
+
(connection, read) timeouts.
|
|
333
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
334
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
335
|
+
request; this effectively ignores the
|
|
336
|
+
authentication in the spec for a single request.
|
|
337
|
+
:type _request_auth: dict, optional
|
|
338
|
+
:param _content_type: force content-type for the request.
|
|
339
|
+
:type _content_type: str, Optional
|
|
340
|
+
:param _headers: set to override the headers for a single
|
|
341
|
+
request; this effectively ignores the headers
|
|
342
|
+
in the spec for a single request.
|
|
343
|
+
:type _headers: dict, optional
|
|
344
|
+
:param _host_index: set to override the host_index for a single
|
|
345
|
+
request; this effectively ignores the host_index
|
|
346
|
+
in the spec for a single request.
|
|
347
|
+
:type _host_index: int, optional
|
|
348
|
+
:return: Returns the result object.
|
|
349
|
+
""" # noqa: E501
|
|
350
|
+
|
|
351
|
+
_param = self._identity_read_bridge_token_get_serialize(
|
|
352
|
+
read_key=read_key,
|
|
353
|
+
_request_auth=_request_auth,
|
|
354
|
+
_content_type=_content_type,
|
|
355
|
+
_headers=_headers,
|
|
356
|
+
_host_index=_host_index
|
|
357
|
+
)
|
|
358
|
+
|
|
359
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
360
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
361
|
+
'202': None,
|
|
362
|
+
'404': "ProblemDetails",
|
|
363
|
+
}
|
|
364
|
+
response_data = self.api_client.call_api(
|
|
365
|
+
*_param,
|
|
366
|
+
_request_timeout=_request_timeout
|
|
367
|
+
)
|
|
368
|
+
response_data.read()
|
|
369
|
+
return self.api_client.response_deserialize(
|
|
370
|
+
response_data=response_data,
|
|
371
|
+
response_types_map=_response_types_map,
|
|
372
|
+
).data
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
@validate_call
|
|
376
|
+
def identity_read_bridge_token_get_with_http_info(
|
|
377
|
+
self,
|
|
378
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
379
|
+
_request_timeout: Union[
|
|
380
|
+
None,
|
|
381
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
382
|
+
Tuple[
|
|
383
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
384
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
385
|
+
]
|
|
386
|
+
] = None,
|
|
387
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
388
|
+
_content_type: Optional[StrictStr] = None,
|
|
389
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
390
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
391
|
+
) -> ApiResponse[ReadBridgeTokenKeysResult]:
|
|
392
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
396
|
+
:type read_key: str
|
|
397
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
398
|
+
number provided, it will be total request
|
|
399
|
+
timeout. It can also be a pair (tuple) of
|
|
400
|
+
(connection, read) timeouts.
|
|
401
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
402
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
403
|
+
request; this effectively ignores the
|
|
404
|
+
authentication in the spec for a single request.
|
|
405
|
+
:type _request_auth: dict, optional
|
|
406
|
+
:param _content_type: force content-type for the request.
|
|
407
|
+
:type _content_type: str, Optional
|
|
408
|
+
:param _headers: set to override the headers for a single
|
|
409
|
+
request; this effectively ignores the headers
|
|
410
|
+
in the spec for a single request.
|
|
411
|
+
:type _headers: dict, optional
|
|
412
|
+
:param _host_index: set to override the host_index for a single
|
|
413
|
+
request; this effectively ignores the host_index
|
|
414
|
+
in the spec for a single request.
|
|
415
|
+
:type _host_index: int, optional
|
|
416
|
+
:return: Returns the result object.
|
|
417
|
+
""" # noqa: E501
|
|
418
|
+
|
|
419
|
+
_param = self._identity_read_bridge_token_get_serialize(
|
|
420
|
+
read_key=read_key,
|
|
421
|
+
_request_auth=_request_auth,
|
|
422
|
+
_content_type=_content_type,
|
|
423
|
+
_headers=_headers,
|
|
424
|
+
_host_index=_host_index
|
|
425
|
+
)
|
|
426
|
+
|
|
427
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
428
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
429
|
+
'202': None,
|
|
430
|
+
'404': "ProblemDetails",
|
|
431
|
+
}
|
|
432
|
+
response_data = self.api_client.call_api(
|
|
433
|
+
*_param,
|
|
434
|
+
_request_timeout=_request_timeout
|
|
435
|
+
)
|
|
436
|
+
response_data.read()
|
|
437
|
+
return self.api_client.response_deserialize(
|
|
438
|
+
response_data=response_data,
|
|
439
|
+
response_types_map=_response_types_map,
|
|
440
|
+
)
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
@validate_call
|
|
444
|
+
def identity_read_bridge_token_get_without_preload_content(
|
|
445
|
+
self,
|
|
446
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
447
|
+
_request_timeout: Union[
|
|
448
|
+
None,
|
|
449
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
450
|
+
Tuple[
|
|
451
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
452
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
453
|
+
]
|
|
454
|
+
] = None,
|
|
455
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
456
|
+
_content_type: Optional[StrictStr] = None,
|
|
457
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
458
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
459
|
+
) -> RESTResponseType:
|
|
460
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
464
|
+
:type read_key: str
|
|
465
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
466
|
+
number provided, it will be total request
|
|
467
|
+
timeout. It can also be a pair (tuple) of
|
|
468
|
+
(connection, read) timeouts.
|
|
469
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
470
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
471
|
+
request; this effectively ignores the
|
|
472
|
+
authentication in the spec for a single request.
|
|
473
|
+
:type _request_auth: dict, optional
|
|
474
|
+
:param _content_type: force content-type for the request.
|
|
475
|
+
:type _content_type: str, Optional
|
|
476
|
+
:param _headers: set to override the headers for a single
|
|
477
|
+
request; this effectively ignores the headers
|
|
478
|
+
in the spec for a single request.
|
|
479
|
+
:type _headers: dict, optional
|
|
480
|
+
:param _host_index: set to override the host_index for a single
|
|
481
|
+
request; this effectively ignores the host_index
|
|
482
|
+
in the spec for a single request.
|
|
483
|
+
:type _host_index: int, optional
|
|
484
|
+
:return: Returns the result object.
|
|
485
|
+
""" # noqa: E501
|
|
486
|
+
|
|
487
|
+
_param = self._identity_read_bridge_token_get_serialize(
|
|
488
|
+
read_key=read_key,
|
|
489
|
+
_request_auth=_request_auth,
|
|
490
|
+
_content_type=_content_type,
|
|
491
|
+
_headers=_headers,
|
|
492
|
+
_host_index=_host_index
|
|
493
|
+
)
|
|
494
|
+
|
|
495
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
496
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
497
|
+
'202': None,
|
|
498
|
+
'404': "ProblemDetails",
|
|
499
|
+
}
|
|
500
|
+
response_data = self.api_client.call_api(
|
|
501
|
+
*_param,
|
|
502
|
+
_request_timeout=_request_timeout
|
|
503
|
+
)
|
|
504
|
+
return response_data.response
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
def _identity_read_bridge_token_get_serialize(
|
|
508
|
+
self,
|
|
509
|
+
read_key,
|
|
510
|
+
_request_auth,
|
|
511
|
+
_content_type,
|
|
512
|
+
_headers,
|
|
513
|
+
_host_index,
|
|
514
|
+
) -> RequestSerialized:
|
|
515
|
+
|
|
516
|
+
_host = None
|
|
517
|
+
|
|
518
|
+
_collection_formats: Dict[str, str] = {
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
_path_params: Dict[str, str] = {}
|
|
522
|
+
_query_params: List[Tuple[str, str]] = []
|
|
523
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
524
|
+
_form_params: List[Tuple[str, str]] = []
|
|
525
|
+
_files: Dict[
|
|
526
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
527
|
+
] = {}
|
|
528
|
+
_body_params: Optional[bytes] = None
|
|
529
|
+
|
|
530
|
+
# process the path parameters
|
|
531
|
+
# process the query parameters
|
|
532
|
+
if read_key is not None:
|
|
533
|
+
|
|
534
|
+
_query_params.append(('readKey', read_key))
|
|
535
|
+
|
|
536
|
+
# process the header parameters
|
|
537
|
+
# process the form parameters
|
|
538
|
+
# process the body parameter
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
# set the HTTP header `Accept`
|
|
542
|
+
if 'Accept' not in _header_params:
|
|
543
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
544
|
+
[
|
|
545
|
+
'text/plain',
|
|
546
|
+
'application/json',
|
|
547
|
+
'text/json'
|
|
548
|
+
]
|
|
549
|
+
)
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
# authentication setting
|
|
553
|
+
_auth_settings: List[str] = [
|
|
554
|
+
'bearer',
|
|
555
|
+
'oauth2'
|
|
556
|
+
]
|
|
557
|
+
|
|
558
|
+
return self.api_client.param_serialize(
|
|
559
|
+
method='GET',
|
|
560
|
+
resource_path='/Identity/ReadBridgeToken',
|
|
305
561
|
path_params=_path_params,
|
|
306
562
|
query_params=_query_params,
|
|
307
563
|
header_params=_header_params,
|
|
@@ -31,7 +31,7 @@ from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
|
31
31
|
from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
|
|
32
32
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
33
33
|
from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
|
|
34
|
-
from rapidata.api_client.models.
|
|
34
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
35
35
|
from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
|
|
36
36
|
from rapidata.api_client.models.update_access_model import UpdateAccessModel
|
|
37
37
|
from rapidata.api_client.models.update_order_model import UpdateOrderModel
|
|
@@ -2959,7 +2959,7 @@ class OrderApi:
|
|
|
2959
2959
|
@validate_call
|
|
2960
2960
|
def order_query_get(
|
|
2961
2961
|
self,
|
|
2962
|
-
request: Annotated[Optional[
|
|
2962
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
2963
2963
|
_request_timeout: Union[
|
|
2964
2964
|
None,
|
|
2965
2965
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2977,7 +2977,7 @@ class OrderApi:
|
|
|
2977
2977
|
|
|
2978
2978
|
|
|
2979
2979
|
:param request: The parameters for filtering, paging, and sorting
|
|
2980
|
-
:type request:
|
|
2980
|
+
:type request: QueryModel
|
|
2981
2981
|
:param _request_timeout: timeout setting for this request. If one
|
|
2982
2982
|
number provided, it will be total request
|
|
2983
2983
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3025,7 +3025,7 @@ class OrderApi:
|
|
|
3025
3025
|
@validate_call
|
|
3026
3026
|
def order_query_get_with_http_info(
|
|
3027
3027
|
self,
|
|
3028
|
-
request: Annotated[Optional[
|
|
3028
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
3029
3029
|
_request_timeout: Union[
|
|
3030
3030
|
None,
|
|
3031
3031
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3043,7 +3043,7 @@ class OrderApi:
|
|
|
3043
3043
|
|
|
3044
3044
|
|
|
3045
3045
|
:param request: The parameters for filtering, paging, and sorting
|
|
3046
|
-
:type request:
|
|
3046
|
+
:type request: QueryModel
|
|
3047
3047
|
:param _request_timeout: timeout setting for this request. If one
|
|
3048
3048
|
number provided, it will be total request
|
|
3049
3049
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3091,7 +3091,7 @@ class OrderApi:
|
|
|
3091
3091
|
@validate_call
|
|
3092
3092
|
def order_query_get_without_preload_content(
|
|
3093
3093
|
self,
|
|
3094
|
-
request: Annotated[Optional[
|
|
3094
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
3095
3095
|
_request_timeout: Union[
|
|
3096
3096
|
None,
|
|
3097
3097
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3109,7 +3109,7 @@ class OrderApi:
|
|
|
3109
3109
|
|
|
3110
3110
|
|
|
3111
3111
|
:param request: The parameters for filtering, paging, and sorting
|
|
3112
|
-
:type request:
|
|
3112
|
+
:type request: QueryModel
|
|
3113
3113
|
:param _request_timeout: timeout setting for this request. If one
|
|
3114
3114
|
number provided, it will be total request
|
|
3115
3115
|
timeout. It can also be a pair (tuple) of
|
|
@@ -44,6 +44,8 @@ from rapidata.api_client.models.classification_metadata import ClassificationMet
|
|
|
44
44
|
from rapidata.api_client.models.classification_metadata_filter_config import ClassificationMetadataFilterConfig
|
|
45
45
|
from rapidata.api_client.models.classification_metadata_model import ClassificationMetadataModel
|
|
46
46
|
from rapidata.api_client.models.classify_payload import ClassifyPayload
|
|
47
|
+
from rapidata.api_client.models.clients_query_result import ClientsQueryResult
|
|
48
|
+
from rapidata.api_client.models.clients_query_result_paged_result import ClientsQueryResultPagedResult
|
|
47
49
|
from rapidata.api_client.models.clone_dataset_model import CloneDatasetModel
|
|
48
50
|
from rapidata.api_client.models.clone_order_model import CloneOrderModel
|
|
49
51
|
from rapidata.api_client.models.clone_order_result import CloneOrderResult
|
|
@@ -65,6 +67,7 @@ from rapidata.api_client.models.count_classification_metadata_filter_config impo
|
|
|
65
67
|
from rapidata.api_client.models.count_metadata import CountMetadata
|
|
66
68
|
from rapidata.api_client.models.count_metadata_model import CountMetadataModel
|
|
67
69
|
from rapidata.api_client.models.country_user_filter_model import CountryUserFilterModel
|
|
70
|
+
from rapidata.api_client.models.create_bridge_token_result import CreateBridgeTokenResult
|
|
68
71
|
from rapidata.api_client.models.create_client_model import CreateClientModel
|
|
69
72
|
from rapidata.api_client.models.create_client_result import CreateClientResult
|
|
70
73
|
from rapidata.api_client.models.create_complex_order_model import CreateComplexOrderModel
|
|
@@ -189,6 +192,7 @@ from rapidata.api_client.models.polygon_result import PolygonResult
|
|
|
189
192
|
from rapidata.api_client.models.polygon_truth import PolygonTruth
|
|
190
193
|
from rapidata.api_client.models.private_text_metadata_input import PrivateTextMetadataInput
|
|
191
194
|
from rapidata.api_client.models.probabilistic_attach_category_referee_config import ProbabilisticAttachCategoryRefereeConfig
|
|
195
|
+
from rapidata.api_client.models.problem_details import ProblemDetails
|
|
192
196
|
from rapidata.api_client.models.prompt_metadata import PromptMetadata
|
|
193
197
|
from rapidata.api_client.models.prompt_metadata_input import PromptMetadataInput
|
|
194
198
|
from rapidata.api_client.models.prompt_metadata_model import PromptMetadataModel
|
|
@@ -196,7 +200,6 @@ from rapidata.api_client.models.public_order_model import PublicOrderModel
|
|
|
196
200
|
from rapidata.api_client.models.public_text_metadata_input import PublicTextMetadataInput
|
|
197
201
|
from rapidata.api_client.models.query_campaigns_model import QueryCampaignsModel
|
|
198
202
|
from rapidata.api_client.models.query_model import QueryModel
|
|
199
|
-
from rapidata.api_client.models.query_orders_model import QueryOrdersModel
|
|
200
203
|
from rapidata.api_client.models.query_validation_rapids_result import QueryValidationRapidsResult
|
|
201
204
|
from rapidata.api_client.models.query_validation_rapids_result_asset import QueryValidationRapidsResultAsset
|
|
202
205
|
from rapidata.api_client.models.query_validation_rapids_result_paged_result import QueryValidationRapidsResultPagedResult
|
|
@@ -208,6 +211,7 @@ from rapidata.api_client.models.rapid_answer_result import RapidAnswerResult
|
|
|
208
211
|
from rapidata.api_client.models.rapid_result_model import RapidResultModel
|
|
209
212
|
from rapidata.api_client.models.rapid_result_model_result import RapidResultModelResult
|
|
210
213
|
from rapidata.api_client.models.rapid_skipped_model import RapidSkippedModel
|
|
214
|
+
from rapidata.api_client.models.read_bridge_token_keys_result import ReadBridgeTokenKeysResult
|
|
211
215
|
from rapidata.api_client.models.register_temporary_customer_model import RegisterTemporaryCustomerModel
|
|
212
216
|
from rapidata.api_client.models.root_filter import RootFilter
|
|
213
217
|
from rapidata.api_client.models.send_completion_mail_step_model import SendCompletionMailStepModel
|