rapidata 2.13.0__py3-none-any.whl → 2.14.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 +29 -0
- rapidata/api_client/__init__.py +6 -4
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/dataset_api.py +265 -0
- rapidata/api_client/api/workflow_api.py +298 -1
- rapidata/api_client/models/__init__.py +5 -4
- rapidata/api_client/models/add_campaign_model.py +3 -3
- rapidata/api_client/models/add_validation_rapid_model.py +3 -3
- rapidata/api_client/models/add_validation_text_rapid_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_urls_model.py +26 -4
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_result.py +5 -3
- rapidata/api_client/models/datapoint.py +7 -30
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/get_compare_workflow_results_result.py +3 -3
- rapidata/api_client/models/get_datapoint_by_id_result.py +3 -3
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- rapidata/api_client/models/get_responses_result.py +95 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +3 -3
- rapidata/api_client/models/multi_asset_model.py +3 -3
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +17 -2
- rapidata/api_client_README.md +8 -4
- rapidata/rapidata_client/assets/_media_asset.py +5 -1
- rapidata/rapidata_client/assets/_multi_asset.py +6 -1
- rapidata/rapidata_client/filter/country_filter.py +1 -1
- rapidata/rapidata_client/order/_rapidata_dataset.py +311 -108
- rapidata/rapidata_client/order/rapidata_order_manager.py +64 -6
- rapidata/rapidata_client/validation/rapids/rapids.py +4 -5
- rapidata/rapidata_client/workflow/__init__.py +1 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +40 -0
- {rapidata-2.13.0.dist-info → rapidata-2.14.0.dist-info}/METADATA +1 -1
- {rapidata-2.13.0.dist-info → rapidata-2.14.0.dist-info}/RECORD +36 -32
- {rapidata-2.13.0.dist-info → rapidata-2.14.0.dist-info}/LICENSE +0 -0
- {rapidata-2.13.0.dist-info → rapidata-2.14.0.dist-info}/WHEEL +0 -0
rapidata/__init__.py
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from .rapidata_client import (
|
|
2
|
+
RapidataClient,
|
|
3
|
+
DemographicSelection,
|
|
4
|
+
LabelingSelection,
|
|
5
|
+
ValidationSelection,
|
|
6
|
+
ConditionalValidationSelection,
|
|
7
|
+
CappedSelection,
|
|
8
|
+
RapidataSettings,
|
|
9
|
+
TranslationBehaviourOptions,
|
|
10
|
+
AlertOnFastResponse,
|
|
11
|
+
TranslationBehaviour,
|
|
12
|
+
FreeTextMinimumCharacters,
|
|
13
|
+
NoShuffle,
|
|
14
|
+
PlayVideoUntilTheEnd,
|
|
15
|
+
CustomSetting,
|
|
16
|
+
CountryFilter,
|
|
17
|
+
LanguageFilter,
|
|
18
|
+
UserScoreFilter,
|
|
19
|
+
CampaignFilter,
|
|
20
|
+
CustomFilter,
|
|
21
|
+
AgeGroup,
|
|
22
|
+
Gender,
|
|
23
|
+
CountryCodes,
|
|
24
|
+
MediaAsset,
|
|
25
|
+
TextAsset,
|
|
26
|
+
MultiAsset,
|
|
27
|
+
RapidataDataTypes,
|
|
28
|
+
Box,
|
|
29
|
+
)
|
rapidata/api_client/__init__.py
CHANGED
|
@@ -28,6 +28,7 @@ from rapidata.api_client.api.newsletter_api import NewsletterApi
|
|
|
28
28
|
from rapidata.api_client.api.order_api import OrderApi
|
|
29
29
|
from rapidata.api_client.api.pipeline_api import PipelineApi
|
|
30
30
|
from rapidata.api_client.api.rapid_api import RapidApi
|
|
31
|
+
from rapidata.api_client.api.rapidata_identity_api_api import RapidataIdentityAPIApi
|
|
31
32
|
from rapidata.api_client.api.simple_workflow_api import SimpleWorkflowApi
|
|
32
33
|
from rapidata.api_client.api.user_info_api import UserInfoApi
|
|
33
34
|
from rapidata.api_client.api.validation_api import ValidationApi
|
|
@@ -49,7 +50,6 @@ from rapidata.api_client.models.ab_test_selection import AbTestSelection
|
|
|
49
50
|
from rapidata.api_client.models.ab_test_selection_a_inner import AbTestSelectionAInner
|
|
50
51
|
from rapidata.api_client.models.add_campaign_artifact_result import AddCampaignArtifactResult
|
|
51
52
|
from rapidata.api_client.models.add_campaign_model import AddCampaignModel
|
|
52
|
-
from rapidata.api_client.models.add_campaign_model_user_filters_inner import AddCampaignModelUserFiltersInner
|
|
53
53
|
from rapidata.api_client.models.add_validation_rapid_model import AddValidationRapidModel
|
|
54
54
|
from rapidata.api_client.models.add_validation_rapid_model_payload import AddValidationRapidModelPayload
|
|
55
55
|
from rapidata.api_client.models.add_validation_rapid_model_truth import AddValidationRapidModelTruth
|
|
@@ -106,6 +106,7 @@ from rapidata.api_client.models.create_complex_order_model import CreateComplexO
|
|
|
106
106
|
from rapidata.api_client.models.create_complex_order_model_pipeline import CreateComplexOrderModelPipeline
|
|
107
107
|
from rapidata.api_client.models.create_complex_order_result import CreateComplexOrderResult
|
|
108
108
|
from rapidata.api_client.models.create_datapoint_from_urls_model import CreateDatapointFromUrlsModel
|
|
109
|
+
from rapidata.api_client.models.create_datapoint_from_urls_model_metadata_inner import CreateDatapointFromUrlsModelMetadataInner
|
|
109
110
|
from rapidata.api_client.models.create_datapoint_result import CreateDatapointResult
|
|
110
111
|
from rapidata.api_client.models.create_dataset_artifact_model import CreateDatasetArtifactModel
|
|
111
112
|
from rapidata.api_client.models.create_dataset_artifact_model_dataset import CreateDatasetArtifactModelDataset
|
|
@@ -121,10 +122,10 @@ from rapidata.api_client.models.create_simple_pipeline_model_artifacts_inner imp
|
|
|
121
122
|
from rapidata.api_client.models.create_simple_pipeline_model_pipeline_steps_inner import CreateSimplePipelineModelPipelineStepsInner
|
|
122
123
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
123
124
|
from rapidata.api_client.models.custom_user_filter_model import CustomUserFilterModel
|
|
125
|
+
from rapidata.api_client.models.datapoint import Datapoint
|
|
126
|
+
from rapidata.api_client.models.datapoint_asset import DatapointAsset
|
|
124
127
|
from rapidata.api_client.models.datapoint_metadata_model import DatapointMetadataModel
|
|
125
|
-
from rapidata.api_client.models.datapoint_metadata_model_metadata_inner import DatapointMetadataModelMetadataInner
|
|
126
128
|
from rapidata.api_client.models.datapoint_model import DatapointModel
|
|
127
|
-
from rapidata.api_client.models.datapoint_model_asset import DatapointModelAsset
|
|
128
129
|
from rapidata.api_client.models.datapoint_state import DatapointState
|
|
129
130
|
from rapidata.api_client.models.dataset_artifact_model import DatasetArtifactModel
|
|
130
131
|
from rapidata.api_client.models.dataset_evaluation_step_model import DatasetEvaluationStepModel
|
|
@@ -159,10 +160,12 @@ from rapidata.api_client.models.get_datapoint_by_id_result import GetDatapointBy
|
|
|
159
160
|
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
160
161
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
161
162
|
from rapidata.api_client.models.get_dataset_progress_result import GetDatasetProgressResult
|
|
163
|
+
from rapidata.api_client.models.get_failed_datapoints_result import GetFailedDatapointsResult
|
|
162
164
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
163
165
|
from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
|
|
164
166
|
from rapidata.api_client.models.get_pipeline_by_id_result_artifacts_value import GetPipelineByIdResultArtifactsValue
|
|
165
167
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
168
|
+
from rapidata.api_client.models.get_responses_result import GetResponsesResult
|
|
166
169
|
from rapidata.api_client.models.get_simple_workflow_results_model import GetSimpleWorkflowResultsModel
|
|
167
170
|
from rapidata.api_client.models.get_simple_workflow_results_result import GetSimpleWorkflowResultsResult
|
|
168
171
|
from rapidata.api_client.models.get_simple_workflow_results_result_paged_result import GetSimpleWorkflowResultsResultPagedResult
|
|
@@ -202,7 +205,6 @@ from rapidata.api_client.models.named_entity_result import NamedEntityResult
|
|
|
202
205
|
from rapidata.api_client.models.named_entity_truth import NamedEntityTruth
|
|
203
206
|
from rapidata.api_client.models.never_ending_referee_config import NeverEndingRefereeConfig
|
|
204
207
|
from rapidata.api_client.models.new_user_filter_model import NewUserFilterModel
|
|
205
|
-
from rapidata.api_client.models.new_user_filter_model1 import NewUserFilterModel1
|
|
206
208
|
from rapidata.api_client.models.newsletter_model import NewsletterModel
|
|
207
209
|
from rapidata.api_client.models.not_available_yet_result import NotAvailableYetResult
|
|
208
210
|
from rapidata.api_client.models.null_asset_model import NullAssetModel
|
|
@@ -12,6 +12,7 @@ from rapidata.api_client.api.newsletter_api import NewsletterApi
|
|
|
12
12
|
from rapidata.api_client.api.order_api import OrderApi
|
|
13
13
|
from rapidata.api_client.api.pipeline_api import PipelineApi
|
|
14
14
|
from rapidata.api_client.api.rapid_api import RapidApi
|
|
15
|
+
from rapidata.api_client.api.rapidata_identity_api_api import RapidataIdentityAPIApi
|
|
15
16
|
from rapidata.api_client.api.simple_workflow_api import SimpleWorkflowApi
|
|
16
17
|
from rapidata.api_client.api.user_info_api import UserInfoApi
|
|
17
18
|
from rapidata.api_client.api.validation_api import ValidationApi
|
|
@@ -24,6 +24,7 @@ from rapidata.api_client.models.create_datapoint_result import CreateDatapointRe
|
|
|
24
24
|
from rapidata.api_client.models.datapoint_metadata_model import DatapointMetadataModel
|
|
25
25
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
26
26
|
from rapidata.api_client.models.get_dataset_progress_result import GetDatasetProgressResult
|
|
27
|
+
from rapidata.api_client.models.get_failed_datapoints_result import GetFailedDatapointsResult
|
|
27
28
|
from rapidata.api_client.models.import_from_file_result import ImportFromFileResult
|
|
28
29
|
from rapidata.api_client.models.upload_files_from_s3_bucket_model import UploadFilesFromS3BucketModel
|
|
29
30
|
from rapidata.api_client.models.upload_from_s3_result import UploadFromS3Result
|
|
@@ -619,6 +620,270 @@ class DatasetApi:
|
|
|
619
620
|
|
|
620
621
|
|
|
621
622
|
|
|
623
|
+
@validate_call
|
|
624
|
+
def dataset_dataset_id_datapoints_failed_get(
|
|
625
|
+
self,
|
|
626
|
+
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the failed datapoints of.")],
|
|
627
|
+
_request_timeout: Union[
|
|
628
|
+
None,
|
|
629
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
630
|
+
Tuple[
|
|
631
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
632
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
633
|
+
]
|
|
634
|
+
] = None,
|
|
635
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
636
|
+
_content_type: Optional[StrictStr] = None,
|
|
637
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
638
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
639
|
+
) -> GetFailedDatapointsResult:
|
|
640
|
+
"""Gets a list of all datapoints that failed to upload.
|
|
641
|
+
|
|
642
|
+
A datapoint usually fails to upload when using a deferred upload mechanism such as when providing a URL and the URL is not accessible.
|
|
643
|
+
|
|
644
|
+
:param dataset_id: The id of the dataset to get the failed datapoints of. (required)
|
|
645
|
+
:type dataset_id: str
|
|
646
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
647
|
+
number provided, it will be total request
|
|
648
|
+
timeout. It can also be a pair (tuple) of
|
|
649
|
+
(connection, read) timeouts.
|
|
650
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
651
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
652
|
+
request; this effectively ignores the
|
|
653
|
+
authentication in the spec for a single request.
|
|
654
|
+
:type _request_auth: dict, optional
|
|
655
|
+
:param _content_type: force content-type for the request.
|
|
656
|
+
:type _content_type: str, Optional
|
|
657
|
+
:param _headers: set to override the headers for a single
|
|
658
|
+
request; this effectively ignores the headers
|
|
659
|
+
in the spec for a single request.
|
|
660
|
+
:type _headers: dict, optional
|
|
661
|
+
:param _host_index: set to override the host_index for a single
|
|
662
|
+
request; this effectively ignores the host_index
|
|
663
|
+
in the spec for a single request.
|
|
664
|
+
:type _host_index: int, optional
|
|
665
|
+
:return: Returns the result object.
|
|
666
|
+
""" # noqa: E501
|
|
667
|
+
|
|
668
|
+
_param = self._dataset_dataset_id_datapoints_failed_get_serialize(
|
|
669
|
+
dataset_id=dataset_id,
|
|
670
|
+
_request_auth=_request_auth,
|
|
671
|
+
_content_type=_content_type,
|
|
672
|
+
_headers=_headers,
|
|
673
|
+
_host_index=_host_index
|
|
674
|
+
)
|
|
675
|
+
|
|
676
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
677
|
+
'200': "GetFailedDatapointsResult",
|
|
678
|
+
}
|
|
679
|
+
response_data = self.api_client.call_api(
|
|
680
|
+
*_param,
|
|
681
|
+
_request_timeout=_request_timeout
|
|
682
|
+
)
|
|
683
|
+
response_data.read()
|
|
684
|
+
return self.api_client.response_deserialize(
|
|
685
|
+
response_data=response_data,
|
|
686
|
+
response_types_map=_response_types_map,
|
|
687
|
+
).data
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
@validate_call
|
|
691
|
+
def dataset_dataset_id_datapoints_failed_get_with_http_info(
|
|
692
|
+
self,
|
|
693
|
+
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the failed datapoints of.")],
|
|
694
|
+
_request_timeout: Union[
|
|
695
|
+
None,
|
|
696
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
697
|
+
Tuple[
|
|
698
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
699
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
700
|
+
]
|
|
701
|
+
] = None,
|
|
702
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
703
|
+
_content_type: Optional[StrictStr] = None,
|
|
704
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
705
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
706
|
+
) -> ApiResponse[GetFailedDatapointsResult]:
|
|
707
|
+
"""Gets a list of all datapoints that failed to upload.
|
|
708
|
+
|
|
709
|
+
A datapoint usually fails to upload when using a deferred upload mechanism such as when providing a URL and the URL is not accessible.
|
|
710
|
+
|
|
711
|
+
:param dataset_id: The id of the dataset to get the failed datapoints of. (required)
|
|
712
|
+
:type dataset_id: str
|
|
713
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
714
|
+
number provided, it will be total request
|
|
715
|
+
timeout. It can also be a pair (tuple) of
|
|
716
|
+
(connection, read) timeouts.
|
|
717
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
718
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
719
|
+
request; this effectively ignores the
|
|
720
|
+
authentication in the spec for a single request.
|
|
721
|
+
:type _request_auth: dict, optional
|
|
722
|
+
:param _content_type: force content-type for the request.
|
|
723
|
+
:type _content_type: str, Optional
|
|
724
|
+
:param _headers: set to override the headers for a single
|
|
725
|
+
request; this effectively ignores the headers
|
|
726
|
+
in the spec for a single request.
|
|
727
|
+
:type _headers: dict, optional
|
|
728
|
+
:param _host_index: set to override the host_index for a single
|
|
729
|
+
request; this effectively ignores the host_index
|
|
730
|
+
in the spec for a single request.
|
|
731
|
+
:type _host_index: int, optional
|
|
732
|
+
:return: Returns the result object.
|
|
733
|
+
""" # noqa: E501
|
|
734
|
+
|
|
735
|
+
_param = self._dataset_dataset_id_datapoints_failed_get_serialize(
|
|
736
|
+
dataset_id=dataset_id,
|
|
737
|
+
_request_auth=_request_auth,
|
|
738
|
+
_content_type=_content_type,
|
|
739
|
+
_headers=_headers,
|
|
740
|
+
_host_index=_host_index
|
|
741
|
+
)
|
|
742
|
+
|
|
743
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
744
|
+
'200': "GetFailedDatapointsResult",
|
|
745
|
+
}
|
|
746
|
+
response_data = self.api_client.call_api(
|
|
747
|
+
*_param,
|
|
748
|
+
_request_timeout=_request_timeout
|
|
749
|
+
)
|
|
750
|
+
response_data.read()
|
|
751
|
+
return self.api_client.response_deserialize(
|
|
752
|
+
response_data=response_data,
|
|
753
|
+
response_types_map=_response_types_map,
|
|
754
|
+
)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
@validate_call
|
|
758
|
+
def dataset_dataset_id_datapoints_failed_get_without_preload_content(
|
|
759
|
+
self,
|
|
760
|
+
dataset_id: Annotated[StrictStr, Field(description="The id of the dataset to get the failed datapoints of.")],
|
|
761
|
+
_request_timeout: Union[
|
|
762
|
+
None,
|
|
763
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
764
|
+
Tuple[
|
|
765
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
766
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
767
|
+
]
|
|
768
|
+
] = None,
|
|
769
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
770
|
+
_content_type: Optional[StrictStr] = None,
|
|
771
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
772
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
773
|
+
) -> RESTResponseType:
|
|
774
|
+
"""Gets a list of all datapoints that failed to upload.
|
|
775
|
+
|
|
776
|
+
A datapoint usually fails to upload when using a deferred upload mechanism such as when providing a URL and the URL is not accessible.
|
|
777
|
+
|
|
778
|
+
:param dataset_id: The id of the dataset to get the failed datapoints of. (required)
|
|
779
|
+
:type dataset_id: str
|
|
780
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
781
|
+
number provided, it will be total request
|
|
782
|
+
timeout. It can also be a pair (tuple) of
|
|
783
|
+
(connection, read) timeouts.
|
|
784
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
785
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
786
|
+
request; this effectively ignores the
|
|
787
|
+
authentication in the spec for a single request.
|
|
788
|
+
:type _request_auth: dict, optional
|
|
789
|
+
:param _content_type: force content-type for the request.
|
|
790
|
+
:type _content_type: str, Optional
|
|
791
|
+
:param _headers: set to override the headers for a single
|
|
792
|
+
request; this effectively ignores the headers
|
|
793
|
+
in the spec for a single request.
|
|
794
|
+
:type _headers: dict, optional
|
|
795
|
+
:param _host_index: set to override the host_index for a single
|
|
796
|
+
request; this effectively ignores the host_index
|
|
797
|
+
in the spec for a single request.
|
|
798
|
+
:type _host_index: int, optional
|
|
799
|
+
:return: Returns the result object.
|
|
800
|
+
""" # noqa: E501
|
|
801
|
+
|
|
802
|
+
_param = self._dataset_dataset_id_datapoints_failed_get_serialize(
|
|
803
|
+
dataset_id=dataset_id,
|
|
804
|
+
_request_auth=_request_auth,
|
|
805
|
+
_content_type=_content_type,
|
|
806
|
+
_headers=_headers,
|
|
807
|
+
_host_index=_host_index
|
|
808
|
+
)
|
|
809
|
+
|
|
810
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
811
|
+
'200': "GetFailedDatapointsResult",
|
|
812
|
+
}
|
|
813
|
+
response_data = self.api_client.call_api(
|
|
814
|
+
*_param,
|
|
815
|
+
_request_timeout=_request_timeout
|
|
816
|
+
)
|
|
817
|
+
return response_data.response
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
def _dataset_dataset_id_datapoints_failed_get_serialize(
|
|
821
|
+
self,
|
|
822
|
+
dataset_id,
|
|
823
|
+
_request_auth,
|
|
824
|
+
_content_type,
|
|
825
|
+
_headers,
|
|
826
|
+
_host_index,
|
|
827
|
+
) -> RequestSerialized:
|
|
828
|
+
|
|
829
|
+
_host = None
|
|
830
|
+
|
|
831
|
+
_collection_formats: Dict[str, str] = {
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
_path_params: Dict[str, str] = {}
|
|
835
|
+
_query_params: List[Tuple[str, str]] = []
|
|
836
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
837
|
+
_form_params: List[Tuple[str, str]] = []
|
|
838
|
+
_files: Dict[
|
|
839
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
840
|
+
] = {}
|
|
841
|
+
_body_params: Optional[bytes] = None
|
|
842
|
+
|
|
843
|
+
# process the path parameters
|
|
844
|
+
if dataset_id is not None:
|
|
845
|
+
_path_params['datasetId'] = dataset_id
|
|
846
|
+
# process the query parameters
|
|
847
|
+
# process the header parameters
|
|
848
|
+
# process the form parameters
|
|
849
|
+
# process the body parameter
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
# set the HTTP header `Accept`
|
|
853
|
+
if 'Accept' not in _header_params:
|
|
854
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
855
|
+
[
|
|
856
|
+
'text/plain',
|
|
857
|
+
'application/json',
|
|
858
|
+
'text/json'
|
|
859
|
+
]
|
|
860
|
+
)
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
# authentication setting
|
|
864
|
+
_auth_settings: List[str] = [
|
|
865
|
+
'bearer',
|
|
866
|
+
'oauth2'
|
|
867
|
+
]
|
|
868
|
+
|
|
869
|
+
return self.api_client.param_serialize(
|
|
870
|
+
method='GET',
|
|
871
|
+
resource_path='/dataset/{datasetId}/datapoints/failed',
|
|
872
|
+
path_params=_path_params,
|
|
873
|
+
query_params=_query_params,
|
|
874
|
+
header_params=_header_params,
|
|
875
|
+
body=_body_params,
|
|
876
|
+
post_params=_form_params,
|
|
877
|
+
files=_files,
|
|
878
|
+
auth_settings=_auth_settings,
|
|
879
|
+
collection_formats=_collection_formats,
|
|
880
|
+
_host=_host,
|
|
881
|
+
_request_auth=_request_auth
|
|
882
|
+
)
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
|
|
622
887
|
@validate_call
|
|
623
888
|
def dataset_dataset_id_datapoints_urls_post(
|
|
624
889
|
self,
|