rapidata 2.4.1__py3-none-any.whl → 2.6.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 (42) hide show
  1. rapidata/api_client/__init__.py +17 -15
  2. rapidata/api_client/api/compare_workflow_api.py +49 -48
  3. rapidata/api_client/api/pipeline_api.py +559 -2
  4. rapidata/api_client/api/rapid_api.py +283 -0
  5. rapidata/api_client/api/simple_workflow_api.py +49 -82
  6. rapidata/api_client/api/workflow_api.py +0 -264
  7. rapidata/api_client/models/__init__.py +17 -15
  8. rapidata/api_client/models/ab_test_selection.py +122 -0
  9. rapidata/api_client/models/ab_test_selection_a_inner.py +212 -0
  10. rapidata/api_client/models/add_campaign_model.py +3 -3
  11. rapidata/api_client/models/capped_selection.py +3 -3
  12. rapidata/api_client/models/compare_match_status.py +39 -0
  13. rapidata/api_client/models/create_order_model.py +3 -3
  14. rapidata/api_client/models/get_compare_workflow_results_model.py +114 -0
  15. rapidata/api_client/models/get_compare_workflow_results_result.py +104 -0
  16. rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
  17. rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
  18. rapidata/api_client/models/get_simple_workflow_results_model.py +114 -0
  19. rapidata/api_client/models/get_simple_workflow_results_result.py +112 -0
  20. rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
  21. rapidata/api_client/models/multi_asset_model2.py +3 -3
  22. rapidata/api_client/models/order_model.py +3 -1
  23. rapidata/api_client/models/preliminary_download_model.py +87 -0
  24. rapidata/api_client/models/preliminary_download_result.py +87 -0
  25. rapidata/api_client/models/query_validation_rapids_result.py +11 -2
  26. rapidata/api_client/models/rapid_response.py +101 -0
  27. rapidata/api_client/models/rapid_response_result.py +266 -0
  28. rapidata/api_client/models/rapid_state.py +40 -0
  29. rapidata/api_client/models/update_validation_rapid_model.py +105 -0
  30. rapidata/api_client/models/update_validation_rapid_model_truth.py +252 -0
  31. rapidata/api_client_README.md +22 -18
  32. rapidata/rapidata_client/order/_rapidata_order_builder.py +3 -3
  33. rapidata/rapidata_client/selection/ab_test_selection.py +38 -0
  34. rapidata/rapidata_client/selection/capped_selection.py +3 -3
  35. rapidata/rapidata_client/validation/rapidata_validation_set.py +13 -1
  36. rapidata/rapidata_client/validation/rapids/rapids.py +18 -2
  37. rapidata/rapidata_client/validation/rapids/rapids_manager.py +1 -1
  38. rapidata/rapidata_client/validation/validation_set_manager.py +16 -22
  39. {rapidata-2.4.1.dist-info → rapidata-2.6.0.dist-info}/METADATA +1 -1
  40. {rapidata-2.4.1.dist-info → rapidata-2.6.0.dist-info}/RECORD +42 -24
  41. {rapidata-2.4.1.dist-info → rapidata-2.6.0.dist-info}/LICENSE +0 -0
  42. {rapidata-2.4.1.dist-info → rapidata-2.6.0.dist-info}/WHEEL +0 -0
@@ -25,6 +25,7 @@ from rapidata.api_client.models.query_validation_rapids_result_paged_result impo
25
25
  from rapidata.api_client.models.rapid_result_model import RapidResultModel
26
26
  from rapidata.api_client.models.rapid_skipped_model import RapidSkippedModel
27
27
  from rapidata.api_client.models.report_model import ReportModel
28
+ from rapidata.api_client.models.update_validation_rapid_model import UpdateValidationRapidModel
28
29
 
29
30
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
30
31
  from rapidata.api_client.api_response import ApiResponse
@@ -1641,3 +1642,285 @@ class RapidApi:
1641
1642
  )
1642
1643
 
1643
1644
 
1645
+
1646
+
1647
+ @validate_call
1648
+ def rapid_validation_rapid_id_put(
1649
+ self,
1650
+ rapid_id: StrictStr,
1651
+ update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
1652
+ _request_timeout: Union[
1653
+ None,
1654
+ Annotated[StrictFloat, Field(gt=0)],
1655
+ Tuple[
1656
+ Annotated[StrictFloat, Field(gt=0)],
1657
+ Annotated[StrictFloat, Field(gt=0)]
1658
+ ]
1659
+ ] = None,
1660
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1661
+ _content_type: Optional[StrictStr] = None,
1662
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1663
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1664
+ ) -> None:
1665
+ """Updates the validation information of a rapid.
1666
+
1667
+
1668
+ :param rapid_id: (required)
1669
+ :type rapid_id: str
1670
+ :param update_validation_rapid_model:
1671
+ :type update_validation_rapid_model: UpdateValidationRapidModel
1672
+ :param _request_timeout: timeout setting for this request. If one
1673
+ number provided, it will be total request
1674
+ timeout. It can also be a pair (tuple) of
1675
+ (connection, read) timeouts.
1676
+ :type _request_timeout: int, tuple(int, int), optional
1677
+ :param _request_auth: set to override the auth_settings for an a single
1678
+ request; this effectively ignores the
1679
+ authentication in the spec for a single request.
1680
+ :type _request_auth: dict, optional
1681
+ :param _content_type: force content-type for the request.
1682
+ :type _content_type: str, Optional
1683
+ :param _headers: set to override the headers for a single
1684
+ request; this effectively ignores the headers
1685
+ in the spec for a single request.
1686
+ :type _headers: dict, optional
1687
+ :param _host_index: set to override the host_index for a single
1688
+ request; this effectively ignores the host_index
1689
+ in the spec for a single request.
1690
+ :type _host_index: int, optional
1691
+ :return: Returns the result object.
1692
+ """ # noqa: E501
1693
+
1694
+ _param = self._rapid_validation_rapid_id_put_serialize(
1695
+ rapid_id=rapid_id,
1696
+ update_validation_rapid_model=update_validation_rapid_model,
1697
+ _request_auth=_request_auth,
1698
+ _content_type=_content_type,
1699
+ _headers=_headers,
1700
+ _host_index=_host_index
1701
+ )
1702
+
1703
+ _response_types_map: Dict[str, Optional[str]] = {
1704
+ '200': None,
1705
+ }
1706
+ response_data = self.api_client.call_api(
1707
+ *_param,
1708
+ _request_timeout=_request_timeout
1709
+ )
1710
+ response_data.read()
1711
+ return self.api_client.response_deserialize(
1712
+ response_data=response_data,
1713
+ response_types_map=_response_types_map,
1714
+ ).data
1715
+
1716
+
1717
+ @validate_call
1718
+ def rapid_validation_rapid_id_put_with_http_info(
1719
+ self,
1720
+ rapid_id: StrictStr,
1721
+ update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
1722
+ _request_timeout: Union[
1723
+ None,
1724
+ Annotated[StrictFloat, Field(gt=0)],
1725
+ Tuple[
1726
+ Annotated[StrictFloat, Field(gt=0)],
1727
+ Annotated[StrictFloat, Field(gt=0)]
1728
+ ]
1729
+ ] = None,
1730
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1731
+ _content_type: Optional[StrictStr] = None,
1732
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1733
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1734
+ ) -> ApiResponse[None]:
1735
+ """Updates the validation information of a rapid.
1736
+
1737
+
1738
+ :param rapid_id: (required)
1739
+ :type rapid_id: str
1740
+ :param update_validation_rapid_model:
1741
+ :type update_validation_rapid_model: UpdateValidationRapidModel
1742
+ :param _request_timeout: timeout setting for this request. If one
1743
+ number provided, it will be total request
1744
+ timeout. It can also be a pair (tuple) of
1745
+ (connection, read) timeouts.
1746
+ :type _request_timeout: int, tuple(int, int), optional
1747
+ :param _request_auth: set to override the auth_settings for an a single
1748
+ request; this effectively ignores the
1749
+ authentication in the spec for a single request.
1750
+ :type _request_auth: dict, optional
1751
+ :param _content_type: force content-type for the request.
1752
+ :type _content_type: str, Optional
1753
+ :param _headers: set to override the headers for a single
1754
+ request; this effectively ignores the headers
1755
+ in the spec for a single request.
1756
+ :type _headers: dict, optional
1757
+ :param _host_index: set to override the host_index for a single
1758
+ request; this effectively ignores the host_index
1759
+ in the spec for a single request.
1760
+ :type _host_index: int, optional
1761
+ :return: Returns the result object.
1762
+ """ # noqa: E501
1763
+
1764
+ _param = self._rapid_validation_rapid_id_put_serialize(
1765
+ rapid_id=rapid_id,
1766
+ update_validation_rapid_model=update_validation_rapid_model,
1767
+ _request_auth=_request_auth,
1768
+ _content_type=_content_type,
1769
+ _headers=_headers,
1770
+ _host_index=_host_index
1771
+ )
1772
+
1773
+ _response_types_map: Dict[str, Optional[str]] = {
1774
+ '200': None,
1775
+ }
1776
+ response_data = self.api_client.call_api(
1777
+ *_param,
1778
+ _request_timeout=_request_timeout
1779
+ )
1780
+ response_data.read()
1781
+ return self.api_client.response_deserialize(
1782
+ response_data=response_data,
1783
+ response_types_map=_response_types_map,
1784
+ )
1785
+
1786
+
1787
+ @validate_call
1788
+ def rapid_validation_rapid_id_put_without_preload_content(
1789
+ self,
1790
+ rapid_id: StrictStr,
1791
+ update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
1792
+ _request_timeout: Union[
1793
+ None,
1794
+ Annotated[StrictFloat, Field(gt=0)],
1795
+ Tuple[
1796
+ Annotated[StrictFloat, Field(gt=0)],
1797
+ Annotated[StrictFloat, Field(gt=0)]
1798
+ ]
1799
+ ] = None,
1800
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1801
+ _content_type: Optional[StrictStr] = None,
1802
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1803
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1804
+ ) -> RESTResponseType:
1805
+ """Updates the validation information of a rapid.
1806
+
1807
+
1808
+ :param rapid_id: (required)
1809
+ :type rapid_id: str
1810
+ :param update_validation_rapid_model:
1811
+ :type update_validation_rapid_model: UpdateValidationRapidModel
1812
+ :param _request_timeout: timeout setting for this request. If one
1813
+ number provided, it will be total request
1814
+ timeout. It can also be a pair (tuple) of
1815
+ (connection, read) timeouts.
1816
+ :type _request_timeout: int, tuple(int, int), optional
1817
+ :param _request_auth: set to override the auth_settings for an a single
1818
+ request; this effectively ignores the
1819
+ authentication in the spec for a single request.
1820
+ :type _request_auth: dict, optional
1821
+ :param _content_type: force content-type for the request.
1822
+ :type _content_type: str, Optional
1823
+ :param _headers: set to override the headers for a single
1824
+ request; this effectively ignores the headers
1825
+ in the spec for a single request.
1826
+ :type _headers: dict, optional
1827
+ :param _host_index: set to override the host_index for a single
1828
+ request; this effectively ignores the host_index
1829
+ in the spec for a single request.
1830
+ :type _host_index: int, optional
1831
+ :return: Returns the result object.
1832
+ """ # noqa: E501
1833
+
1834
+ _param = self._rapid_validation_rapid_id_put_serialize(
1835
+ rapid_id=rapid_id,
1836
+ update_validation_rapid_model=update_validation_rapid_model,
1837
+ _request_auth=_request_auth,
1838
+ _content_type=_content_type,
1839
+ _headers=_headers,
1840
+ _host_index=_host_index
1841
+ )
1842
+
1843
+ _response_types_map: Dict[str, Optional[str]] = {
1844
+ '200': None,
1845
+ }
1846
+ response_data = self.api_client.call_api(
1847
+ *_param,
1848
+ _request_timeout=_request_timeout
1849
+ )
1850
+ return response_data.response
1851
+
1852
+
1853
+ def _rapid_validation_rapid_id_put_serialize(
1854
+ self,
1855
+ rapid_id,
1856
+ update_validation_rapid_model,
1857
+ _request_auth,
1858
+ _content_type,
1859
+ _headers,
1860
+ _host_index,
1861
+ ) -> RequestSerialized:
1862
+
1863
+ _host = None
1864
+
1865
+ _collection_formats: Dict[str, str] = {
1866
+ }
1867
+
1868
+ _path_params: Dict[str, str] = {}
1869
+ _query_params: List[Tuple[str, str]] = []
1870
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1871
+ _form_params: List[Tuple[str, str]] = []
1872
+ _files: Dict[
1873
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1874
+ ] = {}
1875
+ _body_params: Optional[bytes] = None
1876
+
1877
+ # process the path parameters
1878
+ if rapid_id is not None:
1879
+ _path_params['rapidId'] = rapid_id
1880
+ # process the query parameters
1881
+ # process the header parameters
1882
+ # process the form parameters
1883
+ # process the body parameter
1884
+ if update_validation_rapid_model is not None:
1885
+ _body_params = update_validation_rapid_model
1886
+
1887
+
1888
+
1889
+ # set the HTTP header `Content-Type`
1890
+ if _content_type:
1891
+ _header_params['Content-Type'] = _content_type
1892
+ else:
1893
+ _default_content_type = (
1894
+ self.api_client.select_header_content_type(
1895
+ [
1896
+ 'application/json',
1897
+ 'text/json',
1898
+ 'application/*+json'
1899
+ ]
1900
+ )
1901
+ )
1902
+ if _default_content_type is not None:
1903
+ _header_params['Content-Type'] = _default_content_type
1904
+
1905
+ # authentication setting
1906
+ _auth_settings: List[str] = [
1907
+ 'bearer',
1908
+ 'oauth2'
1909
+ ]
1910
+
1911
+ return self.api_client.param_serialize(
1912
+ method='PUT',
1913
+ resource_path='/rapid/validation/{rapidId}',
1914
+ path_params=_path_params,
1915
+ query_params=_query_params,
1916
+ header_params=_header_params,
1917
+ body=_body_params,
1918
+ post_params=_form_params,
1919
+ files=_files,
1920
+ auth_settings=_auth_settings,
1921
+ collection_formats=_collection_formats,
1922
+ _host=_host,
1923
+ _request_auth=_request_auth
1924
+ )
1925
+
1926
+
@@ -16,10 +16,11 @@ 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, StrictInt, StrictStr
19
+ from pydantic import Field, StrictStr
20
20
  from typing import Optional
21
21
  from typing_extensions import Annotated
22
- from rapidata.api_client.models.simple_workflow_get_result_overview_get200_response import SimpleWorkflowGetResultOverviewGet200Response
22
+ from rapidata.api_client.models.get_simple_workflow_results_model import GetSimpleWorkflowResultsModel
23
+ from rapidata.api_client.models.get_simple_workflow_results_result_paged_result import GetSimpleWorkflowResultsResultPagedResult
23
24
 
24
25
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
25
26
  from rapidata.api_client.api_response import ApiResponse
@@ -40,12 +41,10 @@ class SimpleWorkflowApi:
40
41
 
41
42
 
42
43
  @validate_call
43
- def simple_workflow_get_result_overview_get(
44
+ def workflow_simple_id_results_get(
44
45
  self,
45
- workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
46
- not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
47
- in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
48
- completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
46
+ id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
47
+ model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
49
48
  _request_timeout: Union[
50
49
  None,
51
50
  Annotated[StrictFloat, Field(gt=0)],
@@ -58,18 +57,14 @@ class SimpleWorkflowApi:
58
57
  _content_type: Optional[StrictStr] = None,
59
58
  _headers: Optional[Dict[StrictStr, Any]] = None,
60
59
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61
- ) -> SimpleWorkflowGetResultOverviewGet200Response:
60
+ ) -> GetSimpleWorkflowResultsResultPagedResult:
62
61
  """Get the result overview for a simple workflow.
63
62
 
64
63
 
65
- :param workflow_id: The ID of the workflow. (required)
66
- :type workflow_id: str
67
- :param not_started_display_count: The number of rapids that have not started to return.
68
- :type not_started_display_count: int
69
- :param in_progress_display_count: The number of rapids that are in progress to return.
70
- :type in_progress_display_count: int
71
- :param completed_display_count: The number of rapids that are completed to return.
72
- :type completed_display_count: int
64
+ :param id: The ID of the workflow to get the results for. (required)
65
+ :type id: str
66
+ :param model: The model for the request.
67
+ :type model: GetSimpleWorkflowResultsModel
73
68
  :param _request_timeout: timeout setting for this request. If one
74
69
  number provided, it will be total request
75
70
  timeout. It can also be a pair (tuple) of
@@ -92,11 +87,9 @@ class SimpleWorkflowApi:
92
87
  :return: Returns the result object.
93
88
  """ # noqa: E501
94
89
 
95
- _param = self._simple_workflow_get_result_overview_get_serialize(
96
- workflow_id=workflow_id,
97
- not_started_display_count=not_started_display_count,
98
- in_progress_display_count=in_progress_display_count,
99
- completed_display_count=completed_display_count,
90
+ _param = self._workflow_simple_id_results_get_serialize(
91
+ id=id,
92
+ model=model,
100
93
  _request_auth=_request_auth,
101
94
  _content_type=_content_type,
102
95
  _headers=_headers,
@@ -104,7 +97,7 @@ class SimpleWorkflowApi:
104
97
  )
105
98
 
106
99
  _response_types_map: Dict[str, Optional[str]] = {
107
- '200': "SimpleWorkflowGetResultOverviewGet200Response",
100
+ '200': "GetSimpleWorkflowResultsResultPagedResult",
108
101
  }
109
102
  response_data = self.api_client.call_api(
110
103
  *_param,
@@ -118,12 +111,10 @@ class SimpleWorkflowApi:
118
111
 
119
112
 
120
113
  @validate_call
121
- def simple_workflow_get_result_overview_get_with_http_info(
114
+ def workflow_simple_id_results_get_with_http_info(
122
115
  self,
123
- workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
124
- not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
125
- in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
126
- completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
116
+ id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
117
+ model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
127
118
  _request_timeout: Union[
128
119
  None,
129
120
  Annotated[StrictFloat, Field(gt=0)],
@@ -136,18 +127,14 @@ class SimpleWorkflowApi:
136
127
  _content_type: Optional[StrictStr] = None,
137
128
  _headers: Optional[Dict[StrictStr, Any]] = None,
138
129
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
139
- ) -> ApiResponse[SimpleWorkflowGetResultOverviewGet200Response]:
130
+ ) -> ApiResponse[GetSimpleWorkflowResultsResultPagedResult]:
140
131
  """Get the result overview for a simple workflow.
141
132
 
142
133
 
143
- :param workflow_id: The ID of the workflow. (required)
144
- :type workflow_id: str
145
- :param not_started_display_count: The number of rapids that have not started to return.
146
- :type not_started_display_count: int
147
- :param in_progress_display_count: The number of rapids that are in progress to return.
148
- :type in_progress_display_count: int
149
- :param completed_display_count: The number of rapids that are completed to return.
150
- :type completed_display_count: int
134
+ :param id: The ID of the workflow to get the results for. (required)
135
+ :type id: str
136
+ :param model: The model for the request.
137
+ :type model: GetSimpleWorkflowResultsModel
151
138
  :param _request_timeout: timeout setting for this request. If one
152
139
  number provided, it will be total request
153
140
  timeout. It can also be a pair (tuple) of
@@ -170,11 +157,9 @@ class SimpleWorkflowApi:
170
157
  :return: Returns the result object.
171
158
  """ # noqa: E501
172
159
 
173
- _param = self._simple_workflow_get_result_overview_get_serialize(
174
- workflow_id=workflow_id,
175
- not_started_display_count=not_started_display_count,
176
- in_progress_display_count=in_progress_display_count,
177
- completed_display_count=completed_display_count,
160
+ _param = self._workflow_simple_id_results_get_serialize(
161
+ id=id,
162
+ model=model,
178
163
  _request_auth=_request_auth,
179
164
  _content_type=_content_type,
180
165
  _headers=_headers,
@@ -182,7 +167,7 @@ class SimpleWorkflowApi:
182
167
  )
183
168
 
184
169
  _response_types_map: Dict[str, Optional[str]] = {
185
- '200': "SimpleWorkflowGetResultOverviewGet200Response",
170
+ '200': "GetSimpleWorkflowResultsResultPagedResult",
186
171
  }
187
172
  response_data = self.api_client.call_api(
188
173
  *_param,
@@ -196,12 +181,10 @@ class SimpleWorkflowApi:
196
181
 
197
182
 
198
183
  @validate_call
199
- def simple_workflow_get_result_overview_get_without_preload_content(
184
+ def workflow_simple_id_results_get_without_preload_content(
200
185
  self,
201
- workflow_id: Annotated[StrictStr, Field(description="The ID of the workflow.")],
202
- not_started_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that have not started to return.")] = None,
203
- in_progress_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are in progress to return.")] = None,
204
- completed_display_count: Annotated[Optional[StrictInt], Field(description="The number of rapids that are completed to return.")] = None,
186
+ id: Annotated[StrictStr, Field(description="The ID of the workflow to get the results for.")],
187
+ model: Annotated[Optional[GetSimpleWorkflowResultsModel], Field(description="The model for the request.")] = None,
205
188
  _request_timeout: Union[
206
189
  None,
207
190
  Annotated[StrictFloat, Field(gt=0)],
@@ -218,14 +201,10 @@ class SimpleWorkflowApi:
218
201
  """Get the result overview for a simple workflow.
219
202
 
220
203
 
221
- :param workflow_id: The ID of the workflow. (required)
222
- :type workflow_id: str
223
- :param not_started_display_count: The number of rapids that have not started to return.
224
- :type not_started_display_count: int
225
- :param in_progress_display_count: The number of rapids that are in progress to return.
226
- :type in_progress_display_count: int
227
- :param completed_display_count: The number of rapids that are completed to return.
228
- :type completed_display_count: int
204
+ :param id: The ID of the workflow to get the results for. (required)
205
+ :type id: str
206
+ :param model: The model for the request.
207
+ :type model: GetSimpleWorkflowResultsModel
229
208
  :param _request_timeout: timeout setting for this request. If one
230
209
  number provided, it will be total request
231
210
  timeout. It can also be a pair (tuple) of
@@ -248,11 +227,9 @@ class SimpleWorkflowApi:
248
227
  :return: Returns the result object.
249
228
  """ # noqa: E501
250
229
 
251
- _param = self._simple_workflow_get_result_overview_get_serialize(
252
- workflow_id=workflow_id,
253
- not_started_display_count=not_started_display_count,
254
- in_progress_display_count=in_progress_display_count,
255
- completed_display_count=completed_display_count,
230
+ _param = self._workflow_simple_id_results_get_serialize(
231
+ id=id,
232
+ model=model,
256
233
  _request_auth=_request_auth,
257
234
  _content_type=_content_type,
258
235
  _headers=_headers,
@@ -260,7 +237,7 @@ class SimpleWorkflowApi:
260
237
  )
261
238
 
262
239
  _response_types_map: Dict[str, Optional[str]] = {
263
- '200': "SimpleWorkflowGetResultOverviewGet200Response",
240
+ '200': "GetSimpleWorkflowResultsResultPagedResult",
264
241
  }
265
242
  response_data = self.api_client.call_api(
266
243
  *_param,
@@ -269,12 +246,10 @@ class SimpleWorkflowApi:
269
246
  return response_data.response
270
247
 
271
248
 
272
- def _simple_workflow_get_result_overview_get_serialize(
249
+ def _workflow_simple_id_results_get_serialize(
273
250
  self,
274
- workflow_id,
275
- not_started_display_count,
276
- in_progress_display_count,
277
- completed_display_count,
251
+ id,
252
+ model,
278
253
  _request_auth,
279
254
  _content_type,
280
255
  _headers,
@@ -296,22 +271,12 @@ class SimpleWorkflowApi:
296
271
  _body_params: Optional[bytes] = None
297
272
 
298
273
  # process the path parameters
274
+ if id is not None:
275
+ _path_params['id'] = id
299
276
  # process the query parameters
300
- if workflow_id is not None:
277
+ if model is not None:
301
278
 
302
- _query_params.append(('WorkflowId', workflow_id))
303
-
304
- if not_started_display_count is not None:
305
-
306
- _query_params.append(('NotStartedDisplayCount', not_started_display_count))
307
-
308
- if in_progress_display_count is not None:
309
-
310
- _query_params.append(('InProgressDisplayCount', in_progress_display_count))
311
-
312
- if completed_display_count is not None:
313
-
314
- _query_params.append(('CompletedDisplayCount', completed_display_count))
279
+ _query_params.append(('model', model))
315
280
 
316
281
  # process the header parameters
317
282
  # process the form parameters
@@ -322,7 +287,9 @@ class SimpleWorkflowApi:
322
287
  if 'Accept' not in _header_params:
323
288
  _header_params['Accept'] = self.api_client.select_header_accept(
324
289
  [
325
- 'application/json'
290
+ 'text/plain',
291
+ 'application/json',
292
+ 'text/json'
326
293
  ]
327
294
  )
328
295
 
@@ -335,7 +302,7 @@ class SimpleWorkflowApi:
335
302
 
336
303
  return self.api_client.param_serialize(
337
304
  method='GET',
338
- resource_path='/SimpleWorkflow/GetResultOverview',
305
+ resource_path='/workflow/simple/{id}/results',
339
306
  path_params=_path_params,
340
307
  query_params=_query_params,
341
308
  header_params=_header_params,