rapidata 2.7.0__py3-none-any.whl → 2.7.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/rapidata_client/order/rapidata_order_manager.py +8 -8
- {rapidata-2.7.0.dist-info → rapidata-2.7.1.dist-info}/METADATA +1 -1
- {rapidata-2.7.0.dist-info → rapidata-2.7.1.dist-info}/RECORD +5 -5
- {rapidata-2.7.0.dist-info → rapidata-2.7.1.dist-info}/LICENSE +0 -0
- {rapidata-2.7.0.dist-info → rapidata-2.7.1.dist-info}/WHEEL +0 -0
|
@@ -58,7 +58,7 @@ class RapidataOrderManager:
|
|
|
58
58
|
return [ValidationSelection(validation_set_id=validation_set_id), LabelingSelection(amount=labeling_amount-1)]
|
|
59
59
|
return [LabelingSelection(amount=labeling_amount)]
|
|
60
60
|
|
|
61
|
-
def
|
|
61
|
+
def _create_general_order(self,
|
|
62
62
|
name: str,
|
|
63
63
|
workflow: Workflow,
|
|
64
64
|
assets: list[MediaAsset] | list[TextAsset] | list[MultiAsset],
|
|
@@ -168,7 +168,7 @@ class RapidataOrderManager:
|
|
|
168
168
|
else:
|
|
169
169
|
raise ValueError(f"Unsupported data type: {data_type}, must be one of {RapidataDataTypes._possible_values()}")
|
|
170
170
|
|
|
171
|
-
return self.
|
|
171
|
+
return self._create_general_order(
|
|
172
172
|
name=name,
|
|
173
173
|
workflow=ClassifyWorkflow(
|
|
174
174
|
instruction=instruction,
|
|
@@ -226,7 +226,7 @@ class RapidataOrderManager:
|
|
|
226
226
|
else:
|
|
227
227
|
raise ValueError(f"Unsupported data type: {data_type}, must be one of {RapidataDataTypes._possible_values()}")
|
|
228
228
|
|
|
229
|
-
return self.
|
|
229
|
+
return self._create_general_order(
|
|
230
230
|
name=name,
|
|
231
231
|
workflow=CompareWorkflow(
|
|
232
232
|
instruction=instruction
|
|
@@ -273,7 +273,7 @@ class RapidataOrderManager:
|
|
|
273
273
|
else:
|
|
274
274
|
raise ValueError(f"Unsupported data type: {data_type}, must be one of {RapidataDataTypes._possible_values()}")
|
|
275
275
|
|
|
276
|
-
return self.
|
|
276
|
+
return self._create_general_order(
|
|
277
277
|
name=name,
|
|
278
278
|
workflow=FreeTextWorkflow(
|
|
279
279
|
instruction=instruction
|
|
@@ -316,7 +316,7 @@ class RapidataOrderManager:
|
|
|
316
316
|
|
|
317
317
|
assets = [MediaAsset(path=path) for path in datapoints]
|
|
318
318
|
|
|
319
|
-
return self.
|
|
319
|
+
return self._create_general_order(
|
|
320
320
|
name=name,
|
|
321
321
|
workflow=SelectWordsWorkflow(
|
|
322
322
|
instruction=instruction
|
|
@@ -361,7 +361,7 @@ class RapidataOrderManager:
|
|
|
361
361
|
|
|
362
362
|
assets = [MediaAsset(path=path) for path in datapoints]
|
|
363
363
|
|
|
364
|
-
return self.
|
|
364
|
+
return self._create_general_order(
|
|
365
365
|
name=name,
|
|
366
366
|
workflow=LocateWorkflow(target=instruction),
|
|
367
367
|
assets=assets,
|
|
@@ -403,7 +403,7 @@ class RapidataOrderManager:
|
|
|
403
403
|
|
|
404
404
|
assets = [MediaAsset(path=path) for path in datapoints]
|
|
405
405
|
|
|
406
|
-
return self.
|
|
406
|
+
return self._create_general_order(
|
|
407
407
|
name=name,
|
|
408
408
|
workflow=DrawWorkflow(target=instruction),
|
|
409
409
|
assets=assets,
|
|
@@ -448,7 +448,7 @@ class RapidataOrderManager:
|
|
|
448
448
|
if not asset.get_duration():
|
|
449
449
|
raise ValueError("The datapoints for this order must have a duration. (e.g. video or audio)")
|
|
450
450
|
|
|
451
|
-
return self.
|
|
451
|
+
return self._create_general_order(
|
|
452
452
|
name=name,
|
|
453
453
|
workflow=TimestampWorkflow(
|
|
454
454
|
instruction=instruction
|
|
@@ -397,7 +397,7 @@ rapidata/rapidata_client/order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
397
397
|
rapidata/rapidata_client/order/_rapidata_dataset.py,sha256=t1OFfHXz3Pe0S8qVGdReZm4aGVvxpVWH-VUgfnNtcgQ,5300
|
|
398
398
|
rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=N6mqmgneJSsb_no_Ps9BG3EhDekLgKxFYpjDCN-VVeg,13095
|
|
399
399
|
rapidata/rapidata_client/order/rapidata_order.py,sha256=Yf-GSlkFRRnC_dOh6VKKO_XJENu7sym77iO6u-q0R2Y,8497
|
|
400
|
-
rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=
|
|
400
|
+
rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=I1Gk0lChJQYH7Qm7Y0ceX9BV9vs_a6GzBoKt8p_X_cE,27193
|
|
401
401
|
rapidata/rapidata_client/rapidata_client.py,sha256=A9mnSX6wzVF9TxS1YH87hTi4jCn75dIuP3KZj5Y_vFg,1957
|
|
402
402
|
rapidata/rapidata_client/referee/__init__.py,sha256=q0Hv9nmfEpyChejtyMLT8hWKL0vTTf_UgUXPYNJ-H6M,153
|
|
403
403
|
rapidata/rapidata_client/referee/_base_referee.py,sha256=MdFOhdxt3sRnWXLDKLJZKFdVpjBGn9jypPnWWQ6msQA,496
|
|
@@ -445,7 +445,7 @@ rapidata/service/credential_manager.py,sha256=Of0BQs_V1T7rkrWX9groLX790nOknaARwn
|
|
|
445
445
|
rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
|
|
446
446
|
rapidata/service/openapi_service.py,sha256=Z4NrAuilLlIWBdGOv6otz36tHS_vvU36w5jmvOUTmqo,3198
|
|
447
447
|
rapidata/service/token_manager.py,sha256=JZ5YbR5Di8dO3H4kK11d0kzWlrXxjgCmeNkHA4AapCM,6425
|
|
448
|
-
rapidata-2.7.
|
|
449
|
-
rapidata-2.7.
|
|
450
|
-
rapidata-2.7.
|
|
451
|
-
rapidata-2.7.
|
|
448
|
+
rapidata-2.7.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
449
|
+
rapidata-2.7.1.dist-info/METADATA,sha256=9oASXys_fZTGsOE2ewEGzvb3LPEk1JvCvMEnTR0sqjw,1107
|
|
450
|
+
rapidata-2.7.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
451
|
+
rapidata-2.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|