rapidata 2.15.0__py3-none-any.whl → 2.16.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.

Files changed (60) hide show
  1. rapidata/api_client/__init__.py +17 -7
  2. rapidata/api_client/api/__init__.py +2 -1
  3. rapidata/api_client/api/campaign_api.py +554 -30
  4. rapidata/api_client/api/client_api.py +292 -20
  5. rapidata/api_client/api/coco_api.py +594 -8
  6. rapidata/api_client/api/compare_workflow_api.py +23 -23
  7. rapidata/api_client/api/datapoint_api.py +548 -26
  8. rapidata/api_client/api/dataset_api.py +2198 -186
  9. rapidata/api_client/api/feedback_api.py +306 -0
  10. rapidata/api_client/api/identity_api.py +1143 -78
  11. rapidata/api_client/api/newsletter_api.py +299 -11
  12. rapidata/api_client/api/order_api.py +5358 -556
  13. rapidata/api_client/api/pipeline_api.py +263 -524
  14. rapidata/api_client/api/rapid_api.py +1930 -254
  15. rapidata/api_client/api/simple_workflow_api.py +23 -23
  16. rapidata/api_client/api/validation_set_api.py +5259 -0
  17. rapidata/api_client/api/workflow_api.py +929 -134
  18. rapidata/api_client/models/__init__.py +15 -6
  19. rapidata/api_client/models/ab_test_selection_a_inner.py +24 -10
  20. rapidata/api_client/models/add_user_response_result.py +106 -0
  21. rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
  22. rapidata/api_client/models/add_validation_rapid_model.py +3 -3
  23. rapidata/api_client/models/add_validation_text_rapid_model.py +3 -3
  24. rapidata/api_client/models/are_rapids_active_result.py +87 -0
  25. rapidata/api_client/models/compare_workflow_model.py +3 -3
  26. rapidata/api_client/models/create_datapoint_from_files_model.py +102 -0
  27. rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +168 -0
  28. rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
  29. rapidata/api_client/models/create_datapoint_from_urls_model.py +4 -4
  30. rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -0
  31. rapidata/api_client/models/create_rapid_result.py +87 -0
  32. rapidata/api_client/models/create_validation_set_model.py +87 -0
  33. rapidata/api_client/models/datapoint_metadata_model.py +3 -3
  34. rapidata/api_client/models/get_validation_rapids_query.py +123 -0
  35. rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
  36. rapidata/api_client/models/pipeline_id_workflow_artifact_id_put_request.py +140 -0
  37. rapidata/api_client/models/query_validation_rapids_result.py +3 -3
  38. rapidata/api_client/models/rapid_issue.py +4 -0
  39. rapidata/api_client/models/report_model.py +4 -4
  40. rapidata/api_client/models/shuffling_selection.py +106 -0
  41. rapidata/api_client/models/update_dataset_name_model.py +87 -0
  42. rapidata/api_client/models/update_order_name_model.py +87 -0
  43. rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
  44. rapidata/api_client/models/user_score_user_filter_model.py +9 -2
  45. rapidata/api_client_README.md +153 -88
  46. rapidata/rapidata_client/demographic/demographic_manager.py +1 -1
  47. rapidata/rapidata_client/filter/user_score_filter.py +4 -1
  48. rapidata/rapidata_client/order/_rapidata_dataset.py +10 -11
  49. rapidata/rapidata_client/order/_rapidata_order_builder.py +1 -1
  50. rapidata/rapidata_client/order/rapidata_order.py +5 -5
  51. rapidata/rapidata_client/order/rapidata_order_manager.py +1 -1
  52. rapidata/rapidata_client/order/rapidata_results.py +1 -1
  53. rapidata/rapidata_client/validation/rapidata_validation_set.py +11 -0
  54. rapidata/rapidata_client/validation/rapids/rapids.py +3 -5
  55. rapidata/rapidata_client/validation/validation_set_manager.py +36 -21
  56. rapidata/rapidata_client/workflow/_ranking_workflow.py +2 -2
  57. {rapidata-2.15.0.dist-info → rapidata-2.16.0.dist-info}/METADATA +1 -1
  58. {rapidata-2.15.0.dist-info → rapidata-2.16.0.dist-info}/RECORD +60 -43
  59. {rapidata-2.15.0.dist-info → rapidata-2.16.0.dist-info}/LICENSE +0 -0
  60. {rapidata-2.15.0.dist-info → rapidata-2.16.0.dist-info}/WHEEL +0 -0
@@ -41,9 +41,9 @@ class SimpleWorkflowApi:
41
41
 
42
42
 
43
43
  @validate_call
44
- def workflow_simple_id_results_get(
44
+ def workflow_simple_workflow_id_results_get(
45
45
  self,
46
- id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
46
+ workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
47
47
  model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
48
48
  _request_timeout: Union[
49
49
  None,
@@ -61,8 +61,8 @@ class SimpleWorkflowApi:
61
61
  """Get the result overview for a simple workflow.
62
62
 
63
63
 
64
- :param id: The ID of the workflow to get the results for. (required)
65
- :type id: str
64
+ :param workflow_id: The ID of the workflow to get the results for. (required)
65
+ :type workflow_id: str
66
66
  :param model: The model for the request.
67
67
  :type model: GetSimpleWorkflowResultsModel
68
68
  :param _request_timeout: timeout setting for this request. If one
@@ -87,8 +87,8 @@ class SimpleWorkflowApi:
87
87
  :return: Returns the result object.
88
88
  """ # noqa: E501
89
89
 
90
- _param = self._workflow_simple_id_results_get_serialize(
91
- id=id,
90
+ _param = self._workflow_simple_workflow_id_results_get_serialize(
91
+ workflow_id=workflow_id,
92
92
  model=model,
93
93
  _request_auth=_request_auth,
94
94
  _content_type=_content_type,
@@ -111,9 +111,9 @@ class SimpleWorkflowApi:
111
111
 
112
112
 
113
113
  @validate_call
114
- def workflow_simple_id_results_get_with_http_info(
114
+ def workflow_simple_workflow_id_results_get_with_http_info(
115
115
  self,
116
- id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
116
+ workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
117
117
  model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
118
118
  _request_timeout: Union[
119
119
  None,
@@ -131,8 +131,8 @@ class SimpleWorkflowApi:
131
131
  """Get the result overview for a simple workflow.
132
132
 
133
133
 
134
- :param id: The ID of the workflow to get the results for. (required)
135
- :type id: str
134
+ :param workflow_id: The ID of the workflow to get the results for. (required)
135
+ :type workflow_id: str
136
136
  :param model: The model for the request.
137
137
  :type model: GetSimpleWorkflowResultsModel
138
138
  :param _request_timeout: timeout setting for this request. If one
@@ -157,8 +157,8 @@ class SimpleWorkflowApi:
157
157
  :return: Returns the result object.
158
158
  """ # noqa: E501
159
159
 
160
- _param = self._workflow_simple_id_results_get_serialize(
161
- id=id,
160
+ _param = self._workflow_simple_workflow_id_results_get_serialize(
161
+ workflow_id=workflow_id,
162
162
  model=model,
163
163
  _request_auth=_request_auth,
164
164
  _content_type=_content_type,
@@ -181,9 +181,9 @@ class SimpleWorkflowApi:
181
181
 
182
182
 
183
183
  @validate_call
184
- def workflow_simple_id_results_get_without_preload_content(
184
+ def workflow_simple_workflow_id_results_get_without_preload_content(
185
185
  self,
186
- id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
186
+ workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
187
187
  model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
188
188
  _request_timeout: Union[
189
189
  None,
@@ -201,8 +201,8 @@ class SimpleWorkflowApi:
201
201
  """Get the result overview for a simple workflow.
202
202
 
203
203
 
204
- :param id: The ID of the workflow to get the results for. (required)
205
- :type id: str
204
+ :param workflow_id: The ID of the workflow to get the results for. (required)
205
+ :type workflow_id: str
206
206
  :param model: The model for the request.
207
207
  :type model: GetSimpleWorkflowResultsModel
208
208
  :param _request_timeout: timeout setting for this request. If one
@@ -227,8 +227,8 @@ class SimpleWorkflowApi:
227
227
  :return: Returns the result object.
228
228
  """ # noqa: E501
229
229
 
230
- _param = self._workflow_simple_id_results_get_serialize(
231
- id=id,
230
+ _param = self._workflow_simple_workflow_id_results_get_serialize(
231
+ workflow_id=workflow_id,
232
232
  model=model,
233
233
  _request_auth=_request_auth,
234
234
  _content_type=_content_type,
@@ -246,9 +246,9 @@ class SimpleWorkflowApi:
246
246
  return response_data.response
247
247
 
248
248
 
249
- def _workflow_simple_id_results_get_serialize(
249
+ def _workflow_simple_workflow_id_results_get_serialize(
250
250
  self,
251
- id,
251
+ workflow_id,
252
252
  model,
253
253
  _request_auth,
254
254
  _content_type,
@@ -271,8 +271,8 @@ class SimpleWorkflowApi:
271
271
  _body_params: Optional[bytes] = None
272
272
 
273
273
  # process the path parameters
274
- if id is not None:
275
- _path_params['id'] = id
274
+ if workflow_id is not None:
275
+ _path_params['workflowId'] = workflow_id
276
276
  # process the query parameters
277
277
  if model is not None:
278
278
 
@@ -302,7 +302,7 @@ class SimpleWorkflowApi:
302
302
 
303
303
  return self.api_client.param_serialize(
304
304
  method='GET',
305
- resource_path='/workflow/simple/{id}/results',
305
+ resource_path='/workflow/simple/{workflowId}/results',
306
306
  path_params=_path_params,
307
307
  query_params=_query_params,
308
308
  header_params=_header_params,