rapidata 0.3.0__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. rapidata/__init__.py +18 -1
  2. rapidata/api_client/__init__.py +29 -3
  3. rapidata/api_client/api/__init__.py +3 -0
  4. rapidata/api_client/api/compare_workflow_api.py +316 -0
  5. rapidata/api_client/api/dataset_api.py +24 -24
  6. rapidata/api_client/api/order_api.py +515 -289
  7. rapidata/api_client/api/rapid_api.py +6 -6
  8. rapidata/api_client/api/simple_workflow_api.py +350 -0
  9. rapidata/api_client/api/validation_api.py +6 -6
  10. rapidata/api_client/api/workflow_api.py +2386 -0
  11. rapidata/api_client/api_client.py +2 -2
  12. rapidata/api_client/models/__init__.py +26 -3
  13. rapidata/api_client/models/admin_order_model.py +8 -1
  14. rapidata/api_client/models/age_group.py +1 -1
  15. rapidata/api_client/models/age_user_filter_model.py +2 -2
  16. rapidata/api_client/models/campaign_user_filter_model.py +2 -2
  17. rapidata/api_client/models/compare_workflow_get_result_overview_get200_response.py +137 -0
  18. rapidata/api_client/models/compare_workflow_model1.py +146 -0
  19. rapidata/api_client/models/completed_rapid_model.py +103 -0
  20. rapidata/api_client/models/country_user_filter_model.py +2 -2
  21. rapidata/api_client/models/create_demographic_rapid_model.py +3 -3
  22. rapidata/api_client/models/create_independent_workflow_model.py +93 -0
  23. rapidata/api_client/models/create_independent_workflow_model_workflow_config.py +140 -0
  24. rapidata/api_client/models/create_independent_workflow_result.py +89 -0
  25. rapidata/api_client/models/create_order_model.py +40 -31
  26. rapidata/api_client/models/create_order_model_selections_inner.py +24 -10
  27. rapidata/api_client/models/create_order_model_user_filters_inner.py +35 -35
  28. rapidata/api_client/models/customer_order_model.py +8 -1
  29. rapidata/api_client/models/demographic_rapid_selection_config.py +3 -3
  30. rapidata/api_client/models/demographic_selection.py +4 -4
  31. rapidata/api_client/models/feedback_model.py +1 -1
  32. rapidata/api_client/models/gender.py +1 -1
  33. rapidata/api_client/models/gender_user_filter_model.py +2 -2
  34. rapidata/api_client/models/get_attach_category_workflow_result_overview_result.py +144 -0
  35. rapidata/api_client/models/get_compare_workflow_result_overview_result.py +125 -0
  36. rapidata/api_client/models/get_compare_workflow_result_overview_small_result.py +114 -0
  37. rapidata/api_client/models/get_simple_workflow_result_overview_result.py +142 -0
  38. rapidata/api_client/models/get_workflow_by_id_result.py +91 -0
  39. rapidata/api_client/models/get_workflow_by_id_result_workflow.py +140 -0
  40. rapidata/api_client/models/get_workflow_progress_result.py +100 -0
  41. rapidata/api_client/models/get_workflow_result_overview_result.py +104 -0
  42. rapidata/api_client/models/i_workflow_model_paged_result.py +105 -0
  43. rapidata/api_client/models/in_progress_rapid_model.py +103 -0
  44. rapidata/api_client/models/labeling_selection.py +2 -2
  45. rapidata/api_client/models/language_user_filter_model.py +2 -2
  46. rapidata/api_client/models/not_started_rapid_model.py +93 -0
  47. rapidata/api_client/models/order_state.py +43 -0
  48. rapidata/api_client/models/query_workflows_model.py +112 -0
  49. rapidata/api_client/models/ranked_datapoint_model.py +95 -0
  50. rapidata/api_client/models/rapid_answer.py +97 -0
  51. rapidata/api_client/models/rapid_answer_result.py +252 -0
  52. rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +137 -0
  53. rapidata/api_client/models/simple_workflow_model1.py +140 -0
  54. rapidata/api_client/models/static_selection.py +96 -0
  55. rapidata/api_client/models/user_score_user_filter_model.py +3 -3
  56. rapidata/api_client/models/validation_selection.py +3 -3
  57. rapidata/api_client/models/workflow_state.py +41 -0
  58. rapidata/api_client/rest.py +1 -1
  59. rapidata/api_client_README.md +44 -8
  60. rapidata/rapidata_client/__init__.py +7 -1
  61. rapidata/rapidata_client/country_codes/__init__.py +1 -1
  62. rapidata/rapidata_client/feature_flags/__init__.py +1 -1
  63. rapidata/rapidata_client/metadata/__init__.py +5 -0
  64. rapidata/rapidata_client/order/rapidata_order_builder.py +20 -2
  65. rapidata/rapidata_client/rapidata_client.py +22 -0
  66. rapidata/rapidata_client/referee/__init__.py +3 -3
  67. rapidata/rapidata_client/selection/__init__.py +4 -0
  68. rapidata/rapidata_client/workflow/__init__.py +5 -4
  69. {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/METADATA +1 -1
  70. {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/RECORD +72 -43
  71. {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/LICENSE +0 -0
  72. {rapidata-0.3.0.dist-info → rapidata-0.4.1.dist-info}/WHEEL +0 -0
@@ -47,7 +47,7 @@ class DatasetApi:
47
47
  @validate_call
48
48
  def dataset_create_datapoint_post(
49
49
  self,
50
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
50
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
51
51
  model: Optional[DatapointMetadataModel] = None,
52
52
  _request_timeout: Union[
53
53
  None,
@@ -66,7 +66,7 @@ class DatasetApi:
66
66
 
67
67
  If multiple files are uploaded, a multi asset datapoint will be created.
68
68
 
69
- :param files:
69
+ :param files: The image files to upload.
70
70
  :type files: List[bytearray]
71
71
  :param model:
72
72
  :type model: DatapointMetadataModel
@@ -118,7 +118,7 @@ class DatasetApi:
118
118
  @validate_call
119
119
  def dataset_create_datapoint_post_with_http_info(
120
120
  self,
121
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
121
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
122
122
  model: Optional[DatapointMetadataModel] = None,
123
123
  _request_timeout: Union[
124
124
  None,
@@ -137,7 +137,7 @@ class DatasetApi:
137
137
 
138
138
  If multiple files are uploaded, a multi asset datapoint will be created.
139
139
 
140
- :param files:
140
+ :param files: The image files to upload.
141
141
  :type files: List[bytearray]
142
142
  :param model:
143
143
  :type model: DatapointMetadataModel
@@ -189,7 +189,7 @@ class DatasetApi:
189
189
  @validate_call
190
190
  def dataset_create_datapoint_post_without_preload_content(
191
191
  self,
192
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
192
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
193
193
  model: Optional[DatapointMetadataModel] = None,
194
194
  _request_timeout: Union[
195
195
  None,
@@ -208,7 +208,7 @@ class DatasetApi:
208
208
 
209
209
  If multiple files are uploaded, a multi asset datapoint will be created.
210
210
 
211
- :param files:
211
+ :param files: The image files to upload.
212
212
  :type files: List[bytearray]
213
213
  :param model:
214
214
  :type model: DatapointMetadataModel
@@ -602,7 +602,7 @@ class DatasetApi:
602
602
  def dataset_import_post(
603
603
  self,
604
604
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
605
- file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
605
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
606
606
  _request_timeout: Union[
607
607
  None,
608
608
  Annotated[StrictFloat, Field(gt=0)],
@@ -621,7 +621,7 @@ class DatasetApi:
621
621
 
622
622
  :param dataset_id: The id of the dataset to import the datapoints to.
623
623
  :type dataset_id: str
624
- :param file:
624
+ :param file: The csv file to import.
625
625
  :type file: bytearray
626
626
  :param _request_timeout: timeout setting for this request. If one
627
627
  number provided, it will be total request
@@ -672,7 +672,7 @@ class DatasetApi:
672
672
  def dataset_import_post_with_http_info(
673
673
  self,
674
674
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
675
- file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
675
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
676
676
  _request_timeout: Union[
677
677
  None,
678
678
  Annotated[StrictFloat, Field(gt=0)],
@@ -691,7 +691,7 @@ class DatasetApi:
691
691
 
692
692
  :param dataset_id: The id of the dataset to import the datapoints to.
693
693
  :type dataset_id: str
694
- :param file:
694
+ :param file: The csv file to import.
695
695
  :type file: bytearray
696
696
  :param _request_timeout: timeout setting for this request. If one
697
697
  number provided, it will be total request
@@ -742,7 +742,7 @@ class DatasetApi:
742
742
  def dataset_import_post_without_preload_content(
743
743
  self,
744
744
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to import the datapoints to.")] = None,
745
- file: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
745
+ file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="The csv file to import.")] = None,
746
746
  _request_timeout: Union[
747
747
  None,
748
748
  Annotated[StrictFloat, Field(gt=0)],
@@ -761,7 +761,7 @@ class DatasetApi:
761
761
 
762
762
  :param dataset_id: The id of the dataset to import the datapoints to.
763
763
  :type dataset_id: str
764
- :param file:
764
+ :param file: The csv file to import.
765
765
  :type file: bytearray
766
766
  :param _request_timeout: timeout setting for this request. If one
767
767
  number provided, it will be total request
@@ -1162,7 +1162,7 @@ class DatasetApi:
1162
1162
  def dataset_upload_datapoint_post(
1163
1163
  self,
1164
1164
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
1165
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1165
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
1166
1166
  _request_timeout: Union[
1167
1167
  None,
1168
1168
  Annotated[StrictFloat, Field(gt=0)],
@@ -1181,7 +1181,7 @@ class DatasetApi:
1181
1181
 
1182
1182
  :param dataset_id: The id of the dataset to upload the datapoint to.
1183
1183
  :type dataset_id: str
1184
- :param files:
1184
+ :param files: The image files to create the asset from.
1185
1185
  :type files: List[bytearray]
1186
1186
  :param _request_timeout: timeout setting for this request. If one
1187
1187
  number provided, it will be total request
@@ -1232,7 +1232,7 @@ class DatasetApi:
1232
1232
  def dataset_upload_datapoint_post_with_http_info(
1233
1233
  self,
1234
1234
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
1235
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1235
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
1236
1236
  _request_timeout: Union[
1237
1237
  None,
1238
1238
  Annotated[StrictFloat, Field(gt=0)],
@@ -1251,7 +1251,7 @@ class DatasetApi:
1251
1251
 
1252
1252
  :param dataset_id: The id of the dataset to upload the datapoint to.
1253
1253
  :type dataset_id: str
1254
- :param files:
1254
+ :param files: The image files to create the asset from.
1255
1255
  :type files: List[bytearray]
1256
1256
  :param _request_timeout: timeout setting for this request. If one
1257
1257
  number provided, it will be total request
@@ -1302,7 +1302,7 @@ class DatasetApi:
1302
1302
  def dataset_upload_datapoint_post_without_preload_content(
1303
1303
  self,
1304
1304
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the datapoint to.")] = None,
1305
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1305
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to create the asset from.")] = None,
1306
1306
  _request_timeout: Union[
1307
1307
  None,
1308
1308
  Annotated[StrictFloat, Field(gt=0)],
@@ -1321,7 +1321,7 @@ class DatasetApi:
1321
1321
 
1322
1322
  :param dataset_id: The id of the dataset to upload the datapoint to.
1323
1323
  :type dataset_id: str
1324
- :param files:
1324
+ :param files: The image files to create the asset from.
1325
1325
  :type files: List[bytearray]
1326
1326
  :param _request_timeout: timeout setting for this request. If one
1327
1327
  number provided, it will be total request
@@ -1731,7 +1731,7 @@ class DatasetApi:
1731
1731
  def dataset_upload_images_to_dataset_post(
1732
1732
  self,
1733
1733
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
1734
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1734
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
1735
1735
  _request_timeout: Union[
1736
1736
  None,
1737
1737
  Annotated[StrictFloat, Field(gt=0)],
@@ -1751,7 +1751,7 @@ class DatasetApi:
1751
1751
 
1752
1752
  :param dataset_id: The id of the dataset to upload the images to.
1753
1753
  :type dataset_id: str
1754
- :param files:
1754
+ :param files: The image files to upload.
1755
1755
  :type files: List[bytearray]
1756
1756
  :param _request_timeout: timeout setting for this request. If one
1757
1757
  number provided, it will be total request
@@ -1802,7 +1802,7 @@ class DatasetApi:
1802
1802
  def dataset_upload_images_to_dataset_post_with_http_info(
1803
1803
  self,
1804
1804
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
1805
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1805
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
1806
1806
  _request_timeout: Union[
1807
1807
  None,
1808
1808
  Annotated[StrictFloat, Field(gt=0)],
@@ -1822,7 +1822,7 @@ class DatasetApi:
1822
1822
 
1823
1823
  :param dataset_id: The id of the dataset to upload the images to.
1824
1824
  :type dataset_id: str
1825
- :param files:
1825
+ :param files: The image files to upload.
1826
1826
  :type files: List[bytearray]
1827
1827
  :param _request_timeout: timeout setting for this request. If one
1828
1828
  number provided, it will be total request
@@ -1873,7 +1873,7 @@ class DatasetApi:
1873
1873
  def dataset_upload_images_to_dataset_post_without_preload_content(
1874
1874
  self,
1875
1875
  dataset_id: Annotated[Optional[StrictStr], Field(description="The id of the dataset to upload the images to.")] = None,
1876
- files: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
1876
+ files: Annotated[Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]], Field(description="The image files to upload.")] = None,
1877
1877
  _request_timeout: Union[
1878
1878
  None,
1879
1879
  Annotated[StrictFloat, Field(gt=0)],
@@ -1893,7 +1893,7 @@ class DatasetApi:
1893
1893
 
1894
1894
  :param dataset_id: The id of the dataset to upload the images to.
1895
1895
  :type dataset_id: str
1896
- :param files:
1896
+ :param files: The image files to upload.
1897
1897
  :type files: List[bytearray]
1898
1898
  :param _request_timeout: timeout setting for this request. If one
1899
1899
  number provided, it will be total request