rapidata 2.36.2__py3-none-any.whl → 2.37.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.

rapidata/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "2.36.2"
1
+ __version__ = "2.37.0"
2
2
 
3
3
  from .rapidata_client import (
4
4
  RapidataClient,
@@ -428,6 +428,8 @@ class RapidataOrderManager:
428
428
  datapoints: list[str],
429
429
  data_type: Literal["media", "text"] = "media",
430
430
  responses_per_datapoint: int = 10,
431
+ contexts: list[str] | None = None,
432
+ media_contexts: list[str] | None = None,
431
433
  filters: Sequence[RapidataFilter] = [],
432
434
  settings: Sequence[RapidataSetting] = [],
433
435
  selections: Sequence[RapidataSelection] = [],
@@ -445,6 +447,12 @@ class RapidataOrderManager:
445
447
  data_type (str, optional): The data type of the datapoints. Defaults to "media" (any form of image, video or audio). \n
446
448
  Other option: "text".
447
449
  responses_per_datapoint (int, optional): The number of responses that will be collected per datapoint. Defaults to 10.
450
+ contexts (list[str], optional): The list of contexts for the free text. Defaults to None.\n
451
+ If provided has to be the same length as datapoints and will be shown in addition to the instruction. (Therefore will be different for each datapoint)
452
+ Will be matched up with the datapoints using the list index.
453
+ media_contexts (list[str], optional): The list of media contexts for the free text i.e links to the images / videos. Defaults to None.\n
454
+ If provided has to be the same length as datapoints and will be shown in addition to the instruction. (Therefore will be different for each datapoint)
455
+ Will be matched up with the datapoints using the list index.
448
456
  filters (Sequence[RapidataFilter], optional): The list of filters for the free text. Defaults to []. Decides who the tasks should be shown to.
449
457
  settings (Sequence[RapidataSetting], optional): The list of settings for the free text. Defaults to []. Decides how the tasks should be shown.
450
458
  selections (Sequence[RapidataSelection], optional): The list of selections for the free text. Defaults to []. Decides in what order the tasks should be shown.
@@ -467,6 +475,8 @@ class RapidataOrderManager:
467
475
  workflow=FreeTextWorkflow(instruction=instruction),
468
476
  assets=assets,
469
477
  responses_per_datapoint=responses_per_datapoint,
478
+ contexts=contexts,
479
+ media_contexts=media_contexts,
470
480
  filters=filters,
471
481
  selections=selections,
472
482
  settings=settings,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rapidata
3
- Version: 2.36.2
3
+ Version: 2.37.0
4
4
  Summary: Rapidata package containing the Rapidata Python Client to interact with the Rapidata Web API in an easy way.
5
5
  License: Apache-2.0
6
6
  Author: Rapidata AG
@@ -1,4 +1,4 @@
1
- rapidata/__init__.py,sha256=t-R51OVuVArBB4ZOC47TjnvGMpNz3UwFlXPeNFbsgco,926
1
+ rapidata/__init__.py,sha256=okzllxljz32AETdonmhH_V37FZ448_INNZ6dzzFN9gI,926
2
2
  rapidata/api_client/__init__.py,sha256=uOR7nm9O8X5MM6EP1TJjwO26bsLzzmrin0nzNWRPArg,36221
3
3
  rapidata/api_client/api/__init__.py,sha256=07qqwzQiBYt5V2BtnzbXhZL2cmVHATyZmCSGshIXLck,1603
4
4
  rapidata/api_client/api/benchmark_api.py,sha256=hSrlnQ_RDWO0D7SdAN-KVP3f4_c9yYTyG6nRabR70dU,142018
@@ -627,7 +627,7 @@ rapidata/rapidata_client/order/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
627
627
  rapidata/rapidata_client/order/_rapidata_dataset.py,sha256=yGdQVbQz8VONMchCyqE3ymsufLhpolzu3UghA1dUiZs,17665
628
628
  rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=ecK-7dPHfoDTyYdgg9xjNn5cbsDAuJ-_E7YEvKD1VYc,15634
629
629
  rapidata/rapidata_client/order/rapidata_order.py,sha256=oKAKs7PgOhCyVIYbKPcdUTwSttvVpoFx8_KAe2V6veI,13714
630
- rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=UJ1xApSo8wyK0uCws7Q76u0lBOaLaqJygw2egKGBG1E,39208
630
+ rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=_mED94EkR6ybvc98Bmei5FkN-8big-ifdc7U_qJA9Kw,40115
631
631
  rapidata/rapidata_client/order/rapidata_results.py,sha256=ZY0JyHMBZlR6-t6SqKt2OLEO6keR_KvKg9Wk6_I29x4,8653
632
632
  rapidata/rapidata_client/rapidata_client.py,sha256=t35LjDjj4DEtSmkASIYvGOhzFP3JEVPYLwTwIpQd3Wk,4555
633
633
  rapidata/rapidata_client/referee/__init__.py,sha256=q0Hv9nmfEpyChejtyMLT8hWKL0vTTf_UgUXPYNJ-H6M,153
@@ -681,7 +681,7 @@ rapidata/service/__init__.py,sha256=s9bS1AJZaWIhLtJX_ZA40_CK39rAAkwdAmymTMbeWl4,
681
681
  rapidata/service/credential_manager.py,sha256=ULpsE-nGz4VlvKQt0LDqqsgIjwd0N1rhEDWFs5mAdPc,8699
682
682
  rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
683
683
  rapidata/service/openapi_service.py,sha256=AsGYG-HOnBxDj76oR7OODjPDYs6LwjgUDgLkWEEaMDI,5482
684
- rapidata-2.36.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
685
- rapidata-2.36.2.dist-info/METADATA,sha256=3hyS9QJFXPAGO9QmRKPnenglJMByX5KBh7VyjyvVjt0,1264
686
- rapidata-2.36.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
687
- rapidata-2.36.2.dist-info/RECORD,,
684
+ rapidata-2.37.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
685
+ rapidata-2.37.0.dist-info/METADATA,sha256=bk-29G61IXzlqXE0DyXVtCGCtgcNJaroT1bVdvUwDws,1264
686
+ rapidata-2.37.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
687
+ rapidata-2.37.0.dist-info/RECORD,,