rapidata 2.32.0__py3-none-any.whl → 2.33.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/__init__.py +1 -1
- rapidata/api_client/__init__.py +6 -0
- rapidata/api_client/api/benchmark_api.py +194 -200
- rapidata/api_client/api/order_api.py +68 -6
- rapidata/api_client/api/participant_api.py +945 -130
- rapidata/api_client/api/validation_set_api.py +1106 -253
- rapidata/api_client/models/__init__.py +6 -0
- rapidata/api_client/models/benchmark_query_result.py +4 -2
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +4 -2
- rapidata/api_client/models/sample_by_participant.py +120 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/submit_order_model.py +87 -0
- rapidata/api_client/models/submit_prompt_model.py +9 -2
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client_README.md +13 -1
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +35 -1
- rapidata/rapidata_client/order/_rapidata_order_builder.py +20 -7
- rapidata/rapidata_client/order/rapidata_order.py +4 -2
- rapidata/rapidata_client/order/rapidata_order_manager.py +14 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +17 -1
- {rapidata-2.32.0.dist-info → rapidata-2.33.1.dist-info}/METADATA +1 -1
- {rapidata-2.32.0.dist-info → rapidata-2.33.1.dist-info}/RECORD +26 -20
- {rapidata-2.32.0.dist-info → rapidata-2.33.1.dist-info}/LICENSE +0 -0
- {rapidata-2.32.0.dist-info → rapidata-2.33.1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Rapidata.Dataset
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class UpdateShouldAlertModel(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
The model for updating the shouldAlert field of all rapids within a validation set.
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
should_alert: StrictBool = Field(description="If the users should be alerted if answering wrong.", alias="shouldAlert")
|
|
30
|
+
__properties: ClassVar[List[str]] = ["shouldAlert"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""Returns the JSON representation of the model using alias"""
|
|
45
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
+
return json.dumps(self.to_dict())
|
|
47
|
+
|
|
48
|
+
@classmethod
|
|
49
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
50
|
+
"""Create an instance of UpdateShouldAlertModel from a JSON string"""
|
|
51
|
+
return cls.from_dict(json.loads(json_str))
|
|
52
|
+
|
|
53
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
54
|
+
"""Return the dictionary representation of the model using alias.
|
|
55
|
+
|
|
56
|
+
This has the following differences from calling pydantic's
|
|
57
|
+
`self.model_dump(by_alias=True)`:
|
|
58
|
+
|
|
59
|
+
* `None` is only added to the output dict for nullable fields that
|
|
60
|
+
were set at model initialization. Other fields with value `None`
|
|
61
|
+
are ignored.
|
|
62
|
+
"""
|
|
63
|
+
excluded_fields: Set[str] = set([
|
|
64
|
+
])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of UpdateShouldAlertModel from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({
|
|
83
|
+
"shouldAlert": obj.get("shouldAlert")
|
|
84
|
+
})
|
|
85
|
+
return _obj
|
|
86
|
+
|
|
87
|
+
|
rapidata/api_client_README.md
CHANGED
|
@@ -77,11 +77,11 @@ Class | Method | HTTP request | Description
|
|
|
77
77
|
*BenchmarkApi* | [**benchmark_benchmark_id_name_put**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_name_put) | **PUT** /benchmark/{benchmarkId}/name | Updates the name of a benchmark.
|
|
78
78
|
*BenchmarkApi* | [**benchmark_benchmark_id_participant_participant_id_delete**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participant_participant_id_delete) | **DELETE** /benchmark/{benchmarkId}/participant/{participantId} | Deletes a participant on a benchmark.
|
|
79
79
|
*BenchmarkApi* | [**benchmark_benchmark_id_participants_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_get) | **GET** /benchmark/{benchmarkId}/participants | Query all participants within a benchmark
|
|
80
|
-
*BenchmarkApi* | [**benchmark_benchmark_id_participants_participant_id_disable_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_participant_id_disable_post) | **POST** /benchmark/{benchmarkId}/participants/{participantId}/disable | This endpoint disables a participant in a benchmark. this means that the participant will no longer actively be matched up against other participants and not collect further results. It will still be visible in the leaderboard.
|
|
81
80
|
*BenchmarkApi* | [**benchmark_benchmark_id_participants_participant_id_submit_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_participant_id_submit_post) | **POST** /benchmark/{benchmarkId}/participants/{participantId}/submit | Submits a participant to a benchmark.
|
|
82
81
|
*BenchmarkApi* | [**benchmark_benchmark_id_participants_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_participants_post) | **POST** /benchmark/{benchmarkId}/participants | Creates a participant in a benchmark.
|
|
83
82
|
*BenchmarkApi* | [**benchmark_benchmark_id_prompt_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_prompt_post) | **POST** /benchmark/{benchmarkId}/prompt | Adds a new prompt to a benchmark.
|
|
84
83
|
*BenchmarkApi* | [**benchmark_benchmark_id_prompts_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_prompts_get) | **GET** /benchmark/{benchmarkId}/prompts | Returns the paged prompts of a benchmark by its ID.
|
|
84
|
+
*BenchmarkApi* | [**benchmark_benchmark_id_tags_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_tags_get) | **GET** /benchmark/{benchmarkId}/tags | Query all tags within a benchmark
|
|
85
85
|
*BenchmarkApi* | [**benchmark_post**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_post) | **POST** /benchmark | Creates a benchmark
|
|
86
86
|
*BenchmarkApi* | [**benchmarks_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmarks_get) | **GET** /benchmarks | Queries all benchmarks of the user.
|
|
87
87
|
*CampaignApi* | [**campaign_boost_status_get**](rapidata/api_client/docs/CampaignApi.md#campaign_boost_status_get) | **GET** /campaign/boost/status | Gets the status of the boost.
|
|
@@ -163,8 +163,11 @@ Class | Method | HTTP request | Description
|
|
|
163
163
|
*OrderApi* | [**orders_get**](rapidata/api_client/docs/OrderApi.md#orders_get) | **GET** /orders | Queries orders based on a filter, page, and sort criteria.
|
|
164
164
|
*OrderApi* | [**orders_public_get**](rapidata/api_client/docs/OrderApi.md#orders_public_get) | **GET** /orders/public | Retrieves orders that are public and can be cloned by any user.
|
|
165
165
|
*ParticipantApi* | [**participant_participant_id_delete**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_delete) | **DELETE** /participant/{participantId} | Deletes a participant on a benchmark.
|
|
166
|
+
*ParticipantApi* | [**participant_participant_id_disable_post**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_disable_post) | **POST** /participant/{participantId}/disable | This endpoint disables a participant in a benchmark. this means that the participant will no longer actively be matched up against other participants and not collect further results. It will still be visible in the leaderboard.
|
|
166
167
|
*ParticipantApi* | [**participant_participant_id_get**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_get) | **GET** /participant/{participantId} | Gets a participant by it's Id.
|
|
168
|
+
*ParticipantApi* | [**participant_participant_id_name_put**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_name_put) | **PUT** /participant/{participantId}/name | Updates the name of a participant
|
|
167
169
|
*ParticipantApi* | [**participant_participant_id_sample_post**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_sample_post) | **POST** /participant/{participantId}/sample | Adds a sample to a participant.
|
|
170
|
+
*ParticipantApi* | [**participant_participant_id_samples_get**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_samples_get) | **GET** /participant/{participantId}/samples | Queries all samples of a participant.
|
|
168
171
|
*ParticipantApi* | [**participant_sample_sample_id_delete**](rapidata/api_client/docs/ParticipantApi.md#participant_sample_sample_id_delete) | **DELETE** /participant-sample/{sampleId} | Deletes a sample.
|
|
169
172
|
*ParticipantApi* | [**participants_participant_id_submit_post**](rapidata/api_client/docs/ParticipantApi.md#participants_participant_id_submit_post) | **POST** /participants/{participantId}/submit | Submits a participant to a benchmark.
|
|
170
173
|
*PipelineApi* | [**pipeline_id_workflow_config_artifact_id_put**](rapidata/api_client/docs/PipelineApi.md#pipeline_id_workflow_config_artifact_id_put) | **PUT** /pipeline/{id}/workflow-config/{artifactId} | Updates the workflow configuration for a pipeline.
|
|
@@ -185,6 +188,7 @@ Class | Method | HTTP request | Description
|
|
|
185
188
|
*UserRapidApi* | [**rapid_skip_post**](rapidata/api_client/docs/UserRapidApi.md#rapid_skip_post) | **POST** /rapid/skip | Skips a Rapid for the user.
|
|
186
189
|
*ValidationSetApi* | [**validation_set_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_post) | **POST** /validation-set | Creates a new empty validation set.
|
|
187
190
|
*ValidationSetApi* | [**validation_set_validation_set_id_delete**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_delete) | **DELETE** /validation-set/{validationSetId} | Gets a validation set by the id.
|
|
191
|
+
*ValidationSetApi* | [**validation_set_validation_set_id_dimensions_patch**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_dimensions_patch) | **PATCH** /validation-set/{validationSetId}/dimensions | Updates the dimensions of all rapids within a validation set.
|
|
188
192
|
*ValidationSetApi* | [**validation_set_validation_set_id_dimensions_put**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_dimensions_put) | **PUT** /validation-set/{validationSetId}/dimensions | Updates the dimensions of all rapids within a validation set.
|
|
189
193
|
*ValidationSetApi* | [**validation_set_validation_set_id_export_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_export_get) | **GET** /validation-set/{validationSetId}/export | Exports all rapids of a validation-set to a file.
|
|
190
194
|
*ValidationSetApi* | [**validation_set_validation_set_id_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_get) | **GET** /validation-set/{validationSetId} | Gets a validation set by the id.
|
|
@@ -192,6 +196,8 @@ Class | Method | HTTP request | Description
|
|
|
192
196
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapid_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapid_post) | **POST** /validation-set/{validationSetId}/rapid | Adds a new validation rapid to the specified validation set using files to create the assets.
|
|
193
197
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapid_texts_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapid_texts_post) | **POST** /validation-set/{validationSetId}/rapid/texts | Adds a new validation rapid to the specified validation set using text sources to create the assets.
|
|
194
198
|
*ValidationSetApi* | [**validation_set_validation_set_id_rapids_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_rapids_get) | **GET** /validation-set/{validationSetId}/rapids | Queries the validation rapids for a specific validation set.
|
|
199
|
+
*ValidationSetApi* | [**validation_set_validation_set_id_shouldalert_patch**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_shouldalert_patch) | **PATCH** /validation-set/{validationSetId}/shouldalert | Updates the dimensions of all rapids within a validation set.
|
|
200
|
+
*ValidationSetApi* | [**validation_set_validation_set_id_shouldalert_put**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_shouldalert_put) | **PUT** /validation-set/{validationSetId}/shouldalert | Updates the dimensions of all rapids within a validation set.
|
|
195
201
|
*ValidationSetApi* | [**validation_set_zip_compare_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_zip_compare_post) | **POST** /validation-set/zip/compare | Imports a compare validation set from a zip file.
|
|
196
202
|
*ValidationSetApi* | [**validation_set_zip_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_zip_post) | **POST** /validation-set/zip | Imports a validation set from a zip file.
|
|
197
203
|
*ValidationSetApi* | [**validation_sets_available_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_sets_available_get) | **GET** /validation-sets/available | Gets the available validation sets for the current user.
|
|
@@ -462,6 +468,7 @@ Class | Method | HTTP request | Description
|
|
|
462
468
|
- [PotentialValidationRapidTruth](rapidata/api_client/docs/PotentialValidationRapidTruth.md)
|
|
463
469
|
- [PreliminaryDownloadModel](rapidata/api_client/docs/PreliminaryDownloadModel.md)
|
|
464
470
|
- [PreliminaryDownloadResult](rapidata/api_client/docs/PreliminaryDownloadResult.md)
|
|
471
|
+
- [PreviewOrderModel](rapidata/api_client/docs/PreviewOrderModel.md)
|
|
465
472
|
- [PrivateTextMetadataInput](rapidata/api_client/docs/PrivateTextMetadataInput.md)
|
|
466
473
|
- [ProbabilisticAttachCategoryRefereeConfig](rapidata/api_client/docs/ProbabilisticAttachCategoryRefereeConfig.md)
|
|
467
474
|
- [ProbabilisticAttachCategoryRefereeInfo](rapidata/api_client/docs/ProbabilisticAttachCategoryRefereeInfo.md)
|
|
@@ -497,6 +504,8 @@ Class | Method | HTTP request | Description
|
|
|
497
504
|
- [RunStatus](rapidata/api_client/docs/RunStatus.md)
|
|
498
505
|
- [RunsByLeaderboardResult](rapidata/api_client/docs/RunsByLeaderboardResult.md)
|
|
499
506
|
- [RunsByLeaderboardResultPagedResult](rapidata/api_client/docs/RunsByLeaderboardResultPagedResult.md)
|
|
507
|
+
- [SampleByParticipant](rapidata/api_client/docs/SampleByParticipant.md)
|
|
508
|
+
- [SampleByParticipantPagedResult](rapidata/api_client/docs/SampleByParticipantPagedResult.md)
|
|
500
509
|
- [ScrubPayload](rapidata/api_client/docs/ScrubPayload.md)
|
|
501
510
|
- [ScrubRange](rapidata/api_client/docs/ScrubRange.md)
|
|
502
511
|
- [ScrubRapidBlueprint](rapidata/api_client/docs/ScrubRapidBlueprint.md)
|
|
@@ -527,6 +536,7 @@ Class | Method | HTTP request | Description
|
|
|
527
536
|
- [StreamsMetadataModel](rapidata/api_client/docs/StreamsMetadataModel.md)
|
|
528
537
|
- [SubmitCocoModel](rapidata/api_client/docs/SubmitCocoModel.md)
|
|
529
538
|
- [SubmitCocoResult](rapidata/api_client/docs/SubmitCocoResult.md)
|
|
539
|
+
- [SubmitOrderModel](rapidata/api_client/docs/SubmitOrderModel.md)
|
|
530
540
|
- [SubmitParticipantResult](rapidata/api_client/docs/SubmitParticipantResult.md)
|
|
531
541
|
- [SubmitPromptModel](rapidata/api_client/docs/SubmitPromptModel.md)
|
|
532
542
|
- [SubmitPromptModelPromptAsset](rapidata/api_client/docs/SubmitPromptModelPromptAsset.md)
|
|
@@ -552,6 +562,8 @@ Class | Method | HTTP request | Description
|
|
|
552
562
|
- [UpdateDimensionsModel](rapidata/api_client/docs/UpdateDimensionsModel.md)
|
|
553
563
|
- [UpdateLeaderboardNameModel](rapidata/api_client/docs/UpdateLeaderboardNameModel.md)
|
|
554
564
|
- [UpdateOrderNameModel](rapidata/api_client/docs/UpdateOrderNameModel.md)
|
|
565
|
+
- [UpdateParticipantNameModel](rapidata/api_client/docs/UpdateParticipantNameModel.md)
|
|
566
|
+
- [UpdateShouldAlertModel](rapidata/api_client/docs/UpdateShouldAlertModel.md)
|
|
555
567
|
- [UpdateValidationRapidModel](rapidata/api_client/docs/UpdateValidationRapidModel.md)
|
|
556
568
|
- [UpdateValidationRapidModelTruth](rapidata/api_client/docs/UpdateValidationRapidModelTruth.md)
|
|
557
569
|
- [UploadCocoResult](rapidata/api_client/docs/UploadCocoResult.md)
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
from typing import cast
|
|
2
|
+
from rapidata.api_client.models.file_asset_model import FileAssetModel
|
|
3
|
+
from rapidata.api_client.models.get_failed_datapoints_result import GetFailedDatapointsResult
|
|
4
|
+
from rapidata.api_client.models.multi_asset_model import MultiAssetModel
|
|
5
|
+
from rapidata.api_client.models.original_filename_metadata_model import OriginalFilenameMetadataModel
|
|
6
|
+
from rapidata.api_client.models.source_url_metadata_model import SourceUrlMetadataModel
|
|
7
|
+
from rapidata.rapidata_client.datapoints.assets import MediaAsset, MultiAsset
|
|
1
8
|
from rapidata.rapidata_client.datapoints.datapoint import Datapoint
|
|
2
9
|
from rapidata.rapidata_client.order._rapidata_dataset import RapidataDataset
|
|
3
10
|
from rapidata.rapidata_client.order.rapidata_order import RapidataOrder
|
|
4
11
|
|
|
5
|
-
|
|
6
12
|
class FailedUploadException(Exception):
|
|
7
13
|
"""Custom error class for Failed Uploads to the Rapidata order."""
|
|
8
14
|
def __init__(
|
|
@@ -17,3 +23,31 @@ class FailedUploadException(Exception):
|
|
|
17
23
|
|
|
18
24
|
def __str__(self) -> str:
|
|
19
25
|
return f"Failed to upload {self.failed_uploads}"
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _parse_failed_uploads(failed_uploads: GetFailedDatapointsResult) -> list[Datapoint]:
|
|
29
|
+
failed_datapoints = failed_uploads.datapoints
|
|
30
|
+
if not failed_datapoints:
|
|
31
|
+
return []
|
|
32
|
+
if isinstance(failed_datapoints[0].asset.actual_instance, FileAssetModel):
|
|
33
|
+
failed_assets = [MediaAsset(__get_asset_name(cast(FileAssetModel, datapoint.asset.actual_instance))) for datapoint in failed_datapoints]
|
|
34
|
+
elif isinstance(failed_datapoints[0].asset.actual_instance, MultiAssetModel):
|
|
35
|
+
failed_assets = []
|
|
36
|
+
backend_assets = [cast(MultiAssetModel, failed_upload.asset.actual_instance).assets for failed_upload in failed_datapoints]
|
|
37
|
+
for assets in backend_assets:
|
|
38
|
+
failed_assets.append(MultiAsset([MediaAsset(__get_asset_name(cast(FileAssetModel, asset.actual_instance))) for asset in assets if isinstance(asset.actual_instance, FileAssetModel)]))
|
|
39
|
+
else:
|
|
40
|
+
raise ValueError(f"Unsupported asset type: {type(failed_datapoints[0].asset.actual_instance)}")
|
|
41
|
+
|
|
42
|
+
return [Datapoint(asset=asset) for asset in failed_assets]
|
|
43
|
+
|
|
44
|
+
def __get_asset_name(failed_datapoint: FileAssetModel) -> str:
|
|
45
|
+
metadata = failed_datapoint.metadata
|
|
46
|
+
if "sourceUrl" in metadata:
|
|
47
|
+
return cast(SourceUrlMetadataModel, metadata["sourceUrl"].actual_instance).url
|
|
48
|
+
elif "originalFilename" in metadata:
|
|
49
|
+
return cast(OriginalFilenameMetadataModel, metadata["originalFilename"].actual_instance).original_filename
|
|
50
|
+
else:
|
|
51
|
+
return ""
|
|
52
|
+
|
|
53
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Optional, cast, Sequence
|
|
1
|
+
from typing import Literal, Optional, cast, Sequence
|
|
2
2
|
|
|
3
3
|
from rapidata.api_client.models.ab_test_selection_a_inner import AbTestSelectionAInner
|
|
4
4
|
from rapidata.api_client.models.and_user_filter_model_filters_inner import AndUserFilterModelFiltersInner
|
|
@@ -6,12 +6,10 @@ from rapidata.api_client.models.create_order_model import CreateOrderModel
|
|
|
6
6
|
from rapidata.api_client.models.create_order_model_referee import CreateOrderModelReferee
|
|
7
7
|
from rapidata.api_client.models.create_order_model_workflow import CreateOrderModelWorkflow
|
|
8
8
|
|
|
9
|
-
from rapidata.rapidata_client.datapoints.assets import MediaAsset, TextAsset, MultiAsset, BaseAsset
|
|
10
9
|
from rapidata.rapidata_client.datapoints.datapoint import Datapoint
|
|
11
|
-
from rapidata.rapidata_client.exceptions.failed_upload_exception import FailedUploadException
|
|
10
|
+
from rapidata.rapidata_client.exceptions.failed_upload_exception import FailedUploadException, _parse_failed_uploads
|
|
12
11
|
from rapidata.rapidata_client.filter import RapidataFilter
|
|
13
12
|
from rapidata.rapidata_client.logging import logger, managed_print
|
|
14
|
-
from rapidata.rapidata_client.datapoints.metadata import Metadata
|
|
15
13
|
from rapidata.rapidata_client.order._rapidata_dataset import RapidataDataset
|
|
16
14
|
from rapidata.rapidata_client.order.rapidata_order import RapidataOrder
|
|
17
15
|
from rapidata.rapidata_client.referee import Referee
|
|
@@ -19,7 +17,6 @@ from rapidata.rapidata_client.referee._naive_referee import NaiveReferee
|
|
|
19
17
|
from rapidata.rapidata_client.selection._base_selection import RapidataSelection
|
|
20
18
|
from rapidata.rapidata_client.settings import RapidataSetting
|
|
21
19
|
from rapidata.rapidata_client.workflow import Workflow
|
|
22
|
-
from rapidata.rapidata_client.workflow._compare_workflow import CompareWorkflow
|
|
23
20
|
from rapidata.service.openapi_service import OpenAPIService
|
|
24
21
|
|
|
25
22
|
|
|
@@ -50,6 +47,7 @@ class RapidataOrderBuilder:
|
|
|
50
47
|
self.__selections: list[RapidataSelection] = []
|
|
51
48
|
self.__priority: int | None = None
|
|
52
49
|
self.__datapoints: list[Datapoint] = []
|
|
50
|
+
self.__sticky_state: Literal["None", "Temporary", "Permanent"] | None = None
|
|
53
51
|
|
|
54
52
|
def _to_model(self) -> CreateOrderModel:
|
|
55
53
|
"""
|
|
@@ -92,6 +90,7 @@ class RapidataOrderBuilder:
|
|
|
92
90
|
else None
|
|
93
91
|
),
|
|
94
92
|
priority=self.__priority,
|
|
93
|
+
stickyState=self.__sticky_state,
|
|
95
94
|
)
|
|
96
95
|
|
|
97
96
|
def _create(self) -> RapidataOrder:
|
|
@@ -148,8 +147,12 @@ class RapidataOrderBuilder:
|
|
|
148
147
|
|
|
149
148
|
logger.debug("Media added to the order.")
|
|
150
149
|
logger.debug("Setting order to preview")
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
try:
|
|
151
|
+
self.__openapi_service.order_api.order_order_id_preview_post(self.order_id)
|
|
152
|
+
except Exception:
|
|
153
|
+
failed_uploads = _parse_failed_uploads(self.__openapi_service.dataset_api.dataset_dataset_id_datapoints_failed_get(self.__dataset.id))
|
|
154
|
+
logger.error(f"Internal download error for datapoints: {failed_uploads}\nWARNING: Failed Datapoints in error do not contain metadata.")
|
|
155
|
+
raise FailedUploadException(self.__dataset, order, failed_uploads)
|
|
153
156
|
return order
|
|
154
157
|
|
|
155
158
|
def _workflow(self, workflow: Workflow) -> "RapidataOrderBuilder":
|
|
@@ -315,3 +318,13 @@ class RapidataOrderBuilder:
|
|
|
315
318
|
|
|
316
319
|
self.__priority = priority
|
|
317
320
|
return self
|
|
321
|
+
|
|
322
|
+
def _sticky_state(self, sticky_state: Literal["None", "Temporary", "Permanent"] | None = None) -> "RapidataOrderBuilder":
|
|
323
|
+
"""
|
|
324
|
+
Set the sticky state for the order.
|
|
325
|
+
"""
|
|
326
|
+
if sticky_state is not None and sticky_state not in ["None", "Temporary", "Permanent"]:
|
|
327
|
+
raise TypeError("Sticky state must be of type Literal['None', 'Temporary', 'Permanent'].")
|
|
328
|
+
|
|
329
|
+
self.__sticky_state = sticky_state
|
|
330
|
+
return self
|
|
@@ -12,6 +12,8 @@ from tqdm import tqdm
|
|
|
12
12
|
from rapidata.api_client.exceptions import ApiException
|
|
13
13
|
from rapidata.api_client.models.campaign_artifact_model import CampaignArtifactModel
|
|
14
14
|
from rapidata.api_client.models.order_state import OrderState
|
|
15
|
+
from rapidata.api_client.models.preview_order_model import PreviewOrderModel
|
|
16
|
+
from rapidata.api_client.models.submit_order_model import SubmitOrderModel
|
|
15
17
|
from rapidata.api_client.models.preliminary_download_model import PreliminaryDownloadModel
|
|
16
18
|
from rapidata.api_client.models.workflow_artifact_model import WorkflowArtifactModel
|
|
17
19
|
from rapidata.rapidata_client.order.rapidata_results import RapidataResults
|
|
@@ -60,7 +62,7 @@ class RapidataOrder:
|
|
|
60
62
|
def run(self) -> "RapidataOrder":
|
|
61
63
|
"""Runs the order to start collecting responses."""
|
|
62
64
|
logger.info(f"Starting order '{self}'")
|
|
63
|
-
self.__openapi_service.order_api.order_order_id_submit_post(self.id)
|
|
65
|
+
self.__openapi_service.order_api.order_order_id_submit_post(self.id, SubmitOrderModel(ignoreFailedDatapoints=True))
|
|
64
66
|
logger.debug(f"Order '{self}' has been started.")
|
|
65
67
|
managed_print(f"Order '{self.name}' is now viewable under: {self.order_details_page}")
|
|
66
68
|
return self
|
|
@@ -203,7 +205,7 @@ class RapidataOrder:
|
|
|
203
205
|
logger.info("Opening order preview in browser...")
|
|
204
206
|
if self.get_status() == OrderState.CREATED:
|
|
205
207
|
logger.info("Order is still in state created. Setting it to preview.")
|
|
206
|
-
self.__openapi_service.order_api.order_order_id_preview_post(self.id)
|
|
208
|
+
self.__openapi_service.order_api.order_order_id_preview_post(self.id, PreviewOrderModel(ignoreFailedDatapoints=True))
|
|
207
209
|
logger.info("Order is now in preview state.")
|
|
208
210
|
|
|
209
211
|
campaign_id = self.__get_campaign_id()
|
|
@@ -51,6 +51,7 @@ class RapidataOrderManager:
|
|
|
51
51
|
self.settings = RapidataSettings
|
|
52
52
|
self.selections = RapidataSelections
|
|
53
53
|
self.__priority: int | None = None
|
|
54
|
+
self.__sticky_state: Literal["None", "Temporary", "Permanent"] | None = None
|
|
54
55
|
logger.debug("RapidataOrderManager initialized")
|
|
55
56
|
|
|
56
57
|
def _create_general_order(self,
|
|
@@ -124,13 +125,26 @@ class RapidataOrderManager:
|
|
|
124
125
|
._settings(settings)
|
|
125
126
|
._validation_set_id(validation_set_id if not selections else None)
|
|
126
127
|
._priority(self.__priority)
|
|
128
|
+
._sticky_state(self.__sticky_state)
|
|
127
129
|
._create()
|
|
128
130
|
)
|
|
129
131
|
return order
|
|
130
132
|
|
|
131
133
|
def _set_priority(self, priority: int):
|
|
134
|
+
if not isinstance(priority, int):
|
|
135
|
+
raise TypeError("Priority must be an integer")
|
|
136
|
+
|
|
137
|
+
if priority < 0:
|
|
138
|
+
raise ValueError("Priority must be greater than 0")
|
|
139
|
+
|
|
132
140
|
self.__priority = priority
|
|
133
141
|
|
|
142
|
+
def _set_sticky_state(self, sticky_state: Literal["None", "Temporary", "Permanent"]):
|
|
143
|
+
if sticky_state not in ["None", "Temporary", "Permanent"]:
|
|
144
|
+
raise ValueError("Sticky state must be one of 'None', 'Temporary', 'Permanent'")
|
|
145
|
+
|
|
146
|
+
self.__sticky_state = sticky_state
|
|
147
|
+
|
|
134
148
|
def create_classification_order(self,
|
|
135
149
|
name: str,
|
|
136
150
|
instruction: str,
|
|
@@ -2,7 +2,7 @@ from rapidata.rapidata_client.validation.rapids.rapids import Rapid
|
|
|
2
2
|
from rapidata.service.openapi_service import OpenAPIService
|
|
3
3
|
from rapidata.rapidata_client.logging import logger
|
|
4
4
|
from rapidata.api_client.models.update_dimensions_model import UpdateDimensionsModel
|
|
5
|
-
from rapidata.
|
|
5
|
+
from rapidata.api_client.models.update_should_alert_model import UpdateShouldAlertModel
|
|
6
6
|
|
|
7
7
|
class RapidataValidationSet:
|
|
8
8
|
"""A class for interacting with a Rapidata validation set.
|
|
@@ -39,6 +39,22 @@ class RapidataValidationSet:
|
|
|
39
39
|
logger.debug(f"Updating dimensions for validation set {self.id} to {dimensions}")
|
|
40
40
|
self.__openapi_service.validation_api.validation_set_validation_set_id_dimensions_put(self.id, UpdateDimensionsModel(dimensions=dimensions))
|
|
41
41
|
return self
|
|
42
|
+
|
|
43
|
+
def update_should_alert(self, should_alert: bool):
|
|
44
|
+
"""Determines whether users should be alerted if they answer incorrectly.
|
|
45
|
+
|
|
46
|
+
Args:
|
|
47
|
+
should_alert (bool): Specifies whether users should be alerted for incorrect answers. Defaults to True if not specifically overridden by this method.
|
|
48
|
+
|
|
49
|
+
Note:
|
|
50
|
+
The userScore dimensions which are updated when a user answers a validation task are updated regardless of the value of `should_alert`.
|
|
51
|
+
"""
|
|
52
|
+
logger.debug(f"Setting shouldAlert for validation set {self.id} to {should_alert}")
|
|
53
|
+
self.__openapi_service.validation_api.validation_set_validation_set_id_shouldalert_patch(
|
|
54
|
+
self.id,
|
|
55
|
+
UpdateShouldAlertModel(shouldAlert=should_alert)
|
|
56
|
+
)
|
|
57
|
+
return self
|
|
42
58
|
|
|
43
59
|
def __str__(self):
|
|
44
60
|
return f"name: '{self.name}' id: {self.id}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
rapidata/__init__.py,sha256=
|
|
2
|
-
rapidata/api_client/__init__.py,sha256=
|
|
1
|
+
rapidata/__init__.py,sha256=nd-IuE9FDLGAl5tk6vhY6k8ZSxu-XK6PiMa9WY2_Buk,907
|
|
2
|
+
rapidata/api_client/__init__.py,sha256=tNSCpLEs-AyEZGCAYz9MM8gDEpA4KJKcdNL-dcvAAw0,34404
|
|
3
3
|
rapidata/api_client/api/__init__.py,sha256=qjLeeJSnuPF_ar_nLknjnOqStBQnoCiz-O_rfZUBZrE,1489
|
|
4
|
-
rapidata/api_client/api/benchmark_api.py,sha256=
|
|
4
|
+
rapidata/api_client/api/benchmark_api.py,sha256=fr4krx4f3yN--DswD_Prpz-KU81ooG3Lcy-30_KU0dw,129751
|
|
5
5
|
rapidata/api_client/api/campaign_api.py,sha256=406gNDALFb0sJhfx727ZM5_0GDX4iB0w5ym2dExLm4g,49894
|
|
6
6
|
rapidata/api_client/api/client_api.py,sha256=KKgUrEKfqmEAqUCRqcYKRb6G3GLwD6R-JSUsShmo7r8,54313
|
|
7
7
|
rapidata/api_client/api/coco_api.py,sha256=d1ypa-JfIoPFEJwn3l-INZM5bS2wB1ifuJuvYXLSRC4,24165
|
|
@@ -14,21 +14,21 @@ rapidata/api_client/api/feedback_api.py,sha256=-ZI2-1HtQ7wAzBKClgXMmMHtYdgoZtWrp
|
|
|
14
14
|
rapidata/api_client/api/identity_api.py,sha256=LmK6cTXssNjCa1BteOMc8P4FsyRiHQ_Kr30vmWIAYko,55093
|
|
15
15
|
rapidata/api_client/api/leaderboard_api.py,sha256=7h-nUh8EhMo84slSRE2EErZr9rRxiN6P0TBEHFKSIb8,177224
|
|
16
16
|
rapidata/api_client/api/newsletter_api.py,sha256=3NU6HO5Gtm-RH-nx5hcp2CCE4IZmWHwTfCLMMz-Xpq4,22655
|
|
17
|
-
rapidata/api_client/api/order_api.py,sha256=
|
|
18
|
-
rapidata/api_client/api/participant_api.py,sha256=
|
|
17
|
+
rapidata/api_client/api/order_api.py,sha256=6hD7a_8LVGuGdT_k1lE-gQKCWcSAcFMJO5Nsdc8xgbM,214715
|
|
18
|
+
rapidata/api_client/api/participant_api.py,sha256=eOoZDCRF61bmPAcoMWhOREgUp3rEYhrQLEPJq8o27b4,87709
|
|
19
19
|
rapidata/api_client/api/pipeline_api.py,sha256=s1_0GG3Rr-_yFzZ0TcBAgNGVrbQX_cjx2tnv3-1CmZw,96625
|
|
20
20
|
rapidata/api_client/api/rapid_api.py,sha256=2omzmCbZxfseGTwEMFGESrkSH-FlkP0JmqIWJqgm8fM,97187
|
|
21
21
|
rapidata/api_client/api/rapidata_identity_api_api.py,sha256=-kgoDuLdh-R4MQ7JPi3kQ0WDFKbmI0MkCjxwHXBmksA,9824
|
|
22
22
|
rapidata/api_client/api/simple_workflow_api.py,sha256=yauSlkSwoZOl4P-1Wu0yU92GcEArpEd3xjFqImU2K1g,12763
|
|
23
23
|
rapidata/api_client/api/user_info_api.py,sha256=FuuA95Beeky-rnqIoSUe2-WQ7oVTfq0RElX0jfKXT0w,10042
|
|
24
24
|
rapidata/api_client/api/user_rapid_api.py,sha256=RXHAzSSGFohQqLUAZOKSaHt9EcT-7_n2vMto1SkSy4o,54323
|
|
25
|
-
rapidata/api_client/api/validation_set_api.py,sha256=
|
|
25
|
+
rapidata/api_client/api/validation_set_api.py,sha256=GG1quhOVJfh7zGXV3OEg5KoMo0JZ9vVb4xXtMSn3GOc,186983
|
|
26
26
|
rapidata/api_client/api/workflow_api.py,sha256=a5gMW-E7Mie-OK74J5SRoV6Wl1D4-AFCCfpxQ8ewCkQ,66871
|
|
27
27
|
rapidata/api_client/api_client.py,sha256=EDhxAOUc5JFWvFsF1zc726Q7GoEFkuB8uor5SlGx9K4,27503
|
|
28
28
|
rapidata/api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
29
29
|
rapidata/api_client/configuration.py,sha256=g472vHVPLBotq8EkfSXP4sbp7xnn-3sb8O8BBlRWK1I,15931
|
|
30
30
|
rapidata/api_client/exceptions.py,sha256=eLLd1fxM0Ygf3IIG6aNx9hdy79drst5Cem0UjI_NamM,5978
|
|
31
|
-
rapidata/api_client/models/__init__.py,sha256=
|
|
31
|
+
rapidata/api_client/models/__init__.py,sha256=UrUeoeyJJKPArBUQHqSBI6tmy6sU3j9xRl8TzHnsc7Q,32374
|
|
32
32
|
rapidata/api_client/models/ab_test_selection.py,sha256=xQcE1BgKSnkTcmIuroeVOAQcAhGkHLlMP9XjakMFgDc,4327
|
|
33
33
|
rapidata/api_client/models/ab_test_selection_a_inner.py,sha256=VsCi27NBGxAtupB_sQZCzUEsTNNgSGV_Mo-Fi0UY1Jw,11657
|
|
34
34
|
rapidata/api_client/models/add_campaign_artifact_result.py,sha256=4IvFVS-tLlL6eHsWp-IZ_ul5T30-h3YEwd2B5ioBbgY,2582
|
|
@@ -57,7 +57,7 @@ rapidata/api_client/models/attach_category_rapid_blueprint.py,sha256=sdPTViyuCnE
|
|
|
57
57
|
rapidata/api_client/models/attach_category_result.py,sha256=xLM9576NxYblinC2bjUGAQ7eAqp8H1YK8i7_zS5S278,3095
|
|
58
58
|
rapidata/api_client/models/attach_category_truth.py,sha256=XAc0_cCEPP0iNEaak6ihK9_lExQSGboMBIlO6SebU6o,3062
|
|
59
59
|
rapidata/api_client/models/base_error.py,sha256=734KUVW0G_v0GXhU7SiQi4XXVeK5nd8N2hUs2YHzU7M,2562
|
|
60
|
-
rapidata/api_client/models/benchmark_query_result.py,sha256=
|
|
60
|
+
rapidata/api_client/models/benchmark_query_result.py,sha256=Lir4pMBlM-JS4C5PSYYJPZiq7hGdHkXDmjg5BljaaWw,2947
|
|
61
61
|
rapidata/api_client/models/benchmark_query_result_paged_result.py,sha256=cJdtI4L6ZmR8s6mnlagDXRON3CFUHMGnjN67VkVx9Ec,3534
|
|
62
62
|
rapidata/api_client/models/boost_leaderboard_model.py,sha256=FPT87eDxWC67Z64MCCAMW-8GX2wffjFRWSX-JsbwLlU,2907
|
|
63
63
|
rapidata/api_client/models/boost_query_result.py,sha256=2NjnIF2mAaWUjEmzW4Abe55uBrr7aoE9yTf5v8sVr1E,3298
|
|
@@ -372,13 +372,14 @@ rapidata/api_client/models/pre_arranged_pair_maker_config_model.py,sha256=HdCXrq
|
|
|
372
372
|
rapidata/api_client/models/pre_arranged_pair_maker_information.py,sha256=_NpWpjvsiY3cURDVAw0zYksFd0ezL-6qIYNr9cAzQVA,3594
|
|
373
373
|
rapidata/api_client/models/preliminary_download_model.py,sha256=EsNgTcooju61TCzhFDNUtFcaftoffA07oQqQE_NDXJw,2746
|
|
374
374
|
rapidata/api_client/models/preliminary_download_result.py,sha256=MMGTTVulc5dFtuXqq7hJxMpE6WblsSbXfZ0BckDEuQU,2582
|
|
375
|
+
rapidata/api_client/models/preview_order_model.py,sha256=Z2CeL1J9CvRdeIs-HrHlIICe0X5FLZiubz746NJtci8,2824
|
|
375
376
|
rapidata/api_client/models/private_text_metadata_input.py,sha256=2v1OJ1FgMasHSytfKmE1pwyIYGO8DtHG6mqNcDgxW2A,3097
|
|
376
377
|
rapidata/api_client/models/probabilistic_attach_category_referee_config.py,sha256=TU6IyF0kW0upKi08AY7XFLeBSmPfj3cniTwnLb3RT94,3315
|
|
377
378
|
rapidata/api_client/models/probabilistic_attach_category_referee_info.py,sha256=YQogmjE7X6LzBXqab8muv5c-O5Mj8eYZXZk9sKmaMlA,3299
|
|
378
379
|
rapidata/api_client/models/problem_details.py,sha256=00OWbk93SWXdEVNs8rceJq6CAlG4KIRYRR1sqasZ35Q,4506
|
|
379
380
|
rapidata/api_client/models/prompt_asset_metadata_input.py,sha256=UAcgFo_lj12aWsUW1sOre-fFCDqhOIE30yM8ZYnwaHs,3487
|
|
380
381
|
rapidata/api_client/models/prompt_asset_metadata_input_asset.py,sha256=lZpDKEIFMRS2wIT7GgHTJjH7sl9axGjHgwYHuwLwCdo,7186
|
|
381
|
-
rapidata/api_client/models/prompt_by_benchmark_result.py,sha256=
|
|
382
|
+
rapidata/api_client/models/prompt_by_benchmark_result.py,sha256=ScPeo0HGdbeLg3y5P9kkmis8WL-n_zTHb0VZ8qcvPts,3838
|
|
382
383
|
rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py,sha256=v6KQCQCfePRbpge5PfNRkjUZmoC5B0OVs6tIYGCuwXY,3559
|
|
383
384
|
rapidata/api_client/models/prompt_by_leaderboard_result.py,sha256=KRf0XbpOBjCwZPx4VPZk5MFRV7J-KEZG5yUHAC3ODKo,2679
|
|
384
385
|
rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py,sha256=xOR0FR1Q1JM-DhWircDWLoBOyr8PmXIUgEDiPgmnRcc,3575
|
|
@@ -423,6 +424,8 @@ rapidata/api_client/models/root_filter.py,sha256=oBtXjKE0i3m_HmD1XeHwaLCFFQRkpkW
|
|
|
423
424
|
rapidata/api_client/models/run_status.py,sha256=wtGbdMPDcpR35pMbczVABkYfERTWnocMon2s-uaaaUM,798
|
|
424
425
|
rapidata/api_client/models/runs_by_leaderboard_result.py,sha256=5sRSV7d9rxjBbdTnWk10ke1GW4jVKZ8O5iSMclthryk,3581
|
|
425
426
|
rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py,sha256=Ts5gkkQLKIbISLay6xlVYdu0vyXxAwtY7mwQMKobC-Y,3559
|
|
427
|
+
rapidata/api_client/models/sample_by_participant.py,sha256=N1DHLru8cPit7-sT_8a1Ein47slvtH6UsJwPUYmZjgs,4437
|
|
428
|
+
rapidata/api_client/models/sample_by_participant_paged_result.py,sha256=FKobGmMEymLQwRbwdS5R-nox_AtFAxg9CuVopWNQgTk,3526
|
|
426
429
|
rapidata/api_client/models/scrub_payload.py,sha256=tX-QU_a8GUQWBPb1GofGLFupucZF5TY2LUpqdyfHDSI,2920
|
|
427
430
|
rapidata/api_client/models/scrub_range.py,sha256=2P__eZ4HeAxWcjFkp-p938Ih8GHf0rJea18sIGxUN0A,2527
|
|
428
431
|
rapidata/api_client/models/scrub_rapid_blueprint.py,sha256=x19PHjchZdhrvnsmRpxOY8_PVlXS5KCGcN7Jluv2QjQ,2956
|
|
@@ -459,9 +462,10 @@ rapidata/api_client/models/streams_metadata.py,sha256=TZ_TPuaA0xyjiHglWhsI3CAZ_x
|
|
|
459
462
|
rapidata/api_client/models/streams_metadata_model.py,sha256=ZAk1vM73gMNNce3XgNW8xCNCUTB9KU3402DXMdPeUPI,3250
|
|
460
463
|
rapidata/api_client/models/submit_coco_model.py,sha256=GpgF2sVfQH87CYM-Ay12J4qTkBGSX3EcQ5YhvLr5rkE,2750
|
|
461
464
|
rapidata/api_client/models/submit_coco_result.py,sha256=7LfDd-GRZx3xxOJED4MlSGfPsNbfteDs175wm44JoE8,2572
|
|
465
|
+
rapidata/api_client/models/submit_order_model.py,sha256=3e3xUP2D6dYxkBPuZ0QHbDyce3geUjBbzOyzDECyD0E,2821
|
|
462
466
|
rapidata/api_client/models/submit_participant_result.py,sha256=Y9VWtr4CH2dX_pUWErMboe6bL4VnsJdapFEEzyHvx3Q,2752
|
|
463
467
|
rapidata/api_client/models/submit_password_reset_command.py,sha256=EcHK3K72_OrG0McyarmMhY3LHmz0opXMLxwDtPdn-mU,3404
|
|
464
|
-
rapidata/api_client/models/submit_prompt_model.py,sha256=
|
|
468
|
+
rapidata/api_client/models/submit_prompt_model.py,sha256=eKM-dTzDTMSw9O45W0umvCe9u-S86tA9ic7x4N7qqKk,4077
|
|
465
469
|
rapidata/api_client/models/submit_prompt_model_prompt_asset.py,sha256=cM8AzElOuTAByQm3obCtZLWWuN65g7JNvQm2W7u2VEs,7158
|
|
466
470
|
rapidata/api_client/models/text_asset.py,sha256=_Hz4EzobSjErKHswhW2naqw6BCSxmScRGRN15pvz4W0,3811
|
|
467
471
|
rapidata/api_client/models/text_asset_input.py,sha256=jZpil3ALayV6ZhhKdMaouBEqMjchctwKj-uBAp_ht5I,3120
|
|
@@ -489,6 +493,8 @@ rapidata/api_client/models/update_dimensions_model.py,sha256=jDg2114Y14AxcQHg_C6
|
|
|
489
493
|
rapidata/api_client/models/update_leaderboard_name_model.py,sha256=QmEy8MNkrQYyJtXR91MKN1j511YFIIW-ovN3MxvFoWw,2614
|
|
490
494
|
rapidata/api_client/models/update_order_model.py,sha256=RUlxnzLqO6o-w5EEPb8wv1ANRKpkSbs8PhGM42T35uw,2570
|
|
491
495
|
rapidata/api_client/models/update_order_name_model.py,sha256=Cm8qZUJKgx1JTgkhlJcVNdLwPnRV8gqeeo7G4bVDOS4,2582
|
|
496
|
+
rapidata/api_client/models/update_participant_name_model.py,sha256=PPXeS5euTpMt7QrmLWordYU1tGS1gZ-zwjgQDglld_g,2614
|
|
497
|
+
rapidata/api_client/models/update_should_alert_model.py,sha256=cH2pdO_y_0Jyfpyt33BhqxpIijX6WiHsGMKBpQvP7sA,2704
|
|
492
498
|
rapidata/api_client/models/update_validation_rapid_model.py,sha256=yCmIdsywjK1CsVTeUWz6oFfwmrSXc030_gVWrxwScuE,4083
|
|
493
499
|
rapidata/api_client/models/update_validation_rapid_model_truth.py,sha256=BW1Xs6OiEpigJ2oZPnQXdM66PuVRfZYI4KanO_UHCEY,13269
|
|
494
500
|
rapidata/api_client/models/update_workflow_config_model.py,sha256=c35Esk6HeqnTXmtDG33SYbplIDIqu7mXDYH3mWjewJA,3858
|
|
@@ -526,7 +532,7 @@ rapidata/api_client/models/workflow_split_model_filter_configs_inner.py,sha256=1
|
|
|
526
532
|
rapidata/api_client/models/workflow_state.py,sha256=5LAK1se76RCoozeVB6oxMPb8p_5bhLZJqn7q5fFQWis,850
|
|
527
533
|
rapidata/api_client/models/zip_entry_file_wrapper.py,sha256=06CoNJD3x511K3rnSmkrwwhc9GbQxwxF-c0ldOyJbAs,4240
|
|
528
534
|
rapidata/api_client/rest.py,sha256=rtIMcgINZOUaDFaJIinJkXRSddNJmXvMRMfgO2Ezk2o,10835
|
|
529
|
-
rapidata/api_client_README.md,sha256=
|
|
535
|
+
rapidata/api_client_README.md,sha256=sj425Ki-qiO2DCHnJ06r9LjfnGir7UpgXEonMh-LFag,62126
|
|
530
536
|
rapidata/rapidata_client/__init__.py,sha256=VXI4s0R3D6qZYveZaP7eliG-YIxmkCIwOzfZTS_MWZc,1235
|
|
531
537
|
rapidata/rapidata_client/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
532
538
|
rapidata/rapidata_client/api/rapidata_exception.py,sha256=BIdmHRrJUGW-Mqhp1H_suemZaR6w9TgjWq-ZW5iUPdQ,3878
|
|
@@ -557,7 +563,7 @@ rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py,sha256=T8
|
|
|
557
563
|
rapidata/rapidata_client/demographic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
558
564
|
rapidata/rapidata_client/demographic/demographic_manager.py,sha256=OaYrfrftU_p00X3BGlAjoky6_RPm0mhQwGnJsJSVca0,1203
|
|
559
565
|
rapidata/rapidata_client/exceptions/__init__.py,sha256=2hbWRgjlCGuoLPVDloQmmH81uzm9F2OAX2iFGCJyRu8,59
|
|
560
|
-
rapidata/rapidata_client/exceptions/failed_upload_exception.py,sha256=
|
|
566
|
+
rapidata/rapidata_client/exceptions/failed_upload_exception.py,sha256=BIG6y5TYGXz507CfH74h0H2vF6QeoB2L7VtleFqAppY,2673
|
|
561
567
|
rapidata/rapidata_client/filter/__init__.py,sha256=j_Kfz_asNVxwp56SAN2saB7ZAHg3smL5_W2sSitmuJY,548
|
|
562
568
|
rapidata/rapidata_client/filter/_base_filter.py,sha256=cPLl0ddWB8QU6Luspnub_KXiTEfEFOVBEdnxhJOjoWs,2269
|
|
563
569
|
rapidata/rapidata_client/filter/age_filter.py,sha256=oRjGY65gE_X8oa0D0XRyvKAb4_Z6XOOaGTWykRSfLFA,739
|
|
@@ -581,9 +587,9 @@ rapidata/rapidata_client/logging/logger.py,sha256=9vULXUizGObQeqMY-CryiAQsq8xDZw
|
|
|
581
587
|
rapidata/rapidata_client/logging/output_manager.py,sha256=AmSVZ2emVW5UWgOiNqkXNVRItsvd5Ox0hsIoZQhYYYo,653
|
|
582
588
|
rapidata/rapidata_client/order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
583
589
|
rapidata/rapidata_client/order/_rapidata_dataset.py,sha256=CYeDZJqHN3UWYvz5PSp8jAZ1NQIhAld467AolkVf24A,17438
|
|
584
|
-
rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=
|
|
585
|
-
rapidata/rapidata_client/order/rapidata_order.py,sha256=
|
|
586
|
-
rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=
|
|
590
|
+
rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=W1sdPRJ_p24Skfsnv9r8zldPRjkzsJopX_dCoge5qtI,12363
|
|
591
|
+
rapidata/rapidata_client/order/rapidata_order.py,sha256=6YOAazdEk82sf8o3pal3iUqsKWN2nwy3BdNBgghkiU4,12783
|
|
592
|
+
rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=vq0wG5BSGeYB2LO_fwzOrrR40mKUmkcMPeBZF1pwgoY,38055
|
|
587
593
|
rapidata/rapidata_client/order/rapidata_results.py,sha256=ZY0JyHMBZlR6-t6SqKt2OLEO6keR_KvKg9Wk6_I29x4,8653
|
|
588
594
|
rapidata/rapidata_client/rapidata_client.py,sha256=jTkpu0YcizoxAzbfNdnY1S0xXX6Q0KEMi8boo0f2F5c,4274
|
|
589
595
|
rapidata/rapidata_client/referee/__init__.py,sha256=q0Hv9nmfEpyChejtyMLT8hWKL0vTTf_UgUXPYNJ-H6M,153
|
|
@@ -616,7 +622,7 @@ rapidata/rapidata_client/settings/play_video_until_the_end.py,sha256=LLHx2_72k5Z
|
|
|
616
622
|
rapidata/rapidata_client/settings/rapidata_settings.py,sha256=qxwktsrrmGHqd6rKPMEZj0CK9k1SUtNjM2kedPaHTVs,1829
|
|
617
623
|
rapidata/rapidata_client/settings/translation_behaviour.py,sha256=i9n_H0eKJyKW6m3MKH_Cm1XEKWVEWsAV_79xGmGIC-4,742
|
|
618
624
|
rapidata/rapidata_client/validation/__init__.py,sha256=s5wHVtcJkncXSFuL9I0zNwccNOKpWAqxqUjkeohzi2E,24
|
|
619
|
-
rapidata/rapidata_client/validation/rapidata_validation_set.py,sha256=
|
|
625
|
+
rapidata/rapidata_client/validation/rapidata_validation_set.py,sha256=fuw3Ux32A2cMESd2D___V1Sw0x41xgelTrOajKBBD00,2630
|
|
620
626
|
rapidata/rapidata_client/validation/rapids/__init__.py,sha256=WU5PPwtTJlte6U90MDakzx4I8Y0laj7siw9teeXj5R0,21
|
|
621
627
|
rapidata/rapidata_client/validation/rapids/box.py,sha256=t3_Kn6doKXdnJdtbwefXnYKPiTKHneJl9E2inkDSqL8,589
|
|
622
628
|
rapidata/rapidata_client/validation/rapids/rapids.py,sha256=HhEoOS1C0C80WNkiDy6peTqF-jkMd552QsehEa0Xa0U,3869
|
|
@@ -637,7 +643,7 @@ rapidata/service/__init__.py,sha256=s9bS1AJZaWIhLtJX_ZA40_CK39rAAkwdAmymTMbeWl4,
|
|
|
637
643
|
rapidata/service/credential_manager.py,sha256=pUEEtp6VrFWYhfUUtyqmS0AlRqe2Y0kFkY6o22IT4KM,8682
|
|
638
644
|
rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
|
|
639
645
|
rapidata/service/openapi_service.py,sha256=xoGBACpUhG0H-tadSBa8A91LHyfI7n-FCT2JlrERqco,5221
|
|
640
|
-
rapidata-2.
|
|
641
|
-
rapidata-2.
|
|
642
|
-
rapidata-2.
|
|
643
|
-
rapidata-2.
|
|
646
|
+
rapidata-2.33.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
647
|
+
rapidata-2.33.1.dist-info/METADATA,sha256=lDYoDN6gtzloaI4-8X_ifYr2RCCrHt_7LeyCi6RM_iE,1264
|
|
648
|
+
rapidata-2.33.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
649
|
+
rapidata-2.33.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|