Skip to content

Commit 49c1fc8

Browse files
authored
Merge pull request #833 from superannotateai/develop
Develop
2 parents 15430ce + d4dde0c commit 49c1fc8

73 files changed

Lines changed: 1276 additions & 2118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ History
66

77
All release highlights of this project will be documented in this file.
88

9+
4.5.2 - March 1, 2026
10+
________________________
11+
12+
**Added**
13+
14+
- ``SAClient.delete_exports()`` Enables deletion of project export files directly from the platform.
15+
16+
- ``SAClient.update_annotation_class()`` Allows updating attribute groups and attributes within an existing annotation class in a project.
17+
18+
- ``SAClient.get_annotation_class()`` Retrieves metadata of a specific annotation class defined in a project.
19+
20+
**Updated**
21+
22+
- ``SAClient.list_users()`` Added support for filtering users by project role.
923

1024
4.5.1 - February 5, 2026
1125
________________________

docs/source/api_reference/api_annotation_class.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Annotation Classes
55
.. automethod:: superannotate.SAClient.create_annotation_class
66
.. _ref_create_annotation_classes_from_classes_json:
77
.. automethod:: superannotate.SAClient.create_annotation_classes_from_classes_json
8+
.. automethod:: superannotate.SAClient.get_annotation_class
9+
.. automethod:: superannotate.SAClient.update_annotation_class
810
.. automethod:: superannotate.SAClient.search_annotation_classes
911
.. automethod:: superannotate.SAClient.download_annotation_classes_json
1012
.. automethod:: superannotate.SAClient.delete_annotation_class

docs/source/api_reference/api_export.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Exports
77
.. _ref_download_export:
88
.. automethod:: superannotate.SAClient.download_export
99
.. automethod:: superannotate.SAClient.get_exports
10+
.. automethod:: superannotate.SAClient.delete_exports

docs/source/api_reference/api_metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Project metadata example:
1818
"creator_id": "admin@superannotate.com",
1919
"updatedAt": "2020-08-31T05:43:43.118Z",
2020
"createdAt": "2020-08-31T05:43:43.118Z"
21-
"type": "Vector", # Pixel, Video, Multimodal
21+
"type": "Vector", # Video, Multimodal
2222
"attachment_name": None,
2323
"attachment_path": None,
2424
"entropy_status": 1,

docs/source/api_reference/helpers.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ _________________________________________________________________
1212
.. _ref_import_annotation_format:
1313
.. autofunction:: superannotate.import_annotation
1414
.. autofunction:: superannotate.export_annotation
15-
.. autofunction:: superannotate.convert_project_type
1615

1716
----------
1817

docs/source/cli_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To create a new project:
4242

4343
.. code-block:: bash
4444
45-
superannotatecli create-project --name <project_name> --description <project_description> --type <project_type Vector or Pixel>
45+
superannotatecli create-project --name <project_name> --description <project_description> --type <project_type Vector>
4646
4747
----------
4848

docs/source/userguide/SDK_Functions_sheet.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Team,get_team_metadata(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not
8181
"Converting
8282
Annotations",import_annotation(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not Relevant
8383
,export_annotation(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not Relevant
84-
,convert_project_type(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not Relevant
8584
"Working w/
8685
Annotations",validate_annotations(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not Relevant
8786
,aggregate_annotations_as_df(),Not Relevant,Not Relevant,Not Relevant,Not Relevant,Not Relevant

docs/source/userguide/setup_project.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,7 @@ you are uploading to should contain annotation class with that name.
249249
250250
251251
This will try uploading to the project all the JSON files in the folder that have :file:`"<image_name>.json"` postfix.
252-
For pixel projects JSON files should be named :file:`"<image_name>___pixel.json"` and also for
253-
each JSON a mask image file should be present with the name
254-
:file:`"<image_name>___save.png"`. Image with :file:`<image_name>` should
252+
Image with :file:`<image_name>` should
255253
already be present in the project for the upload to work.
256254

257255

docs/source/userguide/utilities.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can find more information annotation format conversion :ref:`here <ref_conve
4040
export_annotation(
4141
"tests/converter_test/COCO/input/fromSuperAnnotate/cats_dogs_panoptic_segm",
4242
"tests/converter_test/COCO/output/panoptic",
43-
"COCO", "panoptic_test", "Pixel","panoptic_segmentation"
43+
"COCO", "panoptic_test","panoptic_segmentation"
4444
)
4545
4646
# From COCO keypoints detection format to SA annotation format
@@ -54,7 +54,7 @@ You can find more information annotation format conversion :ref:`here <ref_conve
5454
import_annotation(
5555
"tests/converter_test/VOC/input/fromPascalVOCToSuperAnnotate/VOC2012",
5656
"tests/converter_test/VOC/output/instances",
57-
"VOC", "instances_test", "Pixel", "instance_segmentation"
57+
"VOC", "instances_test", "instance_segmentation"
5858
)
5959
6060
# YOLO annotation format to SA annotation format

src/superannotate/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55

6-
__version__ = "4.5.1"
6+
__version__ = "4.5.2"
77

88

99
os.environ.update({"sa_version": __version__})
@@ -17,7 +17,6 @@
1717
from lib.core import PACKAGE_VERSION_MAJOR_UPGRADE
1818
from lib.core.exceptions import AppException
1919
from lib.core.exceptions import FileChangedError
20-
from superannotate.lib.app.input_converters import convert_project_type
2120
from superannotate.lib.app.input_converters import export_annotation
2221
from superannotate.lib.app.input_converters import import_annotation
2322
from superannotate.lib.app.interface.sdk_interface import SAClient
@@ -37,7 +36,6 @@
3736
"FileChangedError",
3837
"import_annotation",
3938
"export_annotation",
40-
"convert_project_type",
4139
]
4240

4341
__author__ = "Superannotate"

0 commit comments

Comments
 (0)