rapidata 2.0.0__py3-none-any.whl → 2.1.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.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +1 -0
- rapidata/api_client/__init__.py +1 -1
- rapidata/api_client/api/dataset_api.py +12 -6
- rapidata/api_client/api/order_api.py +9 -7
- rapidata/api_client/models/__init__.py +1 -1
- rapidata/api_client/models/add_campaign_model.py +5 -3
- rapidata/api_client/models/create_order_model.py +4 -2
- rapidata/api_client/models/create_order_model_user_filters_inner.py +25 -11
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client_README.md +1 -1
- rapidata/rapidata_client/__init__.py +2 -1
- rapidata/rapidata_client/filter/__init__.py +1 -0
- rapidata/rapidata_client/filter/custom_filter.py +29 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +6 -2
- rapidata/rapidata_client/order/rapidata_order.py +11 -5
- rapidata/rapidata_client/validation/validation_set_manager.py +3 -0
- {rapidata-2.0.0.dist-info → rapidata-2.1.1.dist-info}/METADATA +2 -2
- {rapidata-2.0.0.dist-info → rapidata-2.1.1.dist-info}/RECORD +20 -18
- {rapidata-2.0.0.dist-info → rapidata-2.1.1.dist-info}/WHEEL +1 -1
- {rapidata-2.0.0.dist-info → rapidata-2.1.1.dist-info}/LICENSE +0 -0
rapidata/__init__.py
CHANGED
rapidata/api_client/__init__.py
CHANGED
|
@@ -122,6 +122,7 @@ from rapidata.api_client.models.create_simple_pipeline_model import CreateSimple
|
|
|
122
122
|
from rapidata.api_client.models.create_simple_pipeline_model_artifacts_inner import CreateSimplePipelineModelArtifactsInner
|
|
123
123
|
from rapidata.api_client.models.create_simple_pipeline_model_pipeline_steps_inner import CreateSimplePipelineModelPipelineStepsInner
|
|
124
124
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
125
|
+
from rapidata.api_client.models.custom_user_filter_model import CustomUserFilterModel
|
|
125
126
|
from rapidata.api_client.models.datapoint import Datapoint
|
|
126
127
|
from rapidata.api_client.models.datapoint_asset import DatapointAsset
|
|
127
128
|
from rapidata.api_client.models.datapoint_get_by_id_get200_response import DatapointGetByIdGet200Response
|
|
@@ -162,7 +163,6 @@ from rapidata.api_client.models.get_compare_workflow_result_overview_small_resul
|
|
|
162
163
|
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
163
164
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
164
165
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
165
|
-
from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
|
|
166
166
|
from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
|
|
167
167
|
from rapidata.api_client.models.get_pipeline_by_id_result_artifacts_value import GetPipelineByIdResultArtifactsValue
|
|
168
168
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
@@ -1459,7 +1459,7 @@ class DatasetApi:
|
|
|
1459
1459
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1460
1460
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1461
1461
|
) -> UploadDatapointsResult:
|
|
1462
|
-
"""Creates a new multi asset datapoint.
|
|
1462
|
+
"""(Deprecated) Creates a new multi asset datapoint.
|
|
1463
1463
|
|
|
1464
1464
|
|
|
1465
1465
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
@@ -1487,6 +1487,7 @@ class DatasetApi:
|
|
|
1487
1487
|
:type _host_index: int, optional
|
|
1488
1488
|
:return: Returns the result object.
|
|
1489
1489
|
""" # noqa: E501
|
|
1490
|
+
warnings.warn("POST /Dataset/UploadDatapoint is deprecated.", DeprecationWarning)
|
|
1490
1491
|
|
|
1491
1492
|
_param = self._dataset_upload_datapoint_post_serialize(
|
|
1492
1493
|
dataset_id=dataset_id,
|
|
@@ -1529,7 +1530,7 @@ class DatasetApi:
|
|
|
1529
1530
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1530
1531
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1531
1532
|
) -> ApiResponse[UploadDatapointsResult]:
|
|
1532
|
-
"""Creates a new multi asset datapoint.
|
|
1533
|
+
"""(Deprecated) Creates a new multi asset datapoint.
|
|
1533
1534
|
|
|
1534
1535
|
|
|
1535
1536
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
@@ -1557,6 +1558,7 @@ class DatasetApi:
|
|
|
1557
1558
|
:type _host_index: int, optional
|
|
1558
1559
|
:return: Returns the result object.
|
|
1559
1560
|
""" # noqa: E501
|
|
1561
|
+
warnings.warn("POST /Dataset/UploadDatapoint is deprecated.", DeprecationWarning)
|
|
1560
1562
|
|
|
1561
1563
|
_param = self._dataset_upload_datapoint_post_serialize(
|
|
1562
1564
|
dataset_id=dataset_id,
|
|
@@ -1599,7 +1601,7 @@ class DatasetApi:
|
|
|
1599
1601
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1600
1602
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1601
1603
|
) -> RESTResponseType:
|
|
1602
|
-
"""Creates a new multi asset datapoint.
|
|
1604
|
+
"""(Deprecated) Creates a new multi asset datapoint.
|
|
1603
1605
|
|
|
1604
1606
|
|
|
1605
1607
|
:param dataset_id: The id of the dataset to upload the datapoint to.
|
|
@@ -1627,6 +1629,7 @@ class DatasetApi:
|
|
|
1627
1629
|
:type _host_index: int, optional
|
|
1628
1630
|
:return: Returns the result object.
|
|
1629
1631
|
""" # noqa: E501
|
|
1632
|
+
warnings.warn("POST /Dataset/UploadDatapoint is deprecated.", DeprecationWarning)
|
|
1630
1633
|
|
|
1631
1634
|
_param = self._dataset_upload_datapoint_post_serialize(
|
|
1632
1635
|
dataset_id=dataset_id,
|
|
@@ -2030,7 +2033,7 @@ class DatasetApi:
|
|
|
2030
2033
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2031
2034
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2032
2035
|
) -> None:
|
|
2033
|
-
"""Uploads images to a dataset.
|
|
2036
|
+
"""(Deprecated) Uploads images to a dataset.
|
|
2034
2037
|
|
|
2035
2038
|
If multiple files are uploaded, a new datapoint will be created for each file.
|
|
2036
2039
|
|
|
@@ -2059,6 +2062,7 @@ class DatasetApi:
|
|
|
2059
2062
|
:type _host_index: int, optional
|
|
2060
2063
|
:return: Returns the result object.
|
|
2061
2064
|
""" # noqa: E501
|
|
2065
|
+
warnings.warn("POST /Dataset/UploadImagesToDataset is deprecated.", DeprecationWarning)
|
|
2062
2066
|
|
|
2063
2067
|
_param = self._dataset_upload_images_to_dataset_post_serialize(
|
|
2064
2068
|
dataset_id=dataset_id,
|
|
@@ -2101,7 +2105,7 @@ class DatasetApi:
|
|
|
2101
2105
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2102
2106
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2103
2107
|
) -> ApiResponse[None]:
|
|
2104
|
-
"""Uploads images to a dataset.
|
|
2108
|
+
"""(Deprecated) Uploads images to a dataset.
|
|
2105
2109
|
|
|
2106
2110
|
If multiple files are uploaded, a new datapoint will be created for each file.
|
|
2107
2111
|
|
|
@@ -2130,6 +2134,7 @@ class DatasetApi:
|
|
|
2130
2134
|
:type _host_index: int, optional
|
|
2131
2135
|
:return: Returns the result object.
|
|
2132
2136
|
""" # noqa: E501
|
|
2137
|
+
warnings.warn("POST /Dataset/UploadImagesToDataset is deprecated.", DeprecationWarning)
|
|
2133
2138
|
|
|
2134
2139
|
_param = self._dataset_upload_images_to_dataset_post_serialize(
|
|
2135
2140
|
dataset_id=dataset_id,
|
|
@@ -2172,7 +2177,7 @@ class DatasetApi:
|
|
|
2172
2177
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2173
2178
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2174
2179
|
) -> RESTResponseType:
|
|
2175
|
-
"""Uploads images to a dataset.
|
|
2180
|
+
"""(Deprecated) Uploads images to a dataset.
|
|
2176
2181
|
|
|
2177
2182
|
If multiple files are uploaded, a new datapoint will be created for each file.
|
|
2178
2183
|
|
|
@@ -2201,6 +2206,7 @@ class DatasetApi:
|
|
|
2201
2206
|
:type _host_index: int, optional
|
|
2202
2207
|
:return: Returns the result object.
|
|
2203
2208
|
""" # noqa: E501
|
|
2209
|
+
warnings.warn("POST /Dataset/UploadImagesToDataset is deprecated.", DeprecationWarning)
|
|
2204
2210
|
|
|
2205
2211
|
_param = self._dataset_upload_images_to_dataset_post_serialize(
|
|
2206
2212
|
dataset_id=dataset_id,
|
|
@@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field, StrictStr
|
|
20
|
-
from typing import Optional
|
|
20
|
+
from typing import Any, Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.clone_order_model import CloneOrderModel
|
|
23
23
|
from rapidata.api_client.models.clone_order_result import CloneOrderResult
|
|
@@ -28,7 +28,6 @@ from rapidata.api_client.models.create_order_result import CreateOrderResult
|
|
|
28
28
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
29
29
|
from rapidata.api_client.models.feedback_model import FeedbackModel
|
|
30
30
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
31
|
-
from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
|
|
32
31
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
33
32
|
from rapidata.api_client.models.order_model_paged_result import OrderModelPagedResult
|
|
34
33
|
from rapidata.api_client.models.query_model import QueryModel
|
|
@@ -2209,9 +2208,10 @@ class OrderApi:
|
|
|
2209
2208
|
_content_type: Optional[StrictStr] = None,
|
|
2210
2209
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2211
2210
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2212
|
-
) ->
|
|
2211
|
+
) -> object:
|
|
2213
2212
|
"""Aggregates the results of an order.
|
|
2214
2213
|
|
|
2214
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
2215
2215
|
|
|
2216
2216
|
:param id: The id of the order
|
|
2217
2217
|
:type id: str
|
|
@@ -2246,7 +2246,7 @@ class OrderApi:
|
|
|
2246
2246
|
)
|
|
2247
2247
|
|
|
2248
2248
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2249
|
-
'200': "
|
|
2249
|
+
'200': "object",
|
|
2250
2250
|
}
|
|
2251
2251
|
response_data = self.api_client.call_api(
|
|
2252
2252
|
*_param,
|
|
@@ -2275,9 +2275,10 @@ class OrderApi:
|
|
|
2275
2275
|
_content_type: Optional[StrictStr] = None,
|
|
2276
2276
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2277
2277
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2278
|
-
) -> ApiResponse[
|
|
2278
|
+
) -> ApiResponse[object]:
|
|
2279
2279
|
"""Aggregates the results of an order.
|
|
2280
2280
|
|
|
2281
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
2281
2282
|
|
|
2282
2283
|
:param id: The id of the order
|
|
2283
2284
|
:type id: str
|
|
@@ -2312,7 +2313,7 @@ class OrderApi:
|
|
|
2312
2313
|
)
|
|
2313
2314
|
|
|
2314
2315
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2315
|
-
'200': "
|
|
2316
|
+
'200': "object",
|
|
2316
2317
|
}
|
|
2317
2318
|
response_data = self.api_client.call_api(
|
|
2318
2319
|
*_param,
|
|
@@ -2344,6 +2345,7 @@ class OrderApi:
|
|
|
2344
2345
|
) -> RESTResponseType:
|
|
2345
2346
|
"""Aggregates the results of an order.
|
|
2346
2347
|
|
|
2348
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
2347
2349
|
|
|
2348
2350
|
:param id: The id of the order
|
|
2349
2351
|
:type id: str
|
|
@@ -2378,7 +2380,7 @@ class OrderApi:
|
|
|
2378
2380
|
)
|
|
2379
2381
|
|
|
2380
2382
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2381
|
-
'200': "
|
|
2383
|
+
'200': "object",
|
|
2382
2384
|
}
|
|
2383
2385
|
response_data = self.api_client.call_api(
|
|
2384
2386
|
*_param,
|
|
@@ -90,6 +90,7 @@ from rapidata.api_client.models.create_simple_pipeline_model import CreateSimple
|
|
|
90
90
|
from rapidata.api_client.models.create_simple_pipeline_model_artifacts_inner import CreateSimplePipelineModelArtifactsInner
|
|
91
91
|
from rapidata.api_client.models.create_simple_pipeline_model_pipeline_steps_inner import CreateSimplePipelineModelPipelineStepsInner
|
|
92
92
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
93
|
+
from rapidata.api_client.models.custom_user_filter_model import CustomUserFilterModel
|
|
93
94
|
from rapidata.api_client.models.datapoint import Datapoint
|
|
94
95
|
from rapidata.api_client.models.datapoint_asset import DatapointAsset
|
|
95
96
|
from rapidata.api_client.models.datapoint_get_by_id_get200_response import DatapointGetByIdGet200Response
|
|
@@ -130,7 +131,6 @@ from rapidata.api_client.models.get_compare_workflow_result_overview_small_resul
|
|
|
130
131
|
from rapidata.api_client.models.get_datapoints_by_dataset_id_result import GetDatapointsByDatasetIdResult
|
|
131
132
|
from rapidata.api_client.models.get_dataset_by_id_result import GetDatasetByIdResult
|
|
132
133
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
133
|
-
from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
|
|
134
134
|
from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
|
|
135
135
|
from rapidata.api_client.models.get_pipeline_by_id_result_artifacts_value import GetPipelineByIdResultArtifactsValue
|
|
136
136
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from rapidata.api_client.models.capped_selection_selections_inner import CappedSelectionSelectionsInner
|
|
23
23
|
from rapidata.api_client.models.create_order_model_user_filters_inner import CreateOrderModelUserFiltersInner
|
|
@@ -37,7 +37,8 @@ class AddCampaignModel(BaseModel):
|
|
|
37
37
|
selections: Optional[List[CappedSelectionSelectionsInner]] = Field(description="The selections that the campaign should have.")
|
|
38
38
|
feature_flags: List[FeatureFlag] = Field(description="The feature flags that should be applied to the campaign.", alias="featureFlags")
|
|
39
39
|
priority: StrictInt = Field(description="The priority of the campaign.")
|
|
40
|
-
|
|
40
|
+
is_sticky: Optional[StrictBool] = Field(default=None, description="Indicates if the campaign is sticky.", alias="isSticky")
|
|
41
|
+
__properties: ClassVar[List[str]] = ["_t", "artifactId", "campaignName", "userFilters", "validationSetId", "selections", "featureFlags", "priority", "isSticky"]
|
|
41
42
|
|
|
42
43
|
@field_validator('t')
|
|
43
44
|
def t_validate_enum(cls, value):
|
|
@@ -140,7 +141,8 @@ class AddCampaignModel(BaseModel):
|
|
|
140
141
|
"validationSetId": obj.get("validationSetId"),
|
|
141
142
|
"selections": [CappedSelectionSelectionsInner.from_dict(_item) for _item in obj["selections"]] if obj.get("selections") is not None else None,
|
|
142
143
|
"featureFlags": [FeatureFlag.from_dict(_item) for _item in obj["featureFlags"]] if obj.get("featureFlags") is not None else None,
|
|
143
|
-
"priority": obj.get("priority")
|
|
144
|
+
"priority": obj.get("priority"),
|
|
145
|
+
"isSticky": obj.get("isSticky")
|
|
144
146
|
})
|
|
145
147
|
return _obj
|
|
146
148
|
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from rapidata.api_client.models.capped_selection_selections_inner import CappedSelectionSelectionsInner
|
|
23
23
|
from rapidata.api_client.models.create_order_model_referee import CreateOrderModelReferee
|
|
@@ -38,10 +38,11 @@ class CreateOrderModel(BaseModel):
|
|
|
38
38
|
aggregator: Optional[StrictStr] = Field(default=None, description="The aggregator is used to determine how the data will be aggregated. The default behavior is enough for most cases")
|
|
39
39
|
feature_flags: Optional[List[FeatureFlagModel]] = Field(default=None, description="The feature flags are used to enable or disable certain features.", alias="featureFlags")
|
|
40
40
|
priority: Optional[StrictInt] = Field(default=None, description="The priority is used to prioritize over other orders.")
|
|
41
|
+
is_sticky: Optional[StrictBool] = Field(default=None, description="Indicates if the underlying campaign should be sticky.", alias="isSticky")
|
|
41
42
|
user_filters: List[CreateOrderModelUserFiltersInner] = Field(description="The user filters are used to restrict the order to only collect votes from a specific demographic.", alias="userFilters")
|
|
42
43
|
validation_set_id: Optional[StrictStr] = Field(default=None, description="The validation set id can be changed to point to a specific validation set. if not provided a sane default will be used.", alias="validationSetId")
|
|
43
44
|
selections: Optional[List[CappedSelectionSelectionsInner]] = Field(default=None, description="The selections are used to determine which tasks are shown to a user.")
|
|
44
|
-
__properties: ClassVar[List[str]] = ["_t", "orderName", "workflow", "referee", "aggregator", "featureFlags", "priority", "userFilters", "validationSetId", "selections"]
|
|
45
|
+
__properties: ClassVar[List[str]] = ["_t", "orderName", "workflow", "referee", "aggregator", "featureFlags", "priority", "isSticky", "userFilters", "validationSetId", "selections"]
|
|
45
46
|
|
|
46
47
|
@field_validator('t')
|
|
47
48
|
def t_validate_enum(cls, value):
|
|
@@ -170,6 +171,7 @@ class CreateOrderModel(BaseModel):
|
|
|
170
171
|
"aggregator": obj.get("aggregator"),
|
|
171
172
|
"featureFlags": [FeatureFlagModel.from_dict(_item) for _item in obj["featureFlags"]] if obj.get("featureFlags") is not None else None,
|
|
172
173
|
"priority": obj.get("priority"),
|
|
174
|
+
"isSticky": obj.get("isSticky"),
|
|
173
175
|
"userFilters": [CreateOrderModelUserFiltersInner.from_dict(_item) for _item in obj["userFilters"]] if obj.get("userFilters") is not None else None,
|
|
174
176
|
"validationSetId": obj.get("validationSetId"),
|
|
175
177
|
"selections": [CappedSelectionSelectionsInner.from_dict(_item) for _item in obj["selections"]] if obj.get("selections") is not None else None
|
|
@@ -20,6 +20,7 @@ from typing import Any, List, Optional
|
|
|
20
20
|
from rapidata.api_client.models.age_user_filter_model import AgeUserFilterModel
|
|
21
21
|
from rapidata.api_client.models.campaign_user_filter_model import CampaignUserFilterModel
|
|
22
22
|
from rapidata.api_client.models.country_user_filter_model import CountryUserFilterModel
|
|
23
|
+
from rapidata.api_client.models.custom_user_filter_model import CustomUserFilterModel
|
|
23
24
|
from rapidata.api_client.models.gender_user_filter_model import GenderUserFilterModel
|
|
24
25
|
from rapidata.api_client.models.language_user_filter_model import LanguageUserFilterModel
|
|
25
26
|
from rapidata.api_client.models.user_score_user_filter_model import UserScoreUserFilterModel
|
|
@@ -27,7 +28,7 @@ from pydantic import StrictStr, Field
|
|
|
27
28
|
from typing import Union, List, Set, Optional, Dict
|
|
28
29
|
from typing_extensions import Literal, Self
|
|
29
30
|
|
|
30
|
-
CREATEORDERMODELUSERFILTERSINNER_ONE_OF_SCHEMAS = ["AgeUserFilterModel", "CampaignUserFilterModel", "CountryUserFilterModel", "GenderUserFilterModel", "LanguageUserFilterModel", "UserScoreUserFilterModel"]
|
|
31
|
+
CREATEORDERMODELUSERFILTERSINNER_ONE_OF_SCHEMAS = ["AgeUserFilterModel", "CampaignUserFilterModel", "CountryUserFilterModel", "CustomUserFilterModel", "GenderUserFilterModel", "LanguageUserFilterModel", "UserScoreUserFilterModel"]
|
|
31
32
|
|
|
32
33
|
class CreateOrderModelUserFiltersInner(BaseModel):
|
|
33
34
|
"""
|
|
@@ -39,14 +40,16 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
39
40
|
oneof_schema_2_validator: Optional[CampaignUserFilterModel] = None
|
|
40
41
|
# data type: CountryUserFilterModel
|
|
41
42
|
oneof_schema_3_validator: Optional[CountryUserFilterModel] = None
|
|
43
|
+
# data type: CustomUserFilterModel
|
|
44
|
+
oneof_schema_4_validator: Optional[CustomUserFilterModel] = None
|
|
42
45
|
# data type: GenderUserFilterModel
|
|
43
|
-
|
|
46
|
+
oneof_schema_5_validator: Optional[GenderUserFilterModel] = None
|
|
44
47
|
# data type: LanguageUserFilterModel
|
|
45
|
-
|
|
48
|
+
oneof_schema_6_validator: Optional[LanguageUserFilterModel] = None
|
|
46
49
|
# data type: UserScoreUserFilterModel
|
|
47
|
-
|
|
48
|
-
actual_instance: Optional[Union[AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel]] = None
|
|
49
|
-
one_of_schemas: Set[str] = { "AgeUserFilterModel", "CampaignUserFilterModel", "CountryUserFilterModel", "GenderUserFilterModel", "LanguageUserFilterModel", "UserScoreUserFilterModel" }
|
|
50
|
+
oneof_schema_7_validator: Optional[UserScoreUserFilterModel] = None
|
|
51
|
+
actual_instance: Optional[Union[AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel]] = None
|
|
52
|
+
one_of_schemas: Set[str] = { "AgeUserFilterModel", "CampaignUserFilterModel", "CountryUserFilterModel", "CustomUserFilterModel", "GenderUserFilterModel", "LanguageUserFilterModel", "UserScoreUserFilterModel" }
|
|
50
53
|
|
|
51
54
|
model_config = ConfigDict(
|
|
52
55
|
validate_assignment=True,
|
|
@@ -87,6 +90,11 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
87
90
|
error_messages.append(f"Error! Input type `{type(v)}` is not `CountryUserFilterModel`")
|
|
88
91
|
else:
|
|
89
92
|
match += 1
|
|
93
|
+
# validate data type: CustomUserFilterModel
|
|
94
|
+
if not isinstance(v, CustomUserFilterModel):
|
|
95
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `CustomUserFilterModel`")
|
|
96
|
+
else:
|
|
97
|
+
match += 1
|
|
90
98
|
# validate data type: GenderUserFilterModel
|
|
91
99
|
if not isinstance(v, GenderUserFilterModel):
|
|
92
100
|
error_messages.append(f"Error! Input type `{type(v)}` is not `GenderUserFilterModel`")
|
|
@@ -104,10 +112,10 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
104
112
|
match += 1
|
|
105
113
|
if match > 1:
|
|
106
114
|
# more than 1 match
|
|
107
|
-
raise ValueError("Multiple matches found when setting `actual_instance` in CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
115
|
+
raise ValueError("Multiple matches found when setting `actual_instance` in CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
108
116
|
elif match == 0:
|
|
109
117
|
# no match
|
|
110
|
-
raise ValueError("No match found when setting `actual_instance` in CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
118
|
+
raise ValueError("No match found when setting `actual_instance` in CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
111
119
|
else:
|
|
112
120
|
return v
|
|
113
121
|
|
|
@@ -140,6 +148,12 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
140
148
|
match += 1
|
|
141
149
|
except (ValidationError, ValueError) as e:
|
|
142
150
|
error_messages.append(str(e))
|
|
151
|
+
# deserialize data into CustomUserFilterModel
|
|
152
|
+
try:
|
|
153
|
+
instance.actual_instance = CustomUserFilterModel.from_json(json_str)
|
|
154
|
+
match += 1
|
|
155
|
+
except (ValidationError, ValueError) as e:
|
|
156
|
+
error_messages.append(str(e))
|
|
143
157
|
# deserialize data into GenderUserFilterModel
|
|
144
158
|
try:
|
|
145
159
|
instance.actual_instance = GenderUserFilterModel.from_json(json_str)
|
|
@@ -161,10 +175,10 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
161
175
|
|
|
162
176
|
if match > 1:
|
|
163
177
|
# more than 1 match
|
|
164
|
-
raise ValueError("Multiple matches found when deserializing the JSON string into CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
178
|
+
raise ValueError("Multiple matches found when deserializing the JSON string into CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
165
179
|
elif match == 0:
|
|
166
180
|
# no match
|
|
167
|
-
raise ValueError("No match found when deserializing the JSON string into CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
181
|
+
raise ValueError("No match found when deserializing the JSON string into CreateOrderModelUserFiltersInner with oneOf schemas: AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel. Details: " + ", ".join(error_messages))
|
|
168
182
|
else:
|
|
169
183
|
return instance
|
|
170
184
|
|
|
@@ -178,7 +192,7 @@ class CreateOrderModelUserFiltersInner(BaseModel):
|
|
|
178
192
|
else:
|
|
179
193
|
return json.dumps(self.actual_instance)
|
|
180
194
|
|
|
181
|
-
def to_dict(self) -> Optional[Union[Dict[str, Any], AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel]]:
|
|
195
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], AgeUserFilterModel, CampaignUserFilterModel, CountryUserFilterModel, CustomUserFilterModel, GenderUserFilterModel, LanguageUserFilterModel, UserScoreUserFilterModel]]:
|
|
182
196
|
"""Returns the dict representation of the actual instance"""
|
|
183
197
|
if self.actual_instance is None:
|
|
184
198
|
return None
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Rapidata.Dataset
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class CustomUserFilterModel(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
CustomUserFilterModel
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
t: StrictStr = Field(description="Discriminator value for CustomFilter", alias="_t")
|
|
30
|
+
identifier: StrictStr
|
|
31
|
+
values: List[StrictStr]
|
|
32
|
+
__properties: ClassVar[List[str]] = ["_t", "identifier", "values"]
|
|
33
|
+
|
|
34
|
+
@field_validator('t')
|
|
35
|
+
def t_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in set(['CustomFilter']):
|
|
38
|
+
raise ValueError("must be one of enum values ('CustomFilter')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
model_config = ConfigDict(
|
|
42
|
+
populate_by_name=True,
|
|
43
|
+
validate_assignment=True,
|
|
44
|
+
protected_namespaces=(),
|
|
45
|
+
)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
55
|
+
return json.dumps(self.to_dict())
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
59
|
+
"""Create an instance of CustomUserFilterModel from a JSON string"""
|
|
60
|
+
return cls.from_dict(json.loads(json_str))
|
|
61
|
+
|
|
62
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
63
|
+
"""Return the dictionary representation of the model using alias.
|
|
64
|
+
|
|
65
|
+
This has the following differences from calling pydantic's
|
|
66
|
+
`self.model_dump(by_alias=True)`:
|
|
67
|
+
|
|
68
|
+
* `None` is only added to the output dict for nullable fields that
|
|
69
|
+
were set at model initialization. Other fields with value `None`
|
|
70
|
+
are ignored.
|
|
71
|
+
"""
|
|
72
|
+
excluded_fields: Set[str] = set([
|
|
73
|
+
])
|
|
74
|
+
|
|
75
|
+
_dict = self.model_dump(
|
|
76
|
+
by_alias=True,
|
|
77
|
+
exclude=excluded_fields,
|
|
78
|
+
exclude_none=True,
|
|
79
|
+
)
|
|
80
|
+
return _dict
|
|
81
|
+
|
|
82
|
+
@classmethod
|
|
83
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
84
|
+
"""Create an instance of CustomUserFilterModel from a dict"""
|
|
85
|
+
if obj is None:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
if not isinstance(obj, dict):
|
|
89
|
+
return cls.model_validate(obj)
|
|
90
|
+
|
|
91
|
+
_obj = cls.model_validate({
|
|
92
|
+
"_t": obj.get("_t") if obj.get("_t") is not None else 'CustomFilter',
|
|
93
|
+
"identifier": obj.get("identifier"),
|
|
94
|
+
"values": obj.get("values")
|
|
95
|
+
})
|
|
96
|
+
return _obj
|
|
97
|
+
|
|
98
|
+
|
rapidata/api_client_README.md
CHANGED
|
@@ -224,6 +224,7 @@ Class | Method | HTTP request | Description
|
|
|
224
224
|
- [CreateSimplePipelineModelArtifactsInner](rapidata/api_client/docs/CreateSimplePipelineModelArtifactsInner.md)
|
|
225
225
|
- [CreateSimplePipelineModelPipelineStepsInner](rapidata/api_client/docs/CreateSimplePipelineModelPipelineStepsInner.md)
|
|
226
226
|
- [CreateUnsupportedOrderModel](rapidata/api_client/docs/CreateUnsupportedOrderModel.md)
|
|
227
|
+
- [CustomUserFilterModel](rapidata/api_client/docs/CustomUserFilterModel.md)
|
|
227
228
|
- [Datapoint](rapidata/api_client/docs/Datapoint.md)
|
|
228
229
|
- [DatapointAsset](rapidata/api_client/docs/DatapointAsset.md)
|
|
229
230
|
- [DatapointGetByIdGet200Response](rapidata/api_client/docs/DatapointGetByIdGet200Response.md)
|
|
@@ -264,7 +265,6 @@ Class | Method | HTTP request | Description
|
|
|
264
265
|
- [GetDatapointsByDatasetIdResult](rapidata/api_client/docs/GetDatapointsByDatasetIdResult.md)
|
|
265
266
|
- [GetDatasetByIdResult](rapidata/api_client/docs/GetDatasetByIdResult.md)
|
|
266
267
|
- [GetOrderByIdResult](rapidata/api_client/docs/GetOrderByIdResult.md)
|
|
267
|
-
- [GetOrderResultsResult](rapidata/api_client/docs/GetOrderResultsResult.md)
|
|
268
268
|
- [GetPipelineByIdResult](rapidata/api_client/docs/GetPipelineByIdResult.md)
|
|
269
269
|
- [GetPipelineByIdResultArtifactsValue](rapidata/api_client/docs/GetPipelineByIdResultArtifactsValue.md)
|
|
270
270
|
- [GetPublicOrdersResult](rapidata/api_client/docs/GetPublicOrdersResult.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
from rapidata.rapidata_client.filter._base_filter import RapidataFilter
|
|
3
|
+
from rapidata.api_client.models.custom_user_filter_model import CustomUserFilterModel
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CustomFilter(RapidataFilter):
|
|
7
|
+
"""CustomFilter Class
|
|
8
|
+
|
|
9
|
+
Can be used to filter who to target based on custom filters.
|
|
10
|
+
|
|
11
|
+
Ought to be used with contact to Rapidata.
|
|
12
|
+
|
|
13
|
+
Warning: If identifier does not exist, order will not get any responses.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
identifier (str): Identifier of the custom filter.
|
|
17
|
+
values (list[str]): List of values to filter by.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
def __init__(self, identifier: str, values: list[str]):
|
|
21
|
+
self.identifier = identifier
|
|
22
|
+
self.values = values
|
|
23
|
+
|
|
24
|
+
def _to_model(self):
|
|
25
|
+
return CustomUserFilterModel(
|
|
26
|
+
_t="CustomFilter",
|
|
27
|
+
identifier=self.identifier,
|
|
28
|
+
values=self.values,
|
|
29
|
+
)
|
|
@@ -4,7 +4,8 @@ from rapidata.rapidata_client.filter import (
|
|
|
4
4
|
CountryFilter,
|
|
5
5
|
GenderFilter,
|
|
6
6
|
LanguageFilter,
|
|
7
|
-
UserScoreFilter
|
|
7
|
+
UserScoreFilter,
|
|
8
|
+
CustomFilter)
|
|
8
9
|
|
|
9
10
|
class RapidataFilters:
|
|
10
11
|
"""RapidataFilters Classes
|
|
@@ -22,10 +23,13 @@ class RapidataFilters:
|
|
|
22
23
|
country (CountryFilter): The CountryFilter instance.
|
|
23
24
|
campaign (CampaignFilter): The CampaignFilter instance
|
|
24
25
|
gender (GenderFilter): The GenderFilter instance.
|
|
25
|
-
language (LanguageFilter): The LanguageFilter instance.
|
|
26
|
+
language (LanguageFilter): The LanguageFilter instance.
|
|
27
|
+
custom_filter (CustomFilter): The CustomFilter instance.
|
|
28
|
+
"""
|
|
26
29
|
user_score = UserScoreFilter
|
|
27
30
|
age = AgeFilter
|
|
28
31
|
campaign = CampaignFilter
|
|
29
32
|
country = CountryFilter
|
|
30
33
|
gender = GenderFilter
|
|
31
34
|
language = LanguageFilter
|
|
35
|
+
custom_filter = CustomFilter
|
|
@@ -15,17 +15,17 @@ class RapidataOrder:
|
|
|
15
15
|
Such as starting, pausing, and getting the results of the order.
|
|
16
16
|
|
|
17
17
|
Args:
|
|
18
|
+
name: The name of the order.
|
|
18
19
|
order_id: The ID of the order.
|
|
19
20
|
openapi_service: The OpenAPIService instance used to interact with the Rapidata API.
|
|
20
|
-
name: The name of the order.
|
|
21
21
|
dataset: The optional Dataset associated with the order.
|
|
22
22
|
"""
|
|
23
23
|
|
|
24
24
|
def __init__(
|
|
25
25
|
self,
|
|
26
|
+
name: str,
|
|
26
27
|
order_id: str,
|
|
27
28
|
openapi_service: OpenAPIService,
|
|
28
|
-
name: str,
|
|
29
29
|
dataset: Optional[RapidataDataset]=None,
|
|
30
30
|
):
|
|
31
31
|
self.order_id = order_id
|
|
@@ -52,6 +52,13 @@ class RapidataOrder:
|
|
|
52
52
|
self.__openapi_service.order_api.order_pause_post(self.order_id)
|
|
53
53
|
print(f"Order '{self}' has been paused.")
|
|
54
54
|
|
|
55
|
+
def unpause(self):
|
|
56
|
+
"""
|
|
57
|
+
Unpauses/resume the order.
|
|
58
|
+
"""
|
|
59
|
+
self.__openapi_service.order_api.order_resume_post(self.order_id)
|
|
60
|
+
print(f"Order '{self}' has been unpaused.")
|
|
61
|
+
|
|
55
62
|
def get_status(self) -> str:
|
|
56
63
|
"""
|
|
57
64
|
Gets the status of the order.
|
|
@@ -129,9 +136,8 @@ class RapidataOrder:
|
|
|
129
136
|
|
|
130
137
|
try:
|
|
131
138
|
# Get the raw result string
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
return json.loads(result_str)
|
|
139
|
+
return self.__openapi_service.order_api.order_get_order_results_get(id=self.order_id) # type: ignore
|
|
140
|
+
|
|
135
141
|
except ApiException as e:
|
|
136
142
|
# Handle API exceptions
|
|
137
143
|
raise Exception(f"Failed to get order results: {str(e)}") from e
|
|
@@ -23,6 +23,9 @@ from typing import Sequence
|
|
|
23
23
|
class ValidationSetManager:
|
|
24
24
|
"""
|
|
25
25
|
Responsible for everything related to validation sets. From creation to retrieval.
|
|
26
|
+
|
|
27
|
+
Attributes:
|
|
28
|
+
rapid (RapidsManager): The RapidsManager instance.
|
|
26
29
|
"""
|
|
27
30
|
def __init__(self, openapi_service: OpenAPIService) -> None:
|
|
28
31
|
self.__openapi_service = openapi_service
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
rapidata/__init__.py,sha256=
|
|
2
|
-
rapidata/api_client/__init__.py,sha256=
|
|
1
|
+
rapidata/__init__.py,sha256=fQDxHG9k8jBQ0Tm5f2XoKZwcEUaAXbUltwsoEXTBXRA,611
|
|
2
|
+
rapidata/api_client/__init__.py,sha256=E95vH2Bo3S14UbnrP-4yUhQ5AnaLGiyO0sXdrRlmXz0,25007
|
|
3
3
|
rapidata/api_client/api/__init__.py,sha256=h0wnYolEBVduAU_7YBLFnwHcwXgZg_krSgarsWxz4zs,1061
|
|
4
4
|
rapidata/api_client/api/campaign_api.py,sha256=DxPFqt9F6c9OpXu_Uxhsrib2NVwnbcZFa3Vkrj7cIuA,40474
|
|
5
5
|
rapidata/api_client/api/client_api.py,sha256=hJR9NO3YMHE-7SYwFM88p1aBW5qdmkOf7AKdq7-QZ4A,32719
|
|
6
6
|
rapidata/api_client/api/coco_api.py,sha256=WQKGMJ568P5bcIDLyV8u6NAhp8URSItdY6PSeTgh5Go,23224
|
|
7
7
|
rapidata/api_client/api/compare_workflow_api.py,sha256=2P5Z1zvlEc6zmrmeSN67l1LONpchz6g0v0olfD8M_o8,12652
|
|
8
8
|
rapidata/api_client/api/datapoint_api.py,sha256=CdLFVMrVylj2_D6Ll58_4ME604-7mgWCyXF5SpKmyfI,31668
|
|
9
|
-
rapidata/api_client/api/dataset_api.py,sha256=
|
|
9
|
+
rapidata/api_client/api/dataset_api.py,sha256=kV-xtqaaPz3xN21Iah9c5UnW32gRGMyA1grDB9BzHjE,92672
|
|
10
10
|
rapidata/api_client/api/identity_api.py,sha256=HohN5Kgynss527TI91vtpZ8mgxlcCTeH6IdxxEGpOak,34859
|
|
11
11
|
rapidata/api_client/api/newsletter_api.py,sha256=9ZqGDB4_AEQZfRA61RRYkyQ06WjXH-aCwJUe60c2H4w,22575
|
|
12
|
-
rapidata/api_client/api/order_api.py,sha256=
|
|
12
|
+
rapidata/api_client/api/order_api.py,sha256=hLLlXQrt3y5ni0NALNiDoLd6HxhZ7RuTjyBqmK-osMM,209636
|
|
13
13
|
rapidata/api_client/api/pipeline_api.py,sha256=8NjyfLWaX7DtaF6jWDS2rzqsWigWWYgyeoDLwPH4S9w,71566
|
|
14
14
|
rapidata/api_client/api/rapid_api.py,sha256=3ttNQerbjI7djWxJ21XEG6pOKeME2VxP7tJsYMSjE3M,54063
|
|
15
15
|
rapidata/api_client/api/rapidata_identity_api_api.py,sha256=-kgoDuLdh-R4MQ7JPi3kQ0WDFKbmI0MkCjxwHXBmksA,9824
|
|
@@ -21,9 +21,9 @@ rapidata/api_client/api_client.py,sha256=EDhxAOUc5JFWvFsF1zc726Q7GoEFkuB8uor5SlG
|
|
|
21
21
|
rapidata/api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
22
22
|
rapidata/api_client/configuration.py,sha256=g472vHVPLBotq8EkfSXP4sbp7xnn-3sb8O8BBlRWK1I,15931
|
|
23
23
|
rapidata/api_client/exceptions.py,sha256=eLLd1fxM0Ygf3IIG6aNx9hdy79drst5Cem0UjI_NamM,5978
|
|
24
|
-
rapidata/api_client/models/__init__.py,sha256=
|
|
24
|
+
rapidata/api_client/models/__init__.py,sha256=vuSMMYnVJrdMjXCqpmA3OI_fjBFWJy3Iu1dX1wQNQP8,23405
|
|
25
25
|
rapidata/api_client/models/add_campaign_artifact_result.py,sha256=4IvFVS-tLlL6eHsWp-IZ_ul5T30-h3YEwd2B5ioBbgY,2582
|
|
26
|
-
rapidata/api_client/models/add_campaign_model.py,sha256=
|
|
26
|
+
rapidata/api_client/models/add_campaign_model.py,sha256=fAjWj_ahlVrXZzRaiL3mrcqXYZd5I93R8scwo8-JpXw,6873
|
|
27
27
|
rapidata/api_client/models/add_validation_rapid_model.py,sha256=-HRHMK-o6dgGjUqfsP_woZcFxfN7nuJ-L1CUaK9nihY,4918
|
|
28
28
|
rapidata/api_client/models/add_validation_rapid_model_payload.py,sha256=Ul_xSBMI4jlnbIKPZfyuYJ5x-f-mQik8hYD1ArVKCLw,11092
|
|
29
29
|
rapidata/api_client/models/add_validation_rapid_model_truth.py,sha256=TlaA5RbE2gJquDDm-d7c_fQxvWjYQtiJljZEWgZMWo8,11044
|
|
@@ -102,16 +102,17 @@ rapidata/api_client/models/create_independent_workflow_model_workflow_config.py,
|
|
|
102
102
|
rapidata/api_client/models/create_independent_workflow_result.py,sha256=JOhS75mAH-VvarvDDFsycahPlIezVKT1upuqIo93hC0,2719
|
|
103
103
|
rapidata/api_client/models/create_legacy_client_model.py,sha256=8LcKnjv3Lq6w28ku6NG6nG9qfxWQnfPow53maGlwNdE,2802
|
|
104
104
|
rapidata/api_client/models/create_legacy_order_result.py,sha256=BR1XqPKq9QkDe0UytTW6dpihAeNyfCc4C1m0XfY53hQ,2672
|
|
105
|
-
rapidata/api_client/models/create_order_model.py,sha256=
|
|
105
|
+
rapidata/api_client/models/create_order_model.py,sha256=FTdioNA4Y0OSu4CCxZ3hZvC4ihL6LqpGLmUc5YChCt0,9119
|
|
106
106
|
rapidata/api_client/models/create_order_model_referee.py,sha256=dxQ9SDiBjFIKYjctVNeiuGvjZwzIa0Q8JpW7iRei00I,5748
|
|
107
107
|
rapidata/api_client/models/create_order_model_selections_inner.py,sha256=9p9BJKHN3WhRiu-FwWf421COAxeGmm1KkkyDT7UW5uc,8354
|
|
108
|
-
rapidata/api_client/models/create_order_model_user_filters_inner.py,sha256=
|
|
108
|
+
rapidata/api_client/models/create_order_model_user_filters_inner.py,sha256=ARw0SIa1PXVKts5-L6eGEH-GXZYeR93qDA5k3gphh0U,10299
|
|
109
109
|
rapidata/api_client/models/create_order_model_workflow.py,sha256=cy7bD2kWvLkCgFdrViAG63xtYDIdVOn0dD74GRxni_A,6638
|
|
110
110
|
rapidata/api_client/models/create_order_result.py,sha256=zGr4EOKdjfy5SBLvox_iiCwwc7dXOfi70M0WYSZGgH4,3272
|
|
111
111
|
rapidata/api_client/models/create_simple_pipeline_model.py,sha256=loLhevw-sZap22HDFGDF1aphPBznt1M-wBY31haihNY,4729
|
|
112
112
|
rapidata/api_client/models/create_simple_pipeline_model_artifacts_inner.py,sha256=EvOz0EpU3RIfZ1rw6EGOkGiFzGi1Zm0YmeDKNQ7WWS8,5027
|
|
113
113
|
rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py,sha256=6N8-Xsybow21NhHKVzKv-QDJR4rPZYkAzgorIVyTod4,8837
|
|
114
114
|
rapidata/api_client/models/create_unsupported_order_model.py,sha256=3mtEMVJIoaK1J15ypsAYoii6q40_1c3Tq6r0MkOOuHI,3033
|
|
115
|
+
rapidata/api_client/models/custom_user_filter_model.py,sha256=uTNEeTE5Asds_GjkvZzDm9ndQmUoG3hghIGG9iJkp_s,3051
|
|
115
116
|
rapidata/api_client/models/customer_order_model.py,sha256=9kXJb1GQw6dZpZPSSqOU9_yxAoXHk6cbkvghMCf-0jA,3614
|
|
116
117
|
rapidata/api_client/models/customer_order_model_paged_result.py,sha256=3OdAC3BVGWjU6i5kWb108pwt6d1ThVJQF9Ji409ZZDo,3518
|
|
117
118
|
rapidata/api_client/models/datapoint.py,sha256=CLu8YbAWBjdDbkf2ZOawy_tHk64nBHpU5YLlDIk6OTM,4295
|
|
@@ -335,8 +336,8 @@ rapidata/api_client/models/workflow_split_model.py,sha256=zthOSaUl8dbLhLymLK_lrP
|
|
|
335
336
|
rapidata/api_client/models/workflow_split_model_filter_configs_inner.py,sha256=1Fx9uZtztiiAdMXkj7YeCqt7o6VkG9lKf7D7UP_h088,7447
|
|
336
337
|
rapidata/api_client/models/workflow_state.py,sha256=5LAK1se76RCoozeVB6oxMPb8p_5bhLZJqn7q5fFQWis,850
|
|
337
338
|
rapidata/api_client/rest.py,sha256=zmCIFQC2l1t-KZcq-TgEm3vco3y_LK6vRm3Q07K-xRI,9423
|
|
338
|
-
rapidata/api_client_README.md,sha256=
|
|
339
|
-
rapidata/rapidata_client/__init__.py,sha256=
|
|
339
|
+
rapidata/api_client_README.md,sha256=tv9QpQH6NoyFe-AV5wK3o1dx-EJMMCgiwekTxDhgrdY,37864
|
|
340
|
+
rapidata/rapidata_client/__init__.py,sha256=kkT6FMU4P8rTdYKTJgZNcyptr-Rq1iZmsyLIyRCwpYA,896
|
|
340
341
|
rapidata/rapidata_client/assets/__init__.py,sha256=hKgrOSn8gJcBSULaf4auYhH1S1N5AfcwIhBSq1BOKwQ,323
|
|
341
342
|
rapidata/rapidata_client/assets/_base_asset.py,sha256=B2YWH1NgaeYUYHDW3OPpHM_bqawHbH4EjnRCE2BYwiM,298
|
|
342
343
|
rapidata/rapidata_client/assets/_media_asset.py,sha256=b-n_zYF9TIAegretCDaEBlHXV2ETmBt0Zbg2SKYFY68,3981
|
|
@@ -345,17 +346,18 @@ rapidata/rapidata_client/assets/_text_asset.py,sha256=itoe3vicn41LbdJ7UeydImORUo
|
|
|
345
346
|
rapidata/rapidata_client/assets/data_type_enum.py,sha256=ELC-ymeKnQlfNAzfqsI7MmUuRiGYamCHVcTc0qR6Fm4,185
|
|
346
347
|
rapidata/rapidata_client/country_codes/__init__.py,sha256=FB9Dcks44J6C6YBSYmTmNZ71tE130x6NO_3aLJ8fKzQ,40
|
|
347
348
|
rapidata/rapidata_client/country_codes/country_codes.py,sha256=ePHqeb7y9DWQZAnddBzPx1puYBcrgUjdR2sbFijuFD8,283
|
|
348
|
-
rapidata/rapidata_client/filter/__init__.py,sha256=
|
|
349
|
+
rapidata/rapidata_client/filter/__init__.py,sha256=5V2xc_TiDireub3c4OKkcWi4hCnln2M-q8sGOKKNhX8,350
|
|
349
350
|
rapidata/rapidata_client/filter/_base_filter.py,sha256=ytiSyeb9dvNZf93zwgb4PRDzf9ebsAu4wHBn4x49Re0,195
|
|
350
351
|
rapidata/rapidata_client/filter/age_filter.py,sha256=oRjGY65gE_X8oa0D0XRyvKAb4_Z6XOOaGTWykRSfLFA,739
|
|
351
352
|
rapidata/rapidata_client/filter/campaign_filter.py,sha256=6ZT11-gub8349QcRwuHt8AcBY18F7BdLRZ2Ch_vjLyU,735
|
|
352
353
|
rapidata/rapidata_client/filter/country_filter.py,sha256=xWgogUIpz8tp2CjeHKd25pzIaIiu9oO7dTzrjfxLNvo,948
|
|
354
|
+
rapidata/rapidata_client/filter/custom_filter.py,sha256=XZgqJhKCy7m2P0Dx8fk7vVszbdKc7gT2U07dWi3hXgU,885
|
|
353
355
|
rapidata/rapidata_client/filter/gender_filter.py,sha256=f3E7p4ZLoAFvzUTbnqgcjl4QduWPA89fg63MNDIfzp8,724
|
|
354
356
|
rapidata/rapidata_client/filter/language_filter.py,sha256=ENOL74rcTBaODJTTzG-RwXXgEUiJvJW_YkhpzUPbDVc,1248
|
|
355
357
|
rapidata/rapidata_client/filter/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
356
358
|
rapidata/rapidata_client/filter/models/age_group.py,sha256=9Lk_zvuGqJZNij_CLFNLwE07piUaDrZMyAXzFAk6FKc,1203
|
|
357
359
|
rapidata/rapidata_client/filter/models/gender.py,sha256=aXg6Kql2BIy8d5d1lCVi1axMWnyN1FFgPDU6fh2hYUM,627
|
|
358
|
-
rapidata/rapidata_client/filter/rapidata_filters.py,sha256=
|
|
360
|
+
rapidata/rapidata_client/filter/rapidata_filters.py,sha256=9dZCC19UjNCIkpNjosuVaTXcOkWUuB5YzzKAJaGa6M0,1256
|
|
359
361
|
rapidata/rapidata_client/filter/user_score_filter.py,sha256=9iDG8IXxDKkQE9Pc_VywAxGsTvv6z7ibMZfwyNXeRRI,1326
|
|
360
362
|
rapidata/rapidata_client/metadata/__init__.py,sha256=cVAGs3F1i5BiimZ9m-aVXAiVyfqLMtSn59nqfRFmIxs,248
|
|
361
363
|
rapidata/rapidata_client/metadata/_base_metadata.py,sha256=eCE7cxiTnrZkXQI5An7mSqNrkR-PC-2uWntcffFbLoQ,270
|
|
@@ -366,7 +368,7 @@ rapidata/rapidata_client/metadata/_select_words_metadata.py,sha256=I4qVtCkj60ljk
|
|
|
366
368
|
rapidata/rapidata_client/order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
367
369
|
rapidata/rapidata_client/order/_rapidata_dataset.py,sha256=IU0N2_LksyEDlvLq56vCkiSR45kA9I6q4pqDoEpWmMw,5240
|
|
368
370
|
rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=R4iOWy8nfIHpzqqqQcQhLgpdB8z_tUrkL2M_8rZUw9M,13121
|
|
369
|
-
rapidata/rapidata_client/order/rapidata_order.py,sha256=
|
|
371
|
+
rapidata/rapidata_client/order/rapidata_order.py,sha256=e7ZMllbOaBFqPDVApL-kemAnFLbzF9rNWyTGOKuU8Qc,5741
|
|
370
372
|
rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=cafGE546QQn0j-GBbKRCprZl6qz1jhFWuaEoDHU9Pu4,24551
|
|
371
373
|
rapidata/rapidata_client/rapidata_client.py,sha256=9SMOouDBwe-aIi9rnPtnL2vrqnlQHDKxOUpw-Eh3Fsg,1782
|
|
372
374
|
rapidata/rapidata_client/referee/__init__.py,sha256=q0Hv9nmfEpyChejtyMLT8hWKL0vTTf_UgUXPYNJ-H6M,153
|
|
@@ -400,7 +402,7 @@ rapidata/rapidata_client/validation/rapids/__init__.py,sha256=WU5PPwtTJlte6U90MD
|
|
|
400
402
|
rapidata/rapidata_client/validation/rapids/box.py,sha256=t3_Kn6doKXdnJdtbwefXnYKPiTKHneJl9E2inkDSqL8,589
|
|
401
403
|
rapidata/rapidata_client/validation/rapids/rapids.py,sha256=d66Z2wbLCDanT9nHDPbyYsnoBhtYQm_O1vQbn7GogBw,4214
|
|
402
404
|
rapidata/rapidata_client/validation/rapids/rapids_manager.py,sha256=XkPvR4ho6wM8sbqdhY3_us4QQIbBkCwNhVbGrBrAQx0,6400
|
|
403
|
-
rapidata/rapidata_client/validation/validation_set_manager.py,sha256=
|
|
405
|
+
rapidata/rapidata_client/validation/validation_set_manager.py,sha256=NklKsohdbkSqCWSQ2ZLd0mjuulrKdqXN6Zb3gTT851Y,16530
|
|
404
406
|
rapidata/rapidata_client/workflow/__init__.py,sha256=dpzq5EsMRmt8Q-AwFVtWethc8uhJFrqtNKqwcn0qRFY,379
|
|
405
407
|
rapidata/rapidata_client/workflow/_base_workflow.py,sha256=XyIZFKS_RxAuwIHS848S3AyLEHqd07oTD_5jm2oUbsw,762
|
|
406
408
|
rapidata/rapidata_client/workflow/_classify_workflow.py,sha256=9bT54wxVJgxC-zLk6MVNbseFpzYrvFPjt7DHvxqYfnk,1736
|
|
@@ -415,7 +417,7 @@ rapidata/service/credential_manager.py,sha256=Of0BQs_V1T7rkrWX9groLX790nOknaARwn
|
|
|
415
417
|
rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
|
|
416
418
|
rapidata/service/openapi_service.py,sha256=Z4NrAuilLlIWBdGOv6otz36tHS_vvU36w5jmvOUTmqo,3198
|
|
417
419
|
rapidata/service/token_manager.py,sha256=JZ5YbR5Di8dO3H4kK11d0kzWlrXxjgCmeNkHA4AapCM,6425
|
|
418
|
-
rapidata-2.
|
|
419
|
-
rapidata-2.
|
|
420
|
-
rapidata-2.
|
|
421
|
-
rapidata-2.
|
|
420
|
+
rapidata-2.1.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
421
|
+
rapidata-2.1.1.dist-info/METADATA,sha256=pkkjH7KXUPIDAjznVH_3B2ih6X3G44rzU0kjDQAISBA,1067
|
|
422
|
+
rapidata-2.1.1.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
|
|
423
|
+
rapidata-2.1.1.dist-info/RECORD,,
|
|
File without changes
|