rapidata 1.10.1__py3-none-any.whl → 2.0.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 +21 -17
- rapidata/api_client/__init__.py +15 -5
- rapidata/api_client/api/coco_api.py +14 -29
- rapidata/api_client/api/dataset_api.py +6 -6
- rapidata/api_client/api/identity_api.py +3 -3
- rapidata/api_client/api/pipeline_api.py +1008 -95
- rapidata/api_client/api/rapid_api.py +6 -6
- rapidata/api_client/api/validation_api.py +12 -42
- rapidata/api_client/models/__init__.py +15 -5
- rapidata/api_client/models/add_campaign_model.py +1 -3
- rapidata/api_client/models/add_validation_text_rapid_model.py +1 -1
- rapidata/api_client/models/age_group.py +5 -4
- rapidata/api_client/models/base_error.py +1 -4
- rapidata/api_client/models/compare_workflow_config.py +9 -24
- rapidata/api_client/models/compare_workflow_config_model.py +9 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +140 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +140 -0
- rapidata/api_client/models/compare_workflow_model.py +7 -3
- rapidata/api_client/models/compare_workflow_model1.py +7 -3
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +140 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +140 -0
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/get_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +13 -3
- rapidata/api_client/models/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/not_available_yet_result.py +96 -0
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/pipeline_id_workflow_put_request.py +140 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +11 -2
- rapidata/api_client/models/simple_workflow_config.py +7 -26
- rapidata/api_client/models/simple_workflow_config_model.py +4 -28
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model1.py +3 -3
- rapidata/api_client/models/update_campaign_model.py +99 -0
- rapidata/api_client/models/validation_import_post_request_blueprint.py +1 -1
- rapidata/api_client_README.md +20 -7
- rapidata/rapidata_client/__init__.py +18 -9
- rapidata/rapidata_client/assets/__init__.py +5 -4
- rapidata/rapidata_client/assets/{media_asset.py → _media_asset.py} +32 -11
- rapidata/rapidata_client/assets/{multi_asset.py → _multi_asset.py} +1 -1
- rapidata/rapidata_client/assets/{text_asset.py → _text_asset.py} +1 -1
- rapidata/rapidata_client/assets/data_type_enum.py +7 -0
- rapidata/rapidata_client/filter/__init__.py +1 -1
- rapidata/rapidata_client/filter/_base_filter.py +10 -0
- rapidata/rapidata_client/filter/age_filter.py +12 -5
- rapidata/rapidata_client/filter/campaign_filter.py +12 -3
- rapidata/rapidata_client/filter/country_filter.py +10 -3
- rapidata/rapidata_client/filter/gender_filter.py +12 -5
- rapidata/rapidata_client/filter/language_filter.py +14 -3
- rapidata/rapidata_client/filter/models/age_group.py +26 -0
- rapidata/rapidata_client/filter/models/gender.py +19 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +31 -0
- rapidata/rapidata_client/filter/user_score_filter.py +20 -4
- rapidata/rapidata_client/metadata/__init__.py +5 -5
- rapidata/rapidata_client/metadata/{base_metadata.py → _base_metadata.py} +2 -1
- rapidata/rapidata_client/metadata/{private_text_metadata.py → _private_text_metadata.py} +2 -2
- rapidata/rapidata_client/metadata/{prompt_metadata.py → _prompt_metadata.py} +3 -2
- rapidata/rapidata_client/metadata/{public_text_metadata.py → _public_text_metadata.py} +2 -2
- rapidata/rapidata_client/metadata/{select_words_metadata.py → _select_words_metadata.py} +3 -2
- rapidata/rapidata_client/{dataset/rapidata_dataset.py → order/_rapidata_dataset.py} +7 -8
- rapidata/rapidata_client/order/_rapidata_order_builder.py +365 -0
- rapidata/rapidata_client/order/rapidata_order.py +49 -31
- rapidata/rapidata_client/order/rapidata_order_manager.py +461 -0
- rapidata/rapidata_client/rapidata_client.py +12 -201
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +3 -3
- rapidata/rapidata_client/referee/{early_stopping_referee.py → _early_stopping_referee.py} +14 -11
- rapidata/rapidata_client/referee/{naive_referee.py → _naive_referee.py} +9 -9
- rapidata/rapidata_client/selection/__init__.py +1 -1
- rapidata/rapidata_client/{filter/base_filter.py → selection/_base_selection.py} +2 -2
- rapidata/rapidata_client/selection/capped_selection.py +15 -5
- rapidata/rapidata_client/selection/conditional_validation_selection.py +17 -4
- rapidata/rapidata_client/selection/demographic_selection.py +18 -7
- rapidata/rapidata_client/selection/labeling_selection.py +10 -3
- rapidata/rapidata_client/selection/rapidata_selections.py +21 -0
- rapidata/rapidata_client/selection/validation_selection.py +11 -4
- rapidata/rapidata_client/settings/__init__.py +9 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +11 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +21 -0
- rapidata/rapidata_client/settings/custom_setting.py +16 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +16 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +14 -0
- rapidata/rapidata_client/settings/no_shuffle.py +16 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +16 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +31 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +18 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/{dataset/validation_rapid_parts.py → validation/_validation_rapid_parts.py} +7 -6
- rapidata/rapidata_client/validation/_validation_set_builder.py +371 -0
- rapidata/rapidata_client/{dataset → validation}/rapidata_validation_set.py +54 -50
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/box.py +17 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +94 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +163 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +335 -0
- rapidata/rapidata_client/workflow/__init__.py +8 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -0
- rapidata/rapidata_client/workflow/{classify_workflow.py → _classify_workflow.py} +6 -6
- rapidata/rapidata_client/workflow/{compare_workflow.py → _compare_workflow.py} +10 -16
- rapidata/rapidata_client/workflow/_draw_workflow.py +22 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +26 -0
- rapidata/rapidata_client/workflow/{free_text_workflow.py → _free_text_workflow.py} +10 -16
- rapidata/rapidata_client/workflow/_locate_workflow.py +22 -0
- rapidata/rapidata_client/workflow/{select_words_workflow.py → _select_words_workflow.py} +2 -8
- rapidata/service/credential_manager.py +11 -1
- rapidata/service/openapi_service.py +23 -4
- {rapidata-1.10.1.dist-info → rapidata-2.0.0.dist-info}/METADATA +2 -1
- {rapidata-1.10.1.dist-info → rapidata-2.0.0.dist-info}/RECORD +118 -94
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/select_words_rapid_builders.py +0 -124
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -336
- rapidata/rapidata_client/order/order_builder.py +0 -25
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/selection/base_selection.py +0 -9
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/__init__.py +0 -0
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -271
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -267
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -192
- rapidata/rapidata_client/simple_builders/simple_select_words_builders.py +0 -196
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- /rapidata/rapidata_client/assets/{base_asset.py → _base_asset.py} +0 -0
- /rapidata/rapidata_client/{dataset → filter/models}/__init__.py +0 -0
- {rapidata-1.10.1.dist-info → rapidata-2.0.0.dist-info}/LICENSE +0 -0
- {rapidata-1.10.1.dist-info → rapidata-2.0.0.dist-info}/WHEEL +0 -0
rapidata/__init__.py
CHANGED
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
from .rapidata_client import (
|
|
2
2
|
RapidataClient,
|
|
3
|
-
|
|
4
|
-
SelectWordsWorkflow,
|
|
5
|
-
CompareWorkflow,
|
|
6
|
-
FreeTextWorkflow,
|
|
3
|
+
|
|
7
4
|
DemographicSelection,
|
|
8
5
|
LabelingSelection,
|
|
9
6
|
ValidationSelection,
|
|
10
7
|
ConditionalValidationSelection,
|
|
11
8
|
CappedSelection,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
TextAsset,
|
|
23
|
-
MultiAsset,
|
|
9
|
+
|
|
10
|
+
RapidataSettings,
|
|
11
|
+
TranslationBehaviourOptions,
|
|
12
|
+
AlertOnFastResponse,
|
|
13
|
+
TranslationBehaviour,
|
|
14
|
+
FreeTextMinimumCharacters,
|
|
15
|
+
NoShuffle,
|
|
16
|
+
PlayVideoUntilTheEnd,
|
|
17
|
+
CustomSetting,
|
|
18
|
+
|
|
24
19
|
CountryFilter,
|
|
25
20
|
LanguageFilter,
|
|
26
21
|
UserScoreFilter,
|
|
27
22
|
CampaignFilter,
|
|
28
|
-
|
|
23
|
+
AgeGroup,
|
|
24
|
+
Gender,
|
|
25
|
+
|
|
26
|
+
CountryCodes,
|
|
27
|
+
MediaAsset,
|
|
28
|
+
TextAsset,
|
|
29
|
+
MultiAsset,
|
|
30
|
+
RapidataDataTypes,
|
|
31
|
+
Box,
|
|
32
|
+
)
|
rapidata/api_client/__init__.py
CHANGED
|
@@ -87,10 +87,14 @@ from rapidata.api_client.models.compare_result import CompareResult
|
|
|
87
87
|
from rapidata.api_client.models.compare_truth import CompareTruth
|
|
88
88
|
from rapidata.api_client.models.compare_workflow_config import CompareWorkflowConfig
|
|
89
89
|
from rapidata.api_client.models.compare_workflow_config_model import CompareWorkflowConfigModel
|
|
90
|
+
from rapidata.api_client.models.compare_workflow_config_model_pair_maker_config import CompareWorkflowConfigModelPairMakerConfig
|
|
91
|
+
from rapidata.api_client.models.compare_workflow_config_pair_maker_config import CompareWorkflowConfigPairMakerConfig
|
|
90
92
|
from rapidata.api_client.models.compare_workflow_get_result_overview_get200_response import CompareWorkflowGetResultOverviewGet200Response
|
|
91
93
|
from rapidata.api_client.models.compare_workflow_model import CompareWorkflowModel
|
|
92
94
|
from rapidata.api_client.models.compare_workflow_model1 import CompareWorkflowModel1
|
|
95
|
+
from rapidata.api_client.models.compare_workflow_model1_pair_maker_information import CompareWorkflowModel1PairMakerInformation
|
|
93
96
|
from rapidata.api_client.models.compare_workflow_model1_referee import CompareWorkflowModel1Referee
|
|
97
|
+
from rapidata.api_client.models.compare_workflow_model_pair_maker_config import CompareWorkflowModelPairMakerConfig
|
|
94
98
|
from rapidata.api_client.models.completed_rapid_model import CompletedRapidModel
|
|
95
99
|
from rapidata.api_client.models.completed_rapid_model_asset import CompletedRapidModelAsset
|
|
96
100
|
from rapidata.api_client.models.conditional_validation_selection import ConditionalValidationSelection
|
|
@@ -131,7 +135,6 @@ from rapidata.api_client.models.demographic_metadata_model import DemographicMet
|
|
|
131
135
|
from rapidata.api_client.models.demographic_selection import DemographicSelection
|
|
132
136
|
from rapidata.api_client.models.early_stopping_referee_model import EarlyStoppingRefereeModel
|
|
133
137
|
from rapidata.api_client.models.empty_validation_truth import EmptyValidationTruth
|
|
134
|
-
from rapidata.api_client.models.error_type import ErrorType
|
|
135
138
|
from rapidata.api_client.models.evaluation_workflow_config import EvaluationWorkflowConfig
|
|
136
139
|
from rapidata.api_client.models.evaluation_workflow_model import EvaluationWorkflowModel
|
|
137
140
|
from rapidata.api_client.models.feature_flag import FeatureFlag
|
|
@@ -152,8 +155,8 @@ from rapidata.api_client.models.free_text_rapid_blueprint import FreeTextRapidBl
|
|
|
152
155
|
from rapidata.api_client.models.free_text_result import FreeTextResult
|
|
153
156
|
from rapidata.api_client.models.gender import Gender
|
|
154
157
|
from rapidata.api_client.models.gender_user_filter_model import GenderUserFilterModel
|
|
155
|
-
from rapidata.api_client.models.get_attach_category_workflow_result_overview_result import GetAttachCategoryWorkflowResultOverviewResult
|
|
156
158
|
from rapidata.api_client.models.get_available_validation_sets_result import GetAvailableValidationSetsResult
|
|
159
|
+
from rapidata.api_client.models.get_classify_workflow_result_overview_result import GetClassifyWorkflowResultOverviewResult
|
|
157
160
|
from rapidata.api_client.models.get_compare_workflow_result_overview_result import GetCompareWorkflowResultOverviewResult
|
|
158
161
|
from rapidata.api_client.models.get_compare_workflow_result_overview_small_result import GetCompareWorkflowResultOverviewSmallResult
|
|
159
162
|
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
@@ -170,6 +173,7 @@ from rapidata.api_client.models.get_workflow_by_id_result_workflow import GetWor
|
|
|
170
173
|
from rapidata.api_client.models.get_workflow_progress_result import GetWorkflowProgressResult
|
|
171
174
|
from rapidata.api_client.models.get_workflow_result_overview_result import GetWorkflowResultOverviewResult
|
|
172
175
|
from rapidata.api_client.models.i_workflow_model_paged_result import IWorkflowModelPagedResult
|
|
176
|
+
from rapidata.api_client.models.identity_read_bridge_token_get202_response import IdentityReadBridgeTokenGet202Response
|
|
173
177
|
from rapidata.api_client.models.image_dimension_metadata import ImageDimensionMetadata
|
|
174
178
|
from rapidata.api_client.models.image_dimension_metadata_model import ImageDimensionMetadataModel
|
|
175
179
|
from rapidata.api_client.models.import_from_file_result import ImportFromFileResult
|
|
@@ -207,21 +211,29 @@ from rapidata.api_client.models.named_entity_result import NamedEntityResult
|
|
|
207
211
|
from rapidata.api_client.models.named_entity_truth import NamedEntityTruth
|
|
208
212
|
from rapidata.api_client.models.never_ending_referee_config import NeverEndingRefereeConfig
|
|
209
213
|
from rapidata.api_client.models.newsletter_model import NewsletterModel
|
|
214
|
+
from rapidata.api_client.models.not_available_yet_result import NotAvailableYetResult
|
|
210
215
|
from rapidata.api_client.models.not_started_rapid_model import NotStartedRapidModel
|
|
211
216
|
from rapidata.api_client.models.null_asset import NullAsset
|
|
212
217
|
from rapidata.api_client.models.null_asset_model import NullAssetModel
|
|
213
218
|
from rapidata.api_client.models.null_asset_model1 import NullAssetModel1
|
|
214
219
|
from rapidata.api_client.models.null_asset_model2 import NullAssetModel2
|
|
220
|
+
from rapidata.api_client.models.online_pair_maker_config import OnlinePairMakerConfig
|
|
221
|
+
from rapidata.api_client.models.online_pair_maker_config_model import OnlinePairMakerConfigModel
|
|
222
|
+
from rapidata.api_client.models.online_pair_maker_information import OnlinePairMakerInformation
|
|
215
223
|
from rapidata.api_client.models.order_model import OrderModel
|
|
216
224
|
from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
|
|
217
225
|
from rapidata.api_client.models.order_state import OrderState
|
|
218
226
|
from rapidata.api_client.models.original_filename_metadata import OriginalFilenameMetadata
|
|
219
227
|
from rapidata.api_client.models.original_filename_metadata_model import OriginalFilenameMetadataModel
|
|
220
228
|
from rapidata.api_client.models.page_info import PageInfo
|
|
229
|
+
from rapidata.api_client.models.pipeline_id_workflow_put_request import PipelineIdWorkflowPutRequest
|
|
221
230
|
from rapidata.api_client.models.polygon_payload import PolygonPayload
|
|
222
231
|
from rapidata.api_client.models.polygon_rapid_blueprint import PolygonRapidBlueprint
|
|
223
232
|
from rapidata.api_client.models.polygon_result import PolygonResult
|
|
224
233
|
from rapidata.api_client.models.polygon_truth import PolygonTruth
|
|
234
|
+
from rapidata.api_client.models.pre_arranged_pair_maker_config import PreArrangedPairMakerConfig
|
|
235
|
+
from rapidata.api_client.models.pre_arranged_pair_maker_config_model import PreArrangedPairMakerConfigModel
|
|
236
|
+
from rapidata.api_client.models.pre_arranged_pair_maker_information import PreArrangedPairMakerInformation
|
|
225
237
|
from rapidata.api_client.models.private_text_metadata_input import PrivateTextMetadataInput
|
|
226
238
|
from rapidata.api_client.models.probabilistic_attach_category_referee_config import ProbabilisticAttachCategoryRefereeConfig
|
|
227
239
|
from rapidata.api_client.models.problem_details import ProblemDetails
|
|
@@ -255,7 +267,6 @@ from rapidata.api_client.models.simple_workflow_config_model_blueprint import Si
|
|
|
255
267
|
from rapidata.api_client.models.simple_workflow_get_result_overview_get200_response import SimpleWorkflowGetResultOverviewGet200Response
|
|
256
268
|
from rapidata.api_client.models.simple_workflow_model import SimpleWorkflowModel
|
|
257
269
|
from rapidata.api_client.models.simple_workflow_model1 import SimpleWorkflowModel1
|
|
258
|
-
from rapidata.api_client.models.simple_workflow_model1_blueprint import SimpleWorkflowModel1Blueprint
|
|
259
270
|
from rapidata.api_client.models.simple_workflow_model_blueprint import SimpleWorkflowModelBlueprint
|
|
260
271
|
from rapidata.api_client.models.skip_result import SkipResult
|
|
261
272
|
from rapidata.api_client.models.sort_criterion import SortCriterion
|
|
@@ -281,9 +292,8 @@ from rapidata.api_client.models.translated_prompt_metadata_model import Translat
|
|
|
281
292
|
from rapidata.api_client.models.translated_string import TranslatedString
|
|
282
293
|
from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
|
|
283
294
|
from rapidata.api_client.models.update_access_model import UpdateAccessModel
|
|
295
|
+
from rapidata.api_client.models.update_campaign_model import UpdateCampaignModel
|
|
284
296
|
from rapidata.api_client.models.update_order_model import UpdateOrderModel
|
|
285
|
-
from rapidata.api_client.models.update_workflow_config_request import UpdateWorkflowConfigRequest
|
|
286
|
-
from rapidata.api_client.models.update_workflow_config_request_config import UpdateWorkflowConfigRequestConfig
|
|
287
297
|
from rapidata.api_client.models.upload_coco_result import UploadCocoResult
|
|
288
298
|
from rapidata.api_client.models.upload_datapoints_result import UploadDatapointsResult
|
|
289
299
|
from rapidata.api_client.models.upload_files_from_s3_bucket_model import UploadFilesFromS3BucketModel
|
|
@@ -16,8 +16,8 @@ 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,
|
|
20
|
-
from typing import Optional
|
|
19
|
+
from pydantic import Field, StrictStr
|
|
20
|
+
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.submit_coco_model import SubmitCocoModel
|
|
23
23
|
from rapidata.api_client.models.submit_coco_result import SubmitCocoResult
|
|
@@ -320,9 +320,8 @@ class CocoApi:
|
|
|
320
320
|
@validate_call
|
|
321
321
|
def coco_upload_post(
|
|
322
322
|
self,
|
|
323
|
-
name:
|
|
324
|
-
title:
|
|
325
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file containing the CoCo set.")] = None,
|
|
323
|
+
name: Optional[StrictStr] = None,
|
|
324
|
+
title: Optional[StrictStr] = None,
|
|
326
325
|
_request_timeout: Union[
|
|
327
326
|
None,
|
|
328
327
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -339,12 +338,10 @@ class CocoApi:
|
|
|
339
338
|
"""Uploads a CoCo set to the system.
|
|
340
339
|
|
|
341
340
|
|
|
342
|
-
:param name:
|
|
341
|
+
:param name:
|
|
343
342
|
:type name: str
|
|
344
|
-
:param title:
|
|
343
|
+
:param title:
|
|
345
344
|
:type title: str
|
|
346
|
-
:param file: The file containing the CoCo set.
|
|
347
|
-
:type file: bytearray
|
|
348
345
|
:param _request_timeout: timeout setting for this request. If one
|
|
349
346
|
number provided, it will be total request
|
|
350
347
|
timeout. It can also be a pair (tuple) of
|
|
@@ -370,7 +367,6 @@ class CocoApi:
|
|
|
370
367
|
_param = self._coco_upload_post_serialize(
|
|
371
368
|
name=name,
|
|
372
369
|
title=title,
|
|
373
|
-
file=file,
|
|
374
370
|
_request_auth=_request_auth,
|
|
375
371
|
_content_type=_content_type,
|
|
376
372
|
_headers=_headers,
|
|
@@ -394,9 +390,8 @@ class CocoApi:
|
|
|
394
390
|
@validate_call
|
|
395
391
|
def coco_upload_post_with_http_info(
|
|
396
392
|
self,
|
|
397
|
-
name:
|
|
398
|
-
title:
|
|
399
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file containing the CoCo set.")] = None,
|
|
393
|
+
name: Optional[StrictStr] = None,
|
|
394
|
+
title: Optional[StrictStr] = None,
|
|
400
395
|
_request_timeout: Union[
|
|
401
396
|
None,
|
|
402
397
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -413,12 +408,10 @@ class CocoApi:
|
|
|
413
408
|
"""Uploads a CoCo set to the system.
|
|
414
409
|
|
|
415
410
|
|
|
416
|
-
:param name:
|
|
411
|
+
:param name:
|
|
417
412
|
:type name: str
|
|
418
|
-
:param title:
|
|
413
|
+
:param title:
|
|
419
414
|
:type title: str
|
|
420
|
-
:param file: The file containing the CoCo set.
|
|
421
|
-
:type file: bytearray
|
|
422
415
|
:param _request_timeout: timeout setting for this request. If one
|
|
423
416
|
number provided, it will be total request
|
|
424
417
|
timeout. It can also be a pair (tuple) of
|
|
@@ -444,7 +437,6 @@ class CocoApi:
|
|
|
444
437
|
_param = self._coco_upload_post_serialize(
|
|
445
438
|
name=name,
|
|
446
439
|
title=title,
|
|
447
|
-
file=file,
|
|
448
440
|
_request_auth=_request_auth,
|
|
449
441
|
_content_type=_content_type,
|
|
450
442
|
_headers=_headers,
|
|
@@ -468,9 +460,8 @@ class CocoApi:
|
|
|
468
460
|
@validate_call
|
|
469
461
|
def coco_upload_post_without_preload_content(
|
|
470
462
|
self,
|
|
471
|
-
name:
|
|
472
|
-
title:
|
|
473
|
-
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The file containing the CoCo set.")] = None,
|
|
463
|
+
name: Optional[StrictStr] = None,
|
|
464
|
+
title: Optional[StrictStr] = None,
|
|
474
465
|
_request_timeout: Union[
|
|
475
466
|
None,
|
|
476
467
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -487,12 +478,10 @@ class CocoApi:
|
|
|
487
478
|
"""Uploads a CoCo set to the system.
|
|
488
479
|
|
|
489
480
|
|
|
490
|
-
:param name:
|
|
481
|
+
:param name:
|
|
491
482
|
:type name: str
|
|
492
|
-
:param title:
|
|
483
|
+
:param title:
|
|
493
484
|
:type title: str
|
|
494
|
-
:param file: The file containing the CoCo set.
|
|
495
|
-
:type file: bytearray
|
|
496
485
|
:param _request_timeout: timeout setting for this request. If one
|
|
497
486
|
number provided, it will be total request
|
|
498
487
|
timeout. It can also be a pair (tuple) of
|
|
@@ -518,7 +507,6 @@ class CocoApi:
|
|
|
518
507
|
_param = self._coco_upload_post_serialize(
|
|
519
508
|
name=name,
|
|
520
509
|
title=title,
|
|
521
|
-
file=file,
|
|
522
510
|
_request_auth=_request_auth,
|
|
523
511
|
_content_type=_content_type,
|
|
524
512
|
_headers=_headers,
|
|
@@ -539,7 +527,6 @@ class CocoApi:
|
|
|
539
527
|
self,
|
|
540
528
|
name,
|
|
541
529
|
title,
|
|
542
|
-
file,
|
|
543
530
|
_request_auth,
|
|
544
531
|
_content_type,
|
|
545
532
|
_headers,
|
|
@@ -568,8 +555,6 @@ class CocoApi:
|
|
|
568
555
|
_form_params.append(('Name', name))
|
|
569
556
|
if title is not None:
|
|
570
557
|
_form_params.append(('Title', title))
|
|
571
|
-
if file is not None:
|
|
572
|
-
_files['File'] = file
|
|
573
558
|
# process the body parameter
|
|
574
559
|
|
|
575
560
|
|
|
@@ -326,7 +326,7 @@ class DatasetApi:
|
|
|
326
326
|
@validate_call
|
|
327
327
|
def dataset_create_datapoint_post(
|
|
328
328
|
self,
|
|
329
|
-
files:
|
|
329
|
+
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
330
330
|
model: Optional[DatapointMetadataModel] = None,
|
|
331
331
|
_request_timeout: Union[
|
|
332
332
|
None,
|
|
@@ -345,7 +345,7 @@ class DatasetApi:
|
|
|
345
345
|
|
|
346
346
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
347
347
|
|
|
348
|
-
:param files:
|
|
348
|
+
:param files:
|
|
349
349
|
:type files: List[bytearray]
|
|
350
350
|
:param model:
|
|
351
351
|
:type model: DatapointMetadataModel
|
|
@@ -397,7 +397,7 @@ class DatasetApi:
|
|
|
397
397
|
@validate_call
|
|
398
398
|
def dataset_create_datapoint_post_with_http_info(
|
|
399
399
|
self,
|
|
400
|
-
files:
|
|
400
|
+
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
401
401
|
model: Optional[DatapointMetadataModel] = None,
|
|
402
402
|
_request_timeout: Union[
|
|
403
403
|
None,
|
|
@@ -416,7 +416,7 @@ class DatasetApi:
|
|
|
416
416
|
|
|
417
417
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
418
418
|
|
|
419
|
-
:param files:
|
|
419
|
+
:param files:
|
|
420
420
|
:type files: List[bytearray]
|
|
421
421
|
:param model:
|
|
422
422
|
:type model: DatapointMetadataModel
|
|
@@ -468,7 +468,7 @@ class DatasetApi:
|
|
|
468
468
|
@validate_call
|
|
469
469
|
def dataset_create_datapoint_post_without_preload_content(
|
|
470
470
|
self,
|
|
471
|
-
files:
|
|
471
|
+
files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
472
472
|
model: Optional[DatapointMetadataModel] = None,
|
|
473
473
|
_request_timeout: Union[
|
|
474
474
|
None,
|
|
@@ -487,7 +487,7 @@ class DatasetApi:
|
|
|
487
487
|
|
|
488
488
|
If multiple files are uploaded, a multi asset datapoint will be created.
|
|
489
489
|
|
|
490
|
-
:param files:
|
|
490
|
+
:param files:
|
|
491
491
|
:type files: List[bytearray]
|
|
492
492
|
:param model:
|
|
493
493
|
:type model: DatapointMetadataModel
|
|
@@ -359,7 +359,7 @@ class IdentityApi:
|
|
|
359
359
|
|
|
360
360
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
361
361
|
'200': "ReadBridgeTokenKeysResult",
|
|
362
|
-
'202':
|
|
362
|
+
'202': "IdentityReadBridgeTokenGet202Response",
|
|
363
363
|
'404': "ProblemDetails",
|
|
364
364
|
}
|
|
365
365
|
response_data = self.api_client.call_api(
|
|
@@ -427,7 +427,7 @@ class IdentityApi:
|
|
|
427
427
|
|
|
428
428
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
429
429
|
'200': "ReadBridgeTokenKeysResult",
|
|
430
|
-
'202':
|
|
430
|
+
'202': "IdentityReadBridgeTokenGet202Response",
|
|
431
431
|
'404': "ProblemDetails",
|
|
432
432
|
}
|
|
433
433
|
response_data = self.api_client.call_api(
|
|
@@ -495,7 +495,7 @@ class IdentityApi:
|
|
|
495
495
|
|
|
496
496
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
497
497
|
'200': "ReadBridgeTokenKeysResult",
|
|
498
|
-
'202':
|
|
498
|
+
'202': "IdentityReadBridgeTokenGet202Response",
|
|
499
499
|
'404': "ProblemDetails",
|
|
500
500
|
}
|
|
501
501
|
response_data = self.api_client.call_api(
|