rapidata 2.27.3__py3-none-any.whl → 2.27.5__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 +10 -2
- rapidata/api_client/api/campaign_api.py +247 -0
- rapidata/api_client/api/datapoint_api.py +0 -267
- rapidata/api_client/api/dataset_api.py +24 -6
- rapidata/api_client/api/validation_set_api.py +431 -2
- rapidata/api_client/models/__init__.py +10 -2
- rapidata/api_client/models/ab_test_selection_a_inner.py +26 -12
- rapidata/api_client/models/boost_query_result.py +100 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +38 -10
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/effort_capped_selection.py +115 -0
- rapidata/api_client/models/file_asset_model_metadata_value.py +39 -11
- rapidata/api_client/models/get_validation_rapids_result.py +3 -3
- rapidata/api_client/models/get_workflow_results_result.py +3 -3
- rapidata/api_client/models/rapid_model.py +3 -3
- rapidata/api_client/models/streams_metadata.py +102 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/video_duration_metadata.py +98 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client_README.md +17 -7
- rapidata/rapidata_client/order/_rapidata_dataset.py +91 -41
- rapidata/rapidata_client/order/_rapidata_order_builder.py +2 -44
- {rapidata-2.27.3.dist-info → rapidata-2.27.5.dist-info}/METADATA +2 -2
- {rapidata-2.27.3.dist-info → rapidata-2.27.5.dist-info}/RECORD +30 -20
- {rapidata-2.27.3.dist-info → rapidata-2.27.5.dist-info}/LICENSE +0 -0
- {rapidata-2.27.3.dist-info → rapidata-2.27.5.dist-info}/WHEEL +0 -0
|
@@ -25,12 +25,13 @@ from rapidata.api_client.models.create_datapoint_from_urls_model import CreateDa
|
|
|
25
25
|
from rapidata.api_client.models.create_datapoint_result import CreateDatapointResult
|
|
26
26
|
from rapidata.api_client.models.create_datapoints_from_s3_bucket_model import CreateDatapointsFromS3BucketModel
|
|
27
27
|
from rapidata.api_client.models.datapoint_metadata_model import DatapointMetadataModel
|
|
28
|
+
from rapidata.api_client.models.datapoint_model_paged_result import DatapointModelPagedResult
|
|
28
29
|
from rapidata.api_client.models.dataset_dataset_id_datapoints_post_request_metadata_inner import DatasetDatasetIdDatapointsPostRequestMetadataInner
|
|
29
|
-
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
30
30
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
31
31
|
from rapidata.api_client.models.get_dataset_progress_result import GetDatasetProgressResult
|
|
32
32
|
from rapidata.api_client.models.get_failed_datapoints_result import GetFailedDatapointsResult
|
|
33
33
|
from rapidata.api_client.models.import_from_file_result import ImportFromFileResult
|
|
34
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
34
35
|
from rapidata.api_client.models.update_dataset_name_model import UpdateDatasetNameModel
|
|
35
36
|
from rapidata.api_client.models.upload_files_from_s3_bucket_model import UploadFilesFromS3BucketModel
|
|
36
37
|
from rapidata.api_client.models.upload_from_s3_result import UploadFromS3Result
|
|
@@ -1497,6 +1498,7 @@ class DatasetApi:
|
|
|
1497
1498
|
def dataset_dataset_id_datapoints_get(
|
|
1498
1499
|
self,
|
|
1499
1500
|
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the datapoints of.")],
|
|
1501
|
+
request: Annotated[Optional[QueryModel], Field(description="The query model to filter, sort, and paginate the results.")] = None,
|
|
1500
1502
|
_request_timeout: Union[
|
|
1501
1503
|
None,
|
|
1502
1504
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1509,12 +1511,14 @@ class DatasetApi:
|
|
|
1509
1511
|
_content_type: Optional[StrictStr] = None,
|
|
1510
1512
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1511
1513
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1512
|
-
) ->
|
|
1514
|
+
) -> DatapointModelPagedResult:
|
|
1513
1515
|
"""Gets all datapoints of a dataset.
|
|
1514
1516
|
|
|
1515
1517
|
|
|
1516
1518
|
:param dataset_id: The id of the dataset to get the datapoints of. (required)
|
|
1517
1519
|
:type dataset_id: str
|
|
1520
|
+
:param request: The query model to filter, sort, and paginate the results.
|
|
1521
|
+
:type request: QueryModel
|
|
1518
1522
|
:param _request_timeout: timeout setting for this request. If one
|
|
1519
1523
|
number provided, it will be total request
|
|
1520
1524
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1539,6 +1543,7 @@ class DatasetApi:
|
|
|
1539
1543
|
|
|
1540
1544
|
_param = self._dataset_dataset_id_datapoints_get_serialize(
|
|
1541
1545
|
dataset_id=dataset_id,
|
|
1546
|
+
request=request,
|
|
1542
1547
|
_request_auth=_request_auth,
|
|
1543
1548
|
_content_type=_content_type,
|
|
1544
1549
|
_headers=_headers,
|
|
@@ -1546,7 +1551,7 @@ class DatasetApi:
|
|
|
1546
1551
|
)
|
|
1547
1552
|
|
|
1548
1553
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1549
|
-
'200': "
|
|
1554
|
+
'200': "DatapointModelPagedResult",
|
|
1550
1555
|
}
|
|
1551
1556
|
response_data = self.api_client.call_api(
|
|
1552
1557
|
*_param,
|
|
@@ -1563,6 +1568,7 @@ class DatasetApi:
|
|
|
1563
1568
|
def dataset_dataset_id_datapoints_get_with_http_info(
|
|
1564
1569
|
self,
|
|
1565
1570
|
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the datapoints of.")],
|
|
1571
|
+
request: Annotated[Optional[QueryModel], Field(description="The query model to filter, sort, and paginate the results.")] = None,
|
|
1566
1572
|
_request_timeout: Union[
|
|
1567
1573
|
None,
|
|
1568
1574
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1575,12 +1581,14 @@ class DatasetApi:
|
|
|
1575
1581
|
_content_type: Optional[StrictStr] = None,
|
|
1576
1582
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1577
1583
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1578
|
-
) -> ApiResponse[
|
|
1584
|
+
) -> ApiResponse[DatapointModelPagedResult]:
|
|
1579
1585
|
"""Gets all datapoints of a dataset.
|
|
1580
1586
|
|
|
1581
1587
|
|
|
1582
1588
|
:param dataset_id: The id of the dataset to get the datapoints of. (required)
|
|
1583
1589
|
:type dataset_id: str
|
|
1590
|
+
:param request: The query model to filter, sort, and paginate the results.
|
|
1591
|
+
:type request: QueryModel
|
|
1584
1592
|
:param _request_timeout: timeout setting for this request. If one
|
|
1585
1593
|
number provided, it will be total request
|
|
1586
1594
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1605,6 +1613,7 @@ class DatasetApi:
|
|
|
1605
1613
|
|
|
1606
1614
|
_param = self._dataset_dataset_id_datapoints_get_serialize(
|
|
1607
1615
|
dataset_id=dataset_id,
|
|
1616
|
+
request=request,
|
|
1608
1617
|
_request_auth=_request_auth,
|
|
1609
1618
|
_content_type=_content_type,
|
|
1610
1619
|
_headers=_headers,
|
|
@@ -1612,7 +1621,7 @@ class DatasetApi:
|
|
|
1612
1621
|
)
|
|
1613
1622
|
|
|
1614
1623
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1615
|
-
'200': "
|
|
1624
|
+
'200': "DatapointModelPagedResult",
|
|
1616
1625
|
}
|
|
1617
1626
|
response_data = self.api_client.call_api(
|
|
1618
1627
|
*_param,
|
|
@@ -1629,6 +1638,7 @@ class DatasetApi:
|
|
|
1629
1638
|
def dataset_dataset_id_datapoints_get_without_preload_content(
|
|
1630
1639
|
self,
|
|
1631
1640
|
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the datapoints of.")],
|
|
1641
|
+
request: Annotated[Optional[QueryModel], Field(description="The query model to filter, sort, and paginate the results.")] = None,
|
|
1632
1642
|
_request_timeout: Union[
|
|
1633
1643
|
None,
|
|
1634
1644
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1647,6 +1657,8 @@ class DatasetApi:
|
|
|
1647
1657
|
|
|
1648
1658
|
:param dataset_id: The id of the dataset to get the datapoints of. (required)
|
|
1649
1659
|
:type dataset_id: str
|
|
1660
|
+
:param request: The query model to filter, sort, and paginate the results.
|
|
1661
|
+
:type request: QueryModel
|
|
1650
1662
|
:param _request_timeout: timeout setting for this request. If one
|
|
1651
1663
|
number provided, it will be total request
|
|
1652
1664
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1671,6 +1683,7 @@ class DatasetApi:
|
|
|
1671
1683
|
|
|
1672
1684
|
_param = self._dataset_dataset_id_datapoints_get_serialize(
|
|
1673
1685
|
dataset_id=dataset_id,
|
|
1686
|
+
request=request,
|
|
1674
1687
|
_request_auth=_request_auth,
|
|
1675
1688
|
_content_type=_content_type,
|
|
1676
1689
|
_headers=_headers,
|
|
@@ -1678,7 +1691,7 @@ class DatasetApi:
|
|
|
1678
1691
|
)
|
|
1679
1692
|
|
|
1680
1693
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1681
|
-
'200': "
|
|
1694
|
+
'200': "DatapointModelPagedResult",
|
|
1682
1695
|
}
|
|
1683
1696
|
response_data = self.api_client.call_api(
|
|
1684
1697
|
*_param,
|
|
@@ -1690,6 +1703,7 @@ class DatasetApi:
|
|
|
1690
1703
|
def _dataset_dataset_id_datapoints_get_serialize(
|
|
1691
1704
|
self,
|
|
1692
1705
|
dataset_id,
|
|
1706
|
+
request,
|
|
1693
1707
|
_request_auth,
|
|
1694
1708
|
_content_type,
|
|
1695
1709
|
_headers,
|
|
@@ -1714,6 +1728,10 @@ class DatasetApi:
|
|
|
1714
1728
|
if dataset_id is not None:
|
|
1715
1729
|
_path_params['datasetId'] = dataset_id
|
|
1716
1730
|
# process the query parameters
|
|
1731
|
+
if request is not None:
|
|
1732
|
+
|
|
1733
|
+
_query_params.append(('request', request))
|
|
1734
|
+
|
|
1717
1735
|
# process the header parameters
|
|
1718
1736
|
# process the form parameters
|
|
1719
1737
|
# process the body parameter
|
|
@@ -16,14 +16,15 @@ 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, StrictBytes, StrictStr
|
|
20
|
-
from typing import List, Optional, Tuple, Union
|
|
19
|
+
from pydantic import Field, StrictBytes, StrictFloat, StrictInt, StrictStr
|
|
20
|
+
from typing import Any, List, Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.add_validation_rapid_model import AddValidationRapidModel
|
|
23
23
|
from rapidata.api_client.models.add_validation_rapid_result import AddValidationRapidResult
|
|
24
24
|
from rapidata.api_client.models.add_validation_text_rapid_model import AddValidationTextRapidModel
|
|
25
25
|
from rapidata.api_client.models.create_empty_validation_set_result import CreateEmptyValidationSetResult
|
|
26
26
|
from rapidata.api_client.models.create_validation_set_model import CreateValidationSetModel
|
|
27
|
+
from rapidata.api_client.models.dataset_dataset_id_datapoints_post_request_metadata_inner import DatasetDatasetIdDatapointsPostRequestMetadataInner
|
|
27
28
|
from rapidata.api_client.models.get_available_validation_sets_result import GetAvailableValidationSetsResult
|
|
28
29
|
from rapidata.api_client.models.get_validation_rapids_result_paged_result import GetValidationRapidsResultPagedResult
|
|
29
30
|
from rapidata.api_client.models.get_validation_set_by_id_result import GetValidationSetByIdResult
|
|
@@ -3861,6 +3862,434 @@ class ValidationSetApi:
|
|
|
3861
3862
|
|
|
3862
3863
|
|
|
3863
3864
|
|
|
3865
|
+
@validate_call
|
|
3866
|
+
def validation_set_validation_set_id_rapid_post(
|
|
3867
|
+
self,
|
|
3868
|
+
validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set.")],
|
|
3869
|
+
validation_set_id2: Annotated[Optional[StrictStr], Field(description="The ID of the validation set to add the rapid to.")] = None,
|
|
3870
|
+
payload: Annotated[Optional[Any], Field(description="The payload to use for the rapid.")] = None,
|
|
3871
|
+
metadata: Annotated[Optional[List[DatasetDatasetIdDatapointsPostRequestMetadataInner]], Field(description="Some metadata to attach to the rapid.")] = None,
|
|
3872
|
+
truth: Annotated[Optional[Any], Field(description="The ground truth for the rapid.")] = None,
|
|
3873
|
+
random_correct_probability: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The probability for an answer to be correct when randomly guessing.")] = None,
|
|
3874
|
+
explanation: Annotated[Optional[StrictStr], Field(description="An explanation for the users if they answer the rapid incorrectly.")] = None,
|
|
3875
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to upload from the local storage. Must be either images or videos.")] = None,
|
|
3876
|
+
text: Annotated[Optional[List[StrictStr]], Field(description="The texts to upload. The length limit is set at 256 characters per text.")] = None,
|
|
3877
|
+
url: Annotated[Optional[List[StrictStr]], Field(description="Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>")] = None,
|
|
3878
|
+
_request_timeout: Union[
|
|
3879
|
+
None,
|
|
3880
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3881
|
+
Tuple[
|
|
3882
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3883
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3884
|
+
]
|
|
3885
|
+
] = None,
|
|
3886
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3887
|
+
_content_type: Optional[StrictStr] = None,
|
|
3888
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3889
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3890
|
+
) -> AddValidationRapidResult:
|
|
3891
|
+
"""Creates a new rapid for a validation set from multiple possible sources.
|
|
3892
|
+
|
|
3893
|
+
Multiple files, texts, and urls can be provided. If multiple files are provided, a multi-asset rapid will be created, meaning that all sources provided will be stored as sub-assets of the rapid. If multiple rapids are desired, one should not pass in multiple files, texts, or urls, instead, one should call this endpoint multiple times with the desired file, text, or url per rapid. The request must be a multipart form request, where each parameter is sent as a separate part. The files, texts, and urls can be mixed and matched as needed, however, at least one of them must be provided, and one should make sure that mixing them makes sense for the dataset.
|
|
3894
|
+
|
|
3895
|
+
:param validation_set_id: The id of the validation set. (required)
|
|
3896
|
+
:type validation_set_id: str
|
|
3897
|
+
:param validation_set_id2: The ID of the validation set to add the rapid to.
|
|
3898
|
+
:type validation_set_id2: str
|
|
3899
|
+
:param payload: The payload to use for the rapid.
|
|
3900
|
+
:type payload: ValidationSetValidationSetIdRapidPostPayloadParameter
|
|
3901
|
+
:param metadata: Some metadata to attach to the rapid.
|
|
3902
|
+
:type metadata: List[DatasetDatasetIdDatapointsPostRequestMetadataInner]
|
|
3903
|
+
:param truth: The ground truth for the rapid.
|
|
3904
|
+
:type truth: ValidationSetValidationSetIdRapidPostTruthParameter
|
|
3905
|
+
:param random_correct_probability: The probability for an answer to be correct when randomly guessing.
|
|
3906
|
+
:type random_correct_probability: float
|
|
3907
|
+
:param explanation: An explanation for the users if they answer the rapid incorrectly.
|
|
3908
|
+
:type explanation: str
|
|
3909
|
+
:param file: The files to upload from the local storage. Must be either images or videos.
|
|
3910
|
+
:type file: List[bytearray]
|
|
3911
|
+
:param text: The texts to upload. The length limit is set at 256 characters per text.
|
|
3912
|
+
:type text: List[str]
|
|
3913
|
+
:param url: Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>
|
|
3914
|
+
:type url: List[str]
|
|
3915
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3916
|
+
number provided, it will be total request
|
|
3917
|
+
timeout. It can also be a pair (tuple) of
|
|
3918
|
+
(connection, read) timeouts.
|
|
3919
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3920
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3921
|
+
request; this effectively ignores the
|
|
3922
|
+
authentication in the spec for a single request.
|
|
3923
|
+
:type _request_auth: dict, optional
|
|
3924
|
+
:param _content_type: force content-type for the request.
|
|
3925
|
+
:type _content_type: str, Optional
|
|
3926
|
+
:param _headers: set to override the headers for a single
|
|
3927
|
+
request; this effectively ignores the headers
|
|
3928
|
+
in the spec for a single request.
|
|
3929
|
+
:type _headers: dict, optional
|
|
3930
|
+
:param _host_index: set to override the host_index for a single
|
|
3931
|
+
request; this effectively ignores the host_index
|
|
3932
|
+
in the spec for a single request.
|
|
3933
|
+
:type _host_index: int, optional
|
|
3934
|
+
:return: Returns the result object.
|
|
3935
|
+
""" # noqa: E501
|
|
3936
|
+
|
|
3937
|
+
_param = self._validation_set_validation_set_id_rapid_post_serialize(
|
|
3938
|
+
validation_set_id=validation_set_id,
|
|
3939
|
+
validation_set_id2=validation_set_id2,
|
|
3940
|
+
payload=payload,
|
|
3941
|
+
metadata=metadata,
|
|
3942
|
+
truth=truth,
|
|
3943
|
+
random_correct_probability=random_correct_probability,
|
|
3944
|
+
explanation=explanation,
|
|
3945
|
+
file=file,
|
|
3946
|
+
text=text,
|
|
3947
|
+
url=url,
|
|
3948
|
+
_request_auth=_request_auth,
|
|
3949
|
+
_content_type=_content_type,
|
|
3950
|
+
_headers=_headers,
|
|
3951
|
+
_host_index=_host_index
|
|
3952
|
+
)
|
|
3953
|
+
|
|
3954
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3955
|
+
'200': "AddValidationRapidResult",
|
|
3956
|
+
}
|
|
3957
|
+
response_data = self.api_client.call_api(
|
|
3958
|
+
*_param,
|
|
3959
|
+
_request_timeout=_request_timeout
|
|
3960
|
+
)
|
|
3961
|
+
response_data.read()
|
|
3962
|
+
return self.api_client.response_deserialize(
|
|
3963
|
+
response_data=response_data,
|
|
3964
|
+
response_types_map=_response_types_map,
|
|
3965
|
+
).data
|
|
3966
|
+
|
|
3967
|
+
|
|
3968
|
+
@validate_call
|
|
3969
|
+
def validation_set_validation_set_id_rapid_post_with_http_info(
|
|
3970
|
+
self,
|
|
3971
|
+
validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set.")],
|
|
3972
|
+
validation_set_id2: Annotated[Optional[StrictStr], Field(description="The ID of the validation set to add the rapid to.")] = None,
|
|
3973
|
+
payload: Annotated[Optional[Any], Field(description="The payload to use for the rapid.")] = None,
|
|
3974
|
+
metadata: Annotated[Optional[List[DatasetDatasetIdDatapointsPostRequestMetadataInner]], Field(description="Some metadata to attach to the rapid.")] = None,
|
|
3975
|
+
truth: Annotated[Optional[Any], Field(description="The ground truth for the rapid.")] = None,
|
|
3976
|
+
random_correct_probability: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The probability for an answer to be correct when randomly guessing.")] = None,
|
|
3977
|
+
explanation: Annotated[Optional[StrictStr], Field(description="An explanation for the users if they answer the rapid incorrectly.")] = None,
|
|
3978
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to upload from the local storage. Must be either images or videos.")] = None,
|
|
3979
|
+
text: Annotated[Optional[List[StrictStr]], Field(description="The texts to upload. The length limit is set at 256 characters per text.")] = None,
|
|
3980
|
+
url: Annotated[Optional[List[StrictStr]], Field(description="Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>")] = None,
|
|
3981
|
+
_request_timeout: Union[
|
|
3982
|
+
None,
|
|
3983
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3984
|
+
Tuple[
|
|
3985
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3986
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3987
|
+
]
|
|
3988
|
+
] = None,
|
|
3989
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3990
|
+
_content_type: Optional[StrictStr] = None,
|
|
3991
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3992
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3993
|
+
) -> ApiResponse[AddValidationRapidResult]:
|
|
3994
|
+
"""Creates a new rapid for a validation set from multiple possible sources.
|
|
3995
|
+
|
|
3996
|
+
Multiple files, texts, and urls can be provided. If multiple files are provided, a multi-asset rapid will be created, meaning that all sources provided will be stored as sub-assets of the rapid. If multiple rapids are desired, one should not pass in multiple files, texts, or urls, instead, one should call this endpoint multiple times with the desired file, text, or url per rapid. The request must be a multipart form request, where each parameter is sent as a separate part. The files, texts, and urls can be mixed and matched as needed, however, at least one of them must be provided, and one should make sure that mixing them makes sense for the dataset.
|
|
3997
|
+
|
|
3998
|
+
:param validation_set_id: The id of the validation set. (required)
|
|
3999
|
+
:type validation_set_id: str
|
|
4000
|
+
:param validation_set_id2: The ID of the validation set to add the rapid to.
|
|
4001
|
+
:type validation_set_id2: str
|
|
4002
|
+
:param payload: The payload to use for the rapid.
|
|
4003
|
+
:type payload: ValidationSetValidationSetIdRapidPostPayloadParameter
|
|
4004
|
+
:param metadata: Some metadata to attach to the rapid.
|
|
4005
|
+
:type metadata: List[DatasetDatasetIdDatapointsPostRequestMetadataInner]
|
|
4006
|
+
:param truth: The ground truth for the rapid.
|
|
4007
|
+
:type truth: ValidationSetValidationSetIdRapidPostTruthParameter
|
|
4008
|
+
:param random_correct_probability: The probability for an answer to be correct when randomly guessing.
|
|
4009
|
+
:type random_correct_probability: float
|
|
4010
|
+
:param explanation: An explanation for the users if they answer the rapid incorrectly.
|
|
4011
|
+
:type explanation: str
|
|
4012
|
+
:param file: The files to upload from the local storage. Must be either images or videos.
|
|
4013
|
+
:type file: List[bytearray]
|
|
4014
|
+
:param text: The texts to upload. The length limit is set at 256 characters per text.
|
|
4015
|
+
:type text: List[str]
|
|
4016
|
+
:param url: Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>
|
|
4017
|
+
:type url: List[str]
|
|
4018
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4019
|
+
number provided, it will be total request
|
|
4020
|
+
timeout. It can also be a pair (tuple) of
|
|
4021
|
+
(connection, read) timeouts.
|
|
4022
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4023
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4024
|
+
request; this effectively ignores the
|
|
4025
|
+
authentication in the spec for a single request.
|
|
4026
|
+
:type _request_auth: dict, optional
|
|
4027
|
+
:param _content_type: force content-type for the request.
|
|
4028
|
+
:type _content_type: str, Optional
|
|
4029
|
+
:param _headers: set to override the headers for a single
|
|
4030
|
+
request; this effectively ignores the headers
|
|
4031
|
+
in the spec for a single request.
|
|
4032
|
+
:type _headers: dict, optional
|
|
4033
|
+
:param _host_index: set to override the host_index for a single
|
|
4034
|
+
request; this effectively ignores the host_index
|
|
4035
|
+
in the spec for a single request.
|
|
4036
|
+
:type _host_index: int, optional
|
|
4037
|
+
:return: Returns the result object.
|
|
4038
|
+
""" # noqa: E501
|
|
4039
|
+
|
|
4040
|
+
_param = self._validation_set_validation_set_id_rapid_post_serialize(
|
|
4041
|
+
validation_set_id=validation_set_id,
|
|
4042
|
+
validation_set_id2=validation_set_id2,
|
|
4043
|
+
payload=payload,
|
|
4044
|
+
metadata=metadata,
|
|
4045
|
+
truth=truth,
|
|
4046
|
+
random_correct_probability=random_correct_probability,
|
|
4047
|
+
explanation=explanation,
|
|
4048
|
+
file=file,
|
|
4049
|
+
text=text,
|
|
4050
|
+
url=url,
|
|
4051
|
+
_request_auth=_request_auth,
|
|
4052
|
+
_content_type=_content_type,
|
|
4053
|
+
_headers=_headers,
|
|
4054
|
+
_host_index=_host_index
|
|
4055
|
+
)
|
|
4056
|
+
|
|
4057
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4058
|
+
'200': "AddValidationRapidResult",
|
|
4059
|
+
}
|
|
4060
|
+
response_data = self.api_client.call_api(
|
|
4061
|
+
*_param,
|
|
4062
|
+
_request_timeout=_request_timeout
|
|
4063
|
+
)
|
|
4064
|
+
response_data.read()
|
|
4065
|
+
return self.api_client.response_deserialize(
|
|
4066
|
+
response_data=response_data,
|
|
4067
|
+
response_types_map=_response_types_map,
|
|
4068
|
+
)
|
|
4069
|
+
|
|
4070
|
+
|
|
4071
|
+
@validate_call
|
|
4072
|
+
def validation_set_validation_set_id_rapid_post_without_preload_content(
|
|
4073
|
+
self,
|
|
4074
|
+
validation_set_id: Annotated[StrictStr, Field(description="The id of the validation set.")],
|
|
4075
|
+
validation_set_id2: Annotated[Optional[StrictStr], Field(description="The ID of the validation set to add the rapid to.")] = None,
|
|
4076
|
+
payload: Annotated[Optional[Any], Field(description="The payload to use for the rapid.")] = None,
|
|
4077
|
+
metadata: Annotated[Optional[List[DatasetDatasetIdDatapointsPostRequestMetadataInner]], Field(description="Some metadata to attach to the rapid.")] = None,
|
|
4078
|
+
truth: Annotated[Optional[Any], Field(description="The ground truth for the rapid.")] = None,
|
|
4079
|
+
random_correct_probability: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The probability for an answer to be correct when randomly guessing.")] = None,
|
|
4080
|
+
explanation: Annotated[Optional[StrictStr], Field(description="An explanation for the users if they answer the rapid incorrectly.")] = None,
|
|
4081
|
+
file: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The files to upload from the local storage. Must be either images or videos.")] = None,
|
|
4082
|
+
text: Annotated[Optional[List[StrictStr]], Field(description="The texts to upload. The length limit is set at 256 characters per text.")] = None,
|
|
4083
|
+
url: Annotated[Optional[List[StrictStr]], Field(description="Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>")] = None,
|
|
4084
|
+
_request_timeout: Union[
|
|
4085
|
+
None,
|
|
4086
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4087
|
+
Tuple[
|
|
4088
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4089
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4090
|
+
]
|
|
4091
|
+
] = None,
|
|
4092
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4093
|
+
_content_type: Optional[StrictStr] = None,
|
|
4094
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4095
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4096
|
+
) -> RESTResponseType:
|
|
4097
|
+
"""Creates a new rapid for a validation set from multiple possible sources.
|
|
4098
|
+
|
|
4099
|
+
Multiple files, texts, and urls can be provided. If multiple files are provided, a multi-asset rapid will be created, meaning that all sources provided will be stored as sub-assets of the rapid. If multiple rapids are desired, one should not pass in multiple files, texts, or urls, instead, one should call this endpoint multiple times with the desired file, text, or url per rapid. The request must be a multipart form request, where each parameter is sent as a separate part. The files, texts, and urls can be mixed and matched as needed, however, at least one of them must be provided, and one should make sure that mixing them makes sense for the dataset.
|
|
4100
|
+
|
|
4101
|
+
:param validation_set_id: The id of the validation set. (required)
|
|
4102
|
+
:type validation_set_id: str
|
|
4103
|
+
:param validation_set_id2: The ID of the validation set to add the rapid to.
|
|
4104
|
+
:type validation_set_id2: str
|
|
4105
|
+
:param payload: The payload to use for the rapid.
|
|
4106
|
+
:type payload: ValidationSetValidationSetIdRapidPostPayloadParameter
|
|
4107
|
+
:param metadata: Some metadata to attach to the rapid.
|
|
4108
|
+
:type metadata: List[DatasetDatasetIdDatapointsPostRequestMetadataInner]
|
|
4109
|
+
:param truth: The ground truth for the rapid.
|
|
4110
|
+
:type truth: ValidationSetValidationSetIdRapidPostTruthParameter
|
|
4111
|
+
:param random_correct_probability: The probability for an answer to be correct when randomly guessing.
|
|
4112
|
+
:type random_correct_probability: float
|
|
4113
|
+
:param explanation: An explanation for the users if they answer the rapid incorrectly.
|
|
4114
|
+
:type explanation: str
|
|
4115
|
+
:param file: The files to upload from the local storage. Must be either images or videos.
|
|
4116
|
+
:type file: List[bytearray]
|
|
4117
|
+
:param text: The texts to upload. The length limit is set at 256 characters per text.
|
|
4118
|
+
:type text: List[str]
|
|
4119
|
+
:param url: Creates an asset from a url. The url needs to point to a publicly accessible resource. The server will download the resource and store it as an asset in the background. <remarks> Additionally, to the urls having to be publicly accessible, they need to support HTTP HEAD requests. </remarks>
|
|
4120
|
+
:type url: List[str]
|
|
4121
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4122
|
+
number provided, it will be total request
|
|
4123
|
+
timeout. It can also be a pair (tuple) of
|
|
4124
|
+
(connection, read) timeouts.
|
|
4125
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4126
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4127
|
+
request; this effectively ignores the
|
|
4128
|
+
authentication in the spec for a single request.
|
|
4129
|
+
:type _request_auth: dict, optional
|
|
4130
|
+
:param _content_type: force content-type for the request.
|
|
4131
|
+
:type _content_type: str, Optional
|
|
4132
|
+
:param _headers: set to override the headers for a single
|
|
4133
|
+
request; this effectively ignores the headers
|
|
4134
|
+
in the spec for a single request.
|
|
4135
|
+
:type _headers: dict, optional
|
|
4136
|
+
:param _host_index: set to override the host_index for a single
|
|
4137
|
+
request; this effectively ignores the host_index
|
|
4138
|
+
in the spec for a single request.
|
|
4139
|
+
:type _host_index: int, optional
|
|
4140
|
+
:return: Returns the result object.
|
|
4141
|
+
""" # noqa: E501
|
|
4142
|
+
|
|
4143
|
+
_param = self._validation_set_validation_set_id_rapid_post_serialize(
|
|
4144
|
+
validation_set_id=validation_set_id,
|
|
4145
|
+
validation_set_id2=validation_set_id2,
|
|
4146
|
+
payload=payload,
|
|
4147
|
+
metadata=metadata,
|
|
4148
|
+
truth=truth,
|
|
4149
|
+
random_correct_probability=random_correct_probability,
|
|
4150
|
+
explanation=explanation,
|
|
4151
|
+
file=file,
|
|
4152
|
+
text=text,
|
|
4153
|
+
url=url,
|
|
4154
|
+
_request_auth=_request_auth,
|
|
4155
|
+
_content_type=_content_type,
|
|
4156
|
+
_headers=_headers,
|
|
4157
|
+
_host_index=_host_index
|
|
4158
|
+
)
|
|
4159
|
+
|
|
4160
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4161
|
+
'200': "AddValidationRapidResult",
|
|
4162
|
+
}
|
|
4163
|
+
response_data = self.api_client.call_api(
|
|
4164
|
+
*_param,
|
|
4165
|
+
_request_timeout=_request_timeout
|
|
4166
|
+
)
|
|
4167
|
+
return response_data.response
|
|
4168
|
+
|
|
4169
|
+
|
|
4170
|
+
def _validation_set_validation_set_id_rapid_post_serialize(
|
|
4171
|
+
self,
|
|
4172
|
+
validation_set_id,
|
|
4173
|
+
validation_set_id2,
|
|
4174
|
+
payload,
|
|
4175
|
+
metadata,
|
|
4176
|
+
truth,
|
|
4177
|
+
random_correct_probability,
|
|
4178
|
+
explanation,
|
|
4179
|
+
file,
|
|
4180
|
+
text,
|
|
4181
|
+
url,
|
|
4182
|
+
_request_auth,
|
|
4183
|
+
_content_type,
|
|
4184
|
+
_headers,
|
|
4185
|
+
_host_index,
|
|
4186
|
+
) -> RequestSerialized:
|
|
4187
|
+
|
|
4188
|
+
_host = None
|
|
4189
|
+
|
|
4190
|
+
_collection_formats: Dict[str, str] = {
|
|
4191
|
+
'Metadata': 'multi',
|
|
4192
|
+
'file': 'csv',
|
|
4193
|
+
'text': 'multi',
|
|
4194
|
+
'url': 'multi',
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
_path_params: Dict[str, str] = {}
|
|
4198
|
+
_query_params: List[Tuple[str, str]] = []
|
|
4199
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
4200
|
+
_form_params: List[Tuple[str, str]] = []
|
|
4201
|
+
_files: Dict[
|
|
4202
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
4203
|
+
] = {}
|
|
4204
|
+
_body_params: Optional[bytes] = None
|
|
4205
|
+
|
|
4206
|
+
# process the path parameters
|
|
4207
|
+
if validation_set_id is not None:
|
|
4208
|
+
_path_params['validationSetId'] = validation_set_id
|
|
4209
|
+
# process the query parameters
|
|
4210
|
+
if validation_set_id2 is not None:
|
|
4211
|
+
|
|
4212
|
+
_query_params.append(('ValidationSetId', validation_set_id2))
|
|
4213
|
+
|
|
4214
|
+
if payload is not None:
|
|
4215
|
+
|
|
4216
|
+
_query_params.append(('Payload', payload))
|
|
4217
|
+
|
|
4218
|
+
if metadata is not None:
|
|
4219
|
+
|
|
4220
|
+
_query_params.append(('Metadata', metadata))
|
|
4221
|
+
|
|
4222
|
+
if truth is not None:
|
|
4223
|
+
|
|
4224
|
+
_query_params.append(('Truth', truth))
|
|
4225
|
+
|
|
4226
|
+
if random_correct_probability is not None:
|
|
4227
|
+
|
|
4228
|
+
_query_params.append(('RandomCorrectProbability', random_correct_probability))
|
|
4229
|
+
|
|
4230
|
+
if explanation is not None:
|
|
4231
|
+
|
|
4232
|
+
_query_params.append(('Explanation', explanation))
|
|
4233
|
+
|
|
4234
|
+
# process the header parameters
|
|
4235
|
+
# process the form parameters
|
|
4236
|
+
if file is not None:
|
|
4237
|
+
_files['file'] = file
|
|
4238
|
+
if text is not None:
|
|
4239
|
+
_form_params.append(('text', text))
|
|
4240
|
+
if url is not None:
|
|
4241
|
+
_form_params.append(('url', url))
|
|
4242
|
+
# process the body parameter
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
# set the HTTP header `Accept`
|
|
4246
|
+
if 'Accept' not in _header_params:
|
|
4247
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4248
|
+
[
|
|
4249
|
+
'text/plain',
|
|
4250
|
+
'application/json',
|
|
4251
|
+
'text/json'
|
|
4252
|
+
]
|
|
4253
|
+
)
|
|
4254
|
+
|
|
4255
|
+
# set the HTTP header `Content-Type`
|
|
4256
|
+
if _content_type:
|
|
4257
|
+
_header_params['Content-Type'] = _content_type
|
|
4258
|
+
else:
|
|
4259
|
+
_default_content_type = (
|
|
4260
|
+
self.api_client.select_header_content_type(
|
|
4261
|
+
[
|
|
4262
|
+
'multipart/form-data'
|
|
4263
|
+
]
|
|
4264
|
+
)
|
|
4265
|
+
)
|
|
4266
|
+
if _default_content_type is not None:
|
|
4267
|
+
_header_params['Content-Type'] = _default_content_type
|
|
4268
|
+
|
|
4269
|
+
# authentication setting
|
|
4270
|
+
_auth_settings: List[str] = [
|
|
4271
|
+
'bearer',
|
|
4272
|
+
'oauth2'
|
|
4273
|
+
]
|
|
4274
|
+
|
|
4275
|
+
return self.api_client.param_serialize(
|
|
4276
|
+
method='POST',
|
|
4277
|
+
resource_path='/validation-set/{validationSetId}/rapid',
|
|
4278
|
+
path_params=_path_params,
|
|
4279
|
+
query_params=_query_params,
|
|
4280
|
+
header_params=_header_params,
|
|
4281
|
+
body=_body_params,
|
|
4282
|
+
post_params=_form_params,
|
|
4283
|
+
files=_files,
|
|
4284
|
+
auth_settings=_auth_settings,
|
|
4285
|
+
collection_formats=_collection_formats,
|
|
4286
|
+
_host=_host,
|
|
4287
|
+
_request_auth=_request_auth
|
|
4288
|
+
)
|
|
4289
|
+
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
|
|
3864
4293
|
@validate_call
|
|
3865
4294
|
def validation_set_validation_set_id_rapid_texts_post(
|
|
3866
4295
|
self,
|
|
@@ -35,6 +35,8 @@ from rapidata.api_client.models.attach_category_rapid_blueprint import AttachCat
|
|
|
35
35
|
from rapidata.api_client.models.attach_category_result import AttachCategoryResult
|
|
36
36
|
from rapidata.api_client.models.attach_category_truth import AttachCategoryTruth
|
|
37
37
|
from rapidata.api_client.models.base_error import BaseError
|
|
38
|
+
from rapidata.api_client.models.boost_query_result import BoostQueryResult
|
|
39
|
+
from rapidata.api_client.models.boost_status import BoostStatus
|
|
38
40
|
from rapidata.api_client.models.bounding_box_payload import BoundingBoxPayload
|
|
39
41
|
from rapidata.api_client.models.bounding_box_rapid_blueprint import BoundingBoxRapidBlueprint
|
|
40
42
|
from rapidata.api_client.models.bounding_box_result import BoundingBoxResult
|
|
@@ -107,6 +109,7 @@ from rapidata.api_client.models.datapoint import Datapoint
|
|
|
107
109
|
from rapidata.api_client.models.datapoint_asset import DatapointAsset
|
|
108
110
|
from rapidata.api_client.models.datapoint_metadata_model import DatapointMetadataModel
|
|
109
111
|
from rapidata.api_client.models.datapoint_model import DatapointModel
|
|
112
|
+
from rapidata.api_client.models.datapoint_model_paged_result import DatapointModelPagedResult
|
|
110
113
|
from rapidata.api_client.models.datapoint_state import DatapointState
|
|
111
114
|
from rapidata.api_client.models.dataset_artifact_model import DatasetArtifactModel
|
|
112
115
|
from rapidata.api_client.models.dataset_dataset_id_datapoints_post_request_metadata_inner import DatasetDatasetIdDatapointsPostRequestMetadataInner
|
|
@@ -115,6 +118,7 @@ from rapidata.api_client.models.demographic import Demographic
|
|
|
115
118
|
from rapidata.api_client.models.demographic_metadata_model import DemographicMetadataModel
|
|
116
119
|
from rapidata.api_client.models.demographic_selection import DemographicSelection
|
|
117
120
|
from rapidata.api_client.models.early_stopping_referee_model import EarlyStoppingRefereeModel
|
|
121
|
+
from rapidata.api_client.models.effort_capped_selection import EffortCappedSelection
|
|
118
122
|
from rapidata.api_client.models.elo_config import EloConfig
|
|
119
123
|
from rapidata.api_client.models.elo_config_model import EloConfigModel
|
|
120
124
|
from rapidata.api_client.models.empty_validation_truth import EmptyValidationTruth
|
|
@@ -141,7 +145,6 @@ from rapidata.api_client.models.get_compare_workflow_results_model import GetCom
|
|
|
141
145
|
from rapidata.api_client.models.get_compare_workflow_results_result import GetCompareWorkflowResultsResult
|
|
142
146
|
from rapidata.api_client.models.get_compare_workflow_results_result_paged_result import GetCompareWorkflowResultsResultPagedResult
|
|
143
147
|
from rapidata.api_client.models.get_datapoint_by_id_result import GetDatapointByIdResult
|
|
144
|
-
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
145
148
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
146
149
|
from rapidata.api_client.models.get_dataset_progress_result import GetDatasetProgressResult
|
|
147
150
|
from rapidata.api_client.models.get_failed_datapoints_result import GetFailedDatapointsResult
|
|
@@ -155,7 +158,6 @@ from rapidata.api_client.models.get_simple_workflow_results_model import GetSimp
|
|
|
155
158
|
from rapidata.api_client.models.get_validation_rapids_result import GetValidationRapidsResult
|
|
156
159
|
from rapidata.api_client.models.get_validation_rapids_result_asset import GetValidationRapidsResultAsset
|
|
157
160
|
from rapidata.api_client.models.get_validation_rapids_result_paged_result import GetValidationRapidsResultPagedResult
|
|
158
|
-
from rapidata.api_client.models.get_validation_rapids_result_payload import GetValidationRapidsResultPayload
|
|
159
161
|
from rapidata.api_client.models.get_validation_rapids_result_truth import GetValidationRapidsResultTruth
|
|
160
162
|
from rapidata.api_client.models.get_validation_set_by_id_result import GetValidationSetByIdResult
|
|
161
163
|
from rapidata.api_client.models.get_workflow_by_id_result import GetWorkflowByIdResult
|
|
@@ -274,6 +276,8 @@ from rapidata.api_client.models.source_url_metadata import SourceUrlMetadata
|
|
|
274
276
|
from rapidata.api_client.models.source_url_metadata_model import SourceUrlMetadataModel
|
|
275
277
|
from rapidata.api_client.models.static_selection import StaticSelection
|
|
276
278
|
from rapidata.api_client.models.sticky_state import StickyState
|
|
279
|
+
from rapidata.api_client.models.streams_metadata import StreamsMetadata
|
|
280
|
+
from rapidata.api_client.models.streams_metadata_model import StreamsMetadataModel
|
|
277
281
|
from rapidata.api_client.models.submit_coco_model import SubmitCocoModel
|
|
278
282
|
from rapidata.api_client.models.submit_coco_result import SubmitCocoResult
|
|
279
283
|
from rapidata.api_client.models.text_asset import TextAsset
|
|
@@ -310,6 +314,10 @@ from rapidata.api_client.models.validation_selection import ValidationSelection
|
|
|
310
314
|
from rapidata.api_client.models.validation_set_model import ValidationSetModel
|
|
311
315
|
from rapidata.api_client.models.validation_set_model_paged_result import ValidationSetModelPagedResult
|
|
312
316
|
from rapidata.api_client.models.validation_set_overview_model import ValidationSetOverviewModel
|
|
317
|
+
from rapidata.api_client.models.validation_set_validation_set_id_rapid_post_payload_parameter import ValidationSetValidationSetIdRapidPostPayloadParameter
|
|
318
|
+
from rapidata.api_client.models.validation_set_validation_set_id_rapid_post_truth_parameter import ValidationSetValidationSetIdRapidPostTruthParameter
|
|
319
|
+
from rapidata.api_client.models.video_duration_metadata import VideoDurationMetadata
|
|
320
|
+
from rapidata.api_client.models.video_duration_metadata_model import VideoDurationMetadataModel
|
|
313
321
|
from rapidata.api_client.models.workflow_aggregation_step_model import WorkflowAggregationStepModel
|
|
314
322
|
from rapidata.api_client.models.workflow_artifact_model import WorkflowArtifactModel
|
|
315
323
|
from rapidata.api_client.models.workflow_config_artifact_model import WorkflowConfigArtifactModel
|