rapidata 2.39.0__py3-none-any.whl → 2.40.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.

@@ -29,8 +29,6 @@ from rapidata.api_client.models.get_validation_rapids_result_paged_result import
29
29
  from rapidata.api_client.models.get_validation_set_by_id_result import GetValidationSetByIdResult
30
30
  from rapidata.api_client.models.import_validation_set_from_file_result import ImportValidationSetFromFileResult
31
31
  from rapidata.api_client.models.query_model import QueryModel
32
- from rapidata.api_client.models.update_dimensions_model import UpdateDimensionsModel
33
- from rapidata.api_client.models.update_should_alert_model import UpdateShouldAlertModel
34
32
  from rapidata.api_client.models.update_validation_set_model import UpdateValidationSetModel
35
33
  from rapidata.api_client.models.validation_set_model_paged_result import ValidationSetModelPagedResult
36
34
  from rapidata.api_client.models.validation_set_zip_post_request_blueprint import ValidationSetZipPostRequestBlueprint
@@ -904,291 +902,6 @@ class ValidationSetApi:
904
902
 
905
903
 
906
904
 
907
- @validate_call
908
- def validation_set_validation_set_id_dimensions_patch(
909
- self,
910
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
911
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
912
- _request_timeout: Union[
913
- None,
914
- Annotated[StrictFloat, Field(gt=0)],
915
- Tuple[
916
- Annotated[StrictFloat, Field(gt=0)],
917
- Annotated[StrictFloat, Field(gt=0)]
918
- ]
919
- ] = None,
920
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
921
- _content_type: Optional[StrictStr] = None,
922
- _headers: Optional[Dict[StrictStr, Any]] = None,
923
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
924
- ) -> None:
925
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
926
-
927
-
928
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
929
- :type validation_set_id: str
930
- :param update_dimensions_model: The body request for updating the dimensions.
931
- :type update_dimensions_model: UpdateDimensionsModel
932
- :param _request_timeout: timeout setting for this request. If one
933
- number provided, it will be total request
934
- timeout. It can also be a pair (tuple) of
935
- (connection, read) timeouts.
936
- :type _request_timeout: int, tuple(int, int), optional
937
- :param _request_auth: set to override the auth_settings for an a single
938
- request; this effectively ignores the
939
- authentication in the spec for a single request.
940
- :type _request_auth: dict, optional
941
- :param _content_type: force content-type for the request.
942
- :type _content_type: str, Optional
943
- :param _headers: set to override the headers for a single
944
- request; this effectively ignores the headers
945
- in the spec for a single request.
946
- :type _headers: dict, optional
947
- :param _host_index: set to override the host_index for a single
948
- request; this effectively ignores the host_index
949
- in the spec for a single request.
950
- :type _host_index: int, optional
951
- :return: Returns the result object.
952
- """ # noqa: E501
953
- warnings.warn("PATCH /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
954
-
955
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
956
- validation_set_id=validation_set_id,
957
- update_dimensions_model=update_dimensions_model,
958
- _request_auth=_request_auth,
959
- _content_type=_content_type,
960
- _headers=_headers,
961
- _host_index=_host_index
962
- )
963
-
964
- _response_types_map: Dict[str, Optional[str]] = {
965
- '204': None,
966
- }
967
- response_data = self.api_client.call_api(
968
- *_param,
969
- _request_timeout=_request_timeout
970
- )
971
- response_data.read()
972
- return self.api_client.response_deserialize(
973
- response_data=response_data,
974
- response_types_map=_response_types_map,
975
- ).data
976
-
977
-
978
- @validate_call
979
- def validation_set_validation_set_id_dimensions_patch_with_http_info(
980
- self,
981
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
982
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
983
- _request_timeout: Union[
984
- None,
985
- Annotated[StrictFloat, Field(gt=0)],
986
- Tuple[
987
- Annotated[StrictFloat, Field(gt=0)],
988
- Annotated[StrictFloat, Field(gt=0)]
989
- ]
990
- ] = None,
991
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
992
- _content_type: Optional[StrictStr] = None,
993
- _headers: Optional[Dict[StrictStr, Any]] = None,
994
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
995
- ) -> ApiResponse[None]:
996
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
997
-
998
-
999
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1000
- :type validation_set_id: str
1001
- :param update_dimensions_model: The body request for updating the dimensions.
1002
- :type update_dimensions_model: UpdateDimensionsModel
1003
- :param _request_timeout: timeout setting for this request. If one
1004
- number provided, it will be total request
1005
- timeout. It can also be a pair (tuple) of
1006
- (connection, read) timeouts.
1007
- :type _request_timeout: int, tuple(int, int), optional
1008
- :param _request_auth: set to override the auth_settings for an a single
1009
- request; this effectively ignores the
1010
- authentication in the spec for a single request.
1011
- :type _request_auth: dict, optional
1012
- :param _content_type: force content-type for the request.
1013
- :type _content_type: str, Optional
1014
- :param _headers: set to override the headers for a single
1015
- request; this effectively ignores the headers
1016
- in the spec for a single request.
1017
- :type _headers: dict, optional
1018
- :param _host_index: set to override the host_index for a single
1019
- request; this effectively ignores the host_index
1020
- in the spec for a single request.
1021
- :type _host_index: int, optional
1022
- :return: Returns the result object.
1023
- """ # noqa: E501
1024
- warnings.warn("PATCH /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
1025
-
1026
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
1027
- validation_set_id=validation_set_id,
1028
- update_dimensions_model=update_dimensions_model,
1029
- _request_auth=_request_auth,
1030
- _content_type=_content_type,
1031
- _headers=_headers,
1032
- _host_index=_host_index
1033
- )
1034
-
1035
- _response_types_map: Dict[str, Optional[str]] = {
1036
- '204': None,
1037
- }
1038
- response_data = self.api_client.call_api(
1039
- *_param,
1040
- _request_timeout=_request_timeout
1041
- )
1042
- response_data.read()
1043
- return self.api_client.response_deserialize(
1044
- response_data=response_data,
1045
- response_types_map=_response_types_map,
1046
- )
1047
-
1048
-
1049
- @validate_call
1050
- def validation_set_validation_set_id_dimensions_patch_without_preload_content(
1051
- self,
1052
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
1053
- update_dimensions_model: Annotated[Optional[UpdateDimensionsModel], Field(description="The body request for updating the dimensions.")] = None,
1054
- _request_timeout: Union[
1055
- None,
1056
- Annotated[StrictFloat, Field(gt=0)],
1057
- Tuple[
1058
- Annotated[StrictFloat, Field(gt=0)],
1059
- Annotated[StrictFloat, Field(gt=0)]
1060
- ]
1061
- ] = None,
1062
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1063
- _content_type: Optional[StrictStr] = None,
1064
- _headers: Optional[Dict[StrictStr, Any]] = None,
1065
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1066
- ) -> RESTResponseType:
1067
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
1068
-
1069
-
1070
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
1071
- :type validation_set_id: str
1072
- :param update_dimensions_model: The body request for updating the dimensions.
1073
- :type update_dimensions_model: UpdateDimensionsModel
1074
- :param _request_timeout: timeout setting for this request. If one
1075
- number provided, it will be total request
1076
- timeout. It can also be a pair (tuple) of
1077
- (connection, read) timeouts.
1078
- :type _request_timeout: int, tuple(int, int), optional
1079
- :param _request_auth: set to override the auth_settings for an a single
1080
- request; this effectively ignores the
1081
- authentication in the spec for a single request.
1082
- :type _request_auth: dict, optional
1083
- :param _content_type: force content-type for the request.
1084
- :type _content_type: str, Optional
1085
- :param _headers: set to override the headers for a single
1086
- request; this effectively ignores the headers
1087
- in the spec for a single request.
1088
- :type _headers: dict, optional
1089
- :param _host_index: set to override the host_index for a single
1090
- request; this effectively ignores the host_index
1091
- in the spec for a single request.
1092
- :type _host_index: int, optional
1093
- :return: Returns the result object.
1094
- """ # noqa: E501
1095
- warnings.warn("PATCH /validation-set/{validationSetId}/dimensions is deprecated.", DeprecationWarning)
1096
-
1097
- _param = self._validation_set_validation_set_id_dimensions_patch_serialize(
1098
- validation_set_id=validation_set_id,
1099
- update_dimensions_model=update_dimensions_model,
1100
- _request_auth=_request_auth,
1101
- _content_type=_content_type,
1102
- _headers=_headers,
1103
- _host_index=_host_index
1104
- )
1105
-
1106
- _response_types_map: Dict[str, Optional[str]] = {
1107
- '204': None,
1108
- }
1109
- response_data = self.api_client.call_api(
1110
- *_param,
1111
- _request_timeout=_request_timeout
1112
- )
1113
- return response_data.response
1114
-
1115
-
1116
- def _validation_set_validation_set_id_dimensions_patch_serialize(
1117
- self,
1118
- validation_set_id,
1119
- update_dimensions_model,
1120
- _request_auth,
1121
- _content_type,
1122
- _headers,
1123
- _host_index,
1124
- ) -> RequestSerialized:
1125
-
1126
- _host = None
1127
-
1128
- _collection_formats: Dict[str, str] = {
1129
- }
1130
-
1131
- _path_params: Dict[str, str] = {}
1132
- _query_params: List[Tuple[str, str]] = []
1133
- _header_params: Dict[str, Optional[str]] = _headers or {}
1134
- _form_params: List[Tuple[str, str]] = []
1135
- _files: Dict[
1136
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1137
- ] = {}
1138
- _body_params: Optional[bytes] = None
1139
-
1140
- # process the path parameters
1141
- if validation_set_id is not None:
1142
- _path_params['validationSetId'] = validation_set_id
1143
- # process the query parameters
1144
- # process the header parameters
1145
- # process the form parameters
1146
- # process the body parameter
1147
- if update_dimensions_model is not None:
1148
- _body_params = update_dimensions_model
1149
-
1150
-
1151
-
1152
- # set the HTTP header `Content-Type`
1153
- if _content_type:
1154
- _header_params['Content-Type'] = _content_type
1155
- else:
1156
- _default_content_type = (
1157
- self.api_client.select_header_content_type(
1158
- [
1159
- 'application/json',
1160
- 'text/json',
1161
- 'application/*+json'
1162
- ]
1163
- )
1164
- )
1165
- if _default_content_type is not None:
1166
- _header_params['Content-Type'] = _default_content_type
1167
-
1168
- # authentication setting
1169
- _auth_settings: List[str] = [
1170
- 'bearer',
1171
- 'oauth2'
1172
- ]
1173
-
1174
- return self.api_client.param_serialize(
1175
- method='PATCH',
1176
- resource_path='/validation-set/{validationSetId}/dimensions',
1177
- path_params=_path_params,
1178
- query_params=_query_params,
1179
- header_params=_header_params,
1180
- body=_body_params,
1181
- post_params=_form_params,
1182
- files=_files,
1183
- auth_settings=_auth_settings,
1184
- collection_formats=_collection_formats,
1185
- _host=_host,
1186
- _request_auth=_request_auth
1187
- )
1188
-
1189
-
1190
-
1191
-
1192
905
  @validate_call
1193
906
  def validation_set_validation_set_id_export_get(
1194
907
  self,
@@ -2608,291 +2321,6 @@ class ValidationSetApi:
2608
2321
 
2609
2322
 
2610
2323
 
2611
- @validate_call
2612
- def validation_set_validation_set_id_shouldalert_patch(
2613
- self,
2614
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
2615
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
2616
- _request_timeout: Union[
2617
- None,
2618
- Annotated[StrictFloat, Field(gt=0)],
2619
- Tuple[
2620
- Annotated[StrictFloat, Field(gt=0)],
2621
- Annotated[StrictFloat, Field(gt=0)]
2622
- ]
2623
- ] = None,
2624
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2625
- _content_type: Optional[StrictStr] = None,
2626
- _headers: Optional[Dict[StrictStr, Any]] = None,
2627
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2628
- ) -> None:
2629
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
2630
-
2631
-
2632
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
2633
- :type validation_set_id: str
2634
- :param update_should_alert_model: The body request for updating the shouldAlert property.
2635
- :type update_should_alert_model: UpdateShouldAlertModel
2636
- :param _request_timeout: timeout setting for this request. If one
2637
- number provided, it will be total request
2638
- timeout. It can also be a pair (tuple) of
2639
- (connection, read) timeouts.
2640
- :type _request_timeout: int, tuple(int, int), optional
2641
- :param _request_auth: set to override the auth_settings for an a single
2642
- request; this effectively ignores the
2643
- authentication in the spec for a single request.
2644
- :type _request_auth: dict, optional
2645
- :param _content_type: force content-type for the request.
2646
- :type _content_type: str, Optional
2647
- :param _headers: set to override the headers for a single
2648
- request; this effectively ignores the headers
2649
- in the spec for a single request.
2650
- :type _headers: dict, optional
2651
- :param _host_index: set to override the host_index for a single
2652
- request; this effectively ignores the host_index
2653
- in the spec for a single request.
2654
- :type _host_index: int, optional
2655
- :return: Returns the result object.
2656
- """ # noqa: E501
2657
- warnings.warn("PATCH /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
2658
-
2659
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
2660
- validation_set_id=validation_set_id,
2661
- update_should_alert_model=update_should_alert_model,
2662
- _request_auth=_request_auth,
2663
- _content_type=_content_type,
2664
- _headers=_headers,
2665
- _host_index=_host_index
2666
- )
2667
-
2668
- _response_types_map: Dict[str, Optional[str]] = {
2669
- '204': None,
2670
- }
2671
- response_data = self.api_client.call_api(
2672
- *_param,
2673
- _request_timeout=_request_timeout
2674
- )
2675
- response_data.read()
2676
- return self.api_client.response_deserialize(
2677
- response_data=response_data,
2678
- response_types_map=_response_types_map,
2679
- ).data
2680
-
2681
-
2682
- @validate_call
2683
- def validation_set_validation_set_id_shouldalert_patch_with_http_info(
2684
- self,
2685
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
2686
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
2687
- _request_timeout: Union[
2688
- None,
2689
- Annotated[StrictFloat, Field(gt=0)],
2690
- Tuple[
2691
- Annotated[StrictFloat, Field(gt=0)],
2692
- Annotated[StrictFloat, Field(gt=0)]
2693
- ]
2694
- ] = None,
2695
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2696
- _content_type: Optional[StrictStr] = None,
2697
- _headers: Optional[Dict[StrictStr, Any]] = None,
2698
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2699
- ) -> ApiResponse[None]:
2700
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
2701
-
2702
-
2703
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
2704
- :type validation_set_id: str
2705
- :param update_should_alert_model: The body request for updating the shouldAlert property.
2706
- :type update_should_alert_model: UpdateShouldAlertModel
2707
- :param _request_timeout: timeout setting for this request. If one
2708
- number provided, it will be total request
2709
- timeout. It can also be a pair (tuple) of
2710
- (connection, read) timeouts.
2711
- :type _request_timeout: int, tuple(int, int), optional
2712
- :param _request_auth: set to override the auth_settings for an a single
2713
- request; this effectively ignores the
2714
- authentication in the spec for a single request.
2715
- :type _request_auth: dict, optional
2716
- :param _content_type: force content-type for the request.
2717
- :type _content_type: str, Optional
2718
- :param _headers: set to override the headers for a single
2719
- request; this effectively ignores the headers
2720
- in the spec for a single request.
2721
- :type _headers: dict, optional
2722
- :param _host_index: set to override the host_index for a single
2723
- request; this effectively ignores the host_index
2724
- in the spec for a single request.
2725
- :type _host_index: int, optional
2726
- :return: Returns the result object.
2727
- """ # noqa: E501
2728
- warnings.warn("PATCH /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
2729
-
2730
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
2731
- validation_set_id=validation_set_id,
2732
- update_should_alert_model=update_should_alert_model,
2733
- _request_auth=_request_auth,
2734
- _content_type=_content_type,
2735
- _headers=_headers,
2736
- _host_index=_host_index
2737
- )
2738
-
2739
- _response_types_map: Dict[str, Optional[str]] = {
2740
- '204': None,
2741
- }
2742
- response_data = self.api_client.call_api(
2743
- *_param,
2744
- _request_timeout=_request_timeout
2745
- )
2746
- response_data.read()
2747
- return self.api_client.response_deserialize(
2748
- response_data=response_data,
2749
- response_types_map=_response_types_map,
2750
- )
2751
-
2752
-
2753
- @validate_call
2754
- def validation_set_validation_set_id_shouldalert_patch_without_preload_content(
2755
- self,
2756
- validation_set_id: Annotated[StrictStr, Field(description="The Id of the validation set to update the dimensions for.")],
2757
- update_should_alert_model: Annotated[Optional[UpdateShouldAlertModel], Field(description="The body request for updating the shouldAlert property.")] = None,
2758
- _request_timeout: Union[
2759
- None,
2760
- Annotated[StrictFloat, Field(gt=0)],
2761
- Tuple[
2762
- Annotated[StrictFloat, Field(gt=0)],
2763
- Annotated[StrictFloat, Field(gt=0)]
2764
- ]
2765
- ] = None,
2766
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2767
- _content_type: Optional[StrictStr] = None,
2768
- _headers: Optional[Dict[StrictStr, Any]] = None,
2769
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2770
- ) -> RESTResponseType:
2771
- """(Deprecated) Updates the dimensions of all rapids within a validation set.
2772
-
2773
-
2774
- :param validation_set_id: The Id of the validation set to update the dimensions for. (required)
2775
- :type validation_set_id: str
2776
- :param update_should_alert_model: The body request for updating the shouldAlert property.
2777
- :type update_should_alert_model: UpdateShouldAlertModel
2778
- :param _request_timeout: timeout setting for this request. If one
2779
- number provided, it will be total request
2780
- timeout. It can also be a pair (tuple) of
2781
- (connection, read) timeouts.
2782
- :type _request_timeout: int, tuple(int, int), optional
2783
- :param _request_auth: set to override the auth_settings for an a single
2784
- request; this effectively ignores the
2785
- authentication in the spec for a single request.
2786
- :type _request_auth: dict, optional
2787
- :param _content_type: force content-type for the request.
2788
- :type _content_type: str, Optional
2789
- :param _headers: set to override the headers for a single
2790
- request; this effectively ignores the headers
2791
- in the spec for a single request.
2792
- :type _headers: dict, optional
2793
- :param _host_index: set to override the host_index for a single
2794
- request; this effectively ignores the host_index
2795
- in the spec for a single request.
2796
- :type _host_index: int, optional
2797
- :return: Returns the result object.
2798
- """ # noqa: E501
2799
- warnings.warn("PATCH /validation-set/{validationSetId}/shouldalert is deprecated.", DeprecationWarning)
2800
-
2801
- _param = self._validation_set_validation_set_id_shouldalert_patch_serialize(
2802
- validation_set_id=validation_set_id,
2803
- update_should_alert_model=update_should_alert_model,
2804
- _request_auth=_request_auth,
2805
- _content_type=_content_type,
2806
- _headers=_headers,
2807
- _host_index=_host_index
2808
- )
2809
-
2810
- _response_types_map: Dict[str, Optional[str]] = {
2811
- '204': None,
2812
- }
2813
- response_data = self.api_client.call_api(
2814
- *_param,
2815
- _request_timeout=_request_timeout
2816
- )
2817
- return response_data.response
2818
-
2819
-
2820
- def _validation_set_validation_set_id_shouldalert_patch_serialize(
2821
- self,
2822
- validation_set_id,
2823
- update_should_alert_model,
2824
- _request_auth,
2825
- _content_type,
2826
- _headers,
2827
- _host_index,
2828
- ) -> RequestSerialized:
2829
-
2830
- _host = None
2831
-
2832
- _collection_formats: Dict[str, str] = {
2833
- }
2834
-
2835
- _path_params: Dict[str, str] = {}
2836
- _query_params: List[Tuple[str, str]] = []
2837
- _header_params: Dict[str, Optional[str]] = _headers or {}
2838
- _form_params: List[Tuple[str, str]] = []
2839
- _files: Dict[
2840
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2841
- ] = {}
2842
- _body_params: Optional[bytes] = None
2843
-
2844
- # process the path parameters
2845
- if validation_set_id is not None:
2846
- _path_params['validationSetId'] = validation_set_id
2847
- # process the query parameters
2848
- # process the header parameters
2849
- # process the form parameters
2850
- # process the body parameter
2851
- if update_should_alert_model is not None:
2852
- _body_params = update_should_alert_model
2853
-
2854
-
2855
-
2856
- # set the HTTP header `Content-Type`
2857
- if _content_type:
2858
- _header_params['Content-Type'] = _content_type
2859
- else:
2860
- _default_content_type = (
2861
- self.api_client.select_header_content_type(
2862
- [
2863
- 'application/json',
2864
- 'text/json',
2865
- 'application/*+json'
2866
- ]
2867
- )
2868
- )
2869
- if _default_content_type is not None:
2870
- _header_params['Content-Type'] = _default_content_type
2871
-
2872
- # authentication setting
2873
- _auth_settings: List[str] = [
2874
- 'bearer',
2875
- 'oauth2'
2876
- ]
2877
-
2878
- return self.api_client.param_serialize(
2879
- method='PATCH',
2880
- resource_path='/validation-set/{validationSetId}/shouldalert',
2881
- path_params=_path_params,
2882
- query_params=_query_params,
2883
- header_params=_header_params,
2884
- body=_body_params,
2885
- post_params=_form_params,
2886
- files=_files,
2887
- auth_settings=_auth_settings,
2888
- collection_formats=_collection_formats,
2889
- _host=_host,
2890
- _request_auth=_request_auth
2891
- )
2892
-
2893
-
2894
-
2895
-
2896
2324
  @validate_call
2897
2325
  def validation_set_validation_set_id_update_labeling_hints_post(
2898
2326
  self,
@@ -74,10 +74,7 @@ Class | Method | HTTP request | Description
74
74
  ------------ | ------------- | ------------- | -------------
75
75
  *BenchmarkApi* | [**benchmark_benchmark_id_delete**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_delete) | **DELETE** /benchmark/{benchmarkId} | Deletes a single benchmark.
76
76
  *BenchmarkApi* | [**benchmark_benchmark_id_get**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_get) | **GET** /benchmark/{benchmarkId} | Returns a single benchmark by its ID.
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
- *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
77
  *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_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.
81
78
  *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.
82
79
  *BenchmarkApi* | [**benchmark_benchmark_id_patch**](rapidata/api_client/docs/BenchmarkApi.md#benchmark_benchmark_id_patch) | **PATCH** /benchmark/{benchmarkId} | Updates a benchmark using patch semantics.
83
80
  *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.
@@ -132,15 +129,7 @@ Class | Method | HTTP request | Description
132
129
  *LeaderboardApi* | [**leaderboard_leaderboard_id_boost_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_boost_post) | **POST** /leaderboard/{leaderboardId}/boost | Boosts a subset of participants within a leaderboard.
133
130
  *LeaderboardApi* | [**leaderboard_leaderboard_id_delete**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_delete) | **DELETE** /leaderboard/{leaderboardId} | Deletes a leaderboard by its ID.
134
131
  *LeaderboardApi* | [**leaderboard_leaderboard_id_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_get) | **GET** /leaderboard/{leaderboardId} | Gets a leaderboard by its ID.
135
- *LeaderboardApi* | [**leaderboard_leaderboard_id_name_put**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_name_put) | **PUT** /leaderboard/{leaderboardId}/name | Updates the name of a leaderboard.
136
- *LeaderboardApi* | [**leaderboard_leaderboard_id_participant_participant_id_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participant_participant_id_get) | **GET** /leaderboard/{leaderboardId}/participant/{participantId} | Gets a participant by its ID.
137
- *LeaderboardApi* | [**leaderboard_leaderboard_id_participants_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_get) | **GET** /leaderboard/{leaderboardId}/participants | queries all the participants connected to leaderboard by its ID.
138
- *LeaderboardApi* | [**leaderboard_leaderboard_id_participants_participant_id_submit_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_participant_id_submit_post) | **POST** /leaderboard/{leaderboardId}/participants/{participantId}/submit | Submits a participant to a leaderboard.
139
- *LeaderboardApi* | [**leaderboard_leaderboard_id_participants_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_participants_post) | **POST** /leaderboard/{leaderboardId}/participants | Creates a participant in a leaderboard.
140
132
  *LeaderboardApi* | [**leaderboard_leaderboard_id_patch**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_patch) | **PATCH** /leaderboard/{leaderboardId} | Updates the response config of a leaderboard.
141
- *LeaderboardApi* | [**leaderboard_leaderboard_id_prompts_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_prompts_get) | **GET** /leaderboard/{leaderboardId}/prompts | returns the paged prompts of a leaderboard by its ID.
142
- *LeaderboardApi* | [**leaderboard_leaderboard_id_prompts_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_prompts_post) | **POST** /leaderboard/{leaderboardId}/prompts | adds a new prompt to a leaderboard.
143
- *LeaderboardApi* | [**leaderboard_leaderboard_id_response_config_put**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_response_config_put) | **PUT** /leaderboard/{leaderboardId}/response-config | Updates the response config of a leaderboard.
144
133
  *LeaderboardApi* | [**leaderboard_leaderboard_id_runs_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_runs_get) | **GET** /leaderboard/{leaderboardId}/runs | Gets the runs related to a leaderboard
145
134
  *LeaderboardApi* | [**leaderboard_leaderboard_id_standings_get**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_leaderboard_id_standings_get) | **GET** /leaderboard/{leaderboardId}/standings | queries all the participants connected to leaderboard by its ID.
146
135
  *LeaderboardApi* | [**leaderboard_post**](rapidata/api_client/docs/LeaderboardApi.md#leaderboard_post) | **POST** /leaderboard | Creates a new leaderboard with the specified name and criteria.
@@ -170,7 +159,6 @@ Class | Method | HTTP request | Description
170
159
  *ParticipantApi* | [**participant_participant_id_delete**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_delete) | **DELETE** /participant/{participantId} | Deletes a participant on a benchmark.
171
160
  *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.
172
161
  *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.
173
- *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
174
162
  *ParticipantApi* | [**participant_participant_id_patch**](rapidata/api_client/docs/ParticipantApi.md#participant_participant_id_patch) | **PATCH** /participant/{participantId} | Updates a participant using patch semantics.
175
163
  *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.
176
164
  *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.
@@ -194,13 +182,11 @@ Class | Method | HTTP request | Description
194
182
  *ValidationSetApi* | [**validation_set_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_post) | **POST** /validation-set | Creates a new empty validation set.
195
183
  *ValidationSetApi* | [**validation_set_recommended_get**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_recommended_get) | **GET** /validation-set/recommended | Gets a validation set that is available to the user and best matches the provided parameters.
196
184
  *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.
197
- *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.
198
185
  *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.
199
186
  *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.
200
187
  *ValidationSetApi* | [**validation_set_validation_set_id_patch**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_patch) | **PATCH** /validation-set/{validationSetId} | Updates different characteristics of a validation set.
201
188
  *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.
202
189
  *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.
203
- *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.
204
190
  *ValidationSetApi* | [**validation_set_validation_set_id_update_labeling_hints_post**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_update_labeling_hints_post) | **POST** /validation-set/{validationSetId}/update-labeling-hints | Refreshes the labeling hints for a validation set.
205
191
  *ValidationSetApi* | [**validation_set_validation_set_id_visibility_patch**](rapidata/api_client/docs/ValidationSetApi.md#validation_set_validation_set_id_visibility_patch) | **PATCH** /validation-set/{validationSetId}/visibility | Updates the visibility of a validation set.
206
192
  *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.
@@ -10,5 +10,6 @@ class OrderConfig(BaseModel):
10
10
  autoValidationSetSize (int): The maximum size of the auto-generated validation set. Defaults to 20.
11
11
  """
12
12
 
13
+ autoValidationSetCreation: bool = Field(default=True)
13
14
  minOrderDatapointsForValidation: int = Field(default=50)
14
15
  autoValidationSetSize: int = Field(default=20)