Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/superannotate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import sys


__version__ = "4.4.32"
__version__ = "4.4.32dev3"


os.environ.update({"sa_version": __version__})
sys.path.append(os.path.split(os.path.realpath(__file__))[0])
Expand Down
5 changes: 4 additions & 1 deletion src/superannotate/lib/app/interface/sdk_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,8 @@ def prepare_export(

- integration_name: The name of the integration within the platform that is being used.
- format: The format in which the data will be exported in multimodal projects.
It can be either CSV or JSON. If None, the data will be exported in the default JSON format.
The data can be exported in CSV, JSON, or JSONL format. If None, the data will be exported
in the default JSON format.
:return: metadata object of the prepared export
:rtype: dict

Expand Down Expand Up @@ -1715,6 +1716,8 @@ def prepare_export(
export_type = export_type.lower()
if export_type == "csv":
_export_type = 3
elif export_type == "jsonl":
_export_type = 4
response = self.controller.prepare_export(
project_name=project_name,
folder_names=folders,
Expand Down
4 changes: 3 additions & 1 deletion src/superannotate/lib/infrastructure/annotation_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def get_component_value(self, component_id: str):
return None

def set_component_value(self, component_id: str, value: Any):
self.annotation.setdefault("data", {}).setdefault(component_id, {})["value"] = value
self.annotation.setdefault("data", {}).setdefault(component_id, {})[
"value"
] = value
return self


Expand Down