Skip to content

Commit f551c13

Browse files
committed
merge with develop
2 parents 16a2e66 + a25b45d commit f551c13

File tree

6 files changed

+27
-7
lines changed

6 files changed

+27
-7
lines changed

.github/workflows/pre_release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ jobs:
2424
uses: pypa/gh-action-pypi-publish@master
2525
with:
2626
password: ${{ secrets.pypi_password }}
27-

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Changelog
22
All release higlighths of this project will be documented in this file.
3+
## 4.3.1 - March 20 2022
4+
### Added
5+
- `get_integrations()` to list all existing integrations with cloud storages.
6+
- `attach_items_from_integrated_storage()` to attach items from an integrated cloud storage.
7+
- `upload_priority_scores()` to set priority scores for a given list of items.
8+
### Updated
9+
- `JSON Schema` to version `1.0.40` to add instance type differentiation for text annotations and `"exclude"` key for subtracted polygon instances for image annotations.
10+
- `validate_annotations()` to validate text and image annotations based on JSON schema version `1.0.40`.
11+
- `get_annotations()` to get annotation instances based on JSON schema version `1.0.40`.
12+
- `prepare_export()` to prepare for the download annotations with based on JSON schema version `1.0.40`.
13+
- `upload_annotations_from_folder_to_project()` & `upload_preannotations_from_folder_to_project()` to handle upload based on JSON schema version `1.0.40`.
14+
- `create_project()` to add `"status"` key in returned metadata.
15+
- `get_project_metadata()` to add `"status"` key.
16+
- `create_project_from_project_metadata()` to make `"description"` key not required.
17+
- `clone_project()` to add generic `"description"`.
18+
### Fixed
19+
- `sa.get_annotations_per_frame()` to take correct attributes.
20+
- `sa.get_annotations_per_frame()` & `get_annotations()` to eliminate duplicate instances.
21+
###
322
## 4.3.0 - Feb 27 2022
423
### Added
524
- `get_annotations` to load annotations for the list of items.

requirements_prod.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
superannotate_schemas
1+
superannotate_schemas==1.0.40

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,8 +2879,7 @@ def attach_items_from_integrated_storage(
28792879
:type integration: str or dict
28802880
28812881
:param folder_path: Points to an exact folder/directory within given storage.
2882-
If None, items are fetched from the root directory.
2883-
2882+
If None, items are fetched from the root directory.
28842883
:type folder_path: str
28852884
"""
28862885
project_name, folder_name = extract_project_folder(project)

src/superannotate/lib/app/mixp/utils/parsers.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ def search_team_contributors(**kwargs):
4949

5050
def search_projects(**kwargs):
5151
project = kwargs.get("name")
52+
status = kwargs.get("status")
5253
return {
5354
"event_name": "search_projects",
5455
"properties": {
5556
"Metadata": bool(kwargs.get("return_metadata")),
5657
"project_name": get_project_name(project[0]) if project else None,
58+
"status": status
5759
},
5860
}
5961

@@ -209,13 +211,13 @@ def download_annotation_classes_json(**kwargs):
209211

210212
def search_annotation_classes(**kwargs):
211213
project = kwargs["project"]
212-
name_prefix = kwargs.get("name_prefix")
214+
name_contains = kwargs.get("name_contains")
213215

214216
return {
215217
"event_name": "search_annotation_classes",
216218
"properties": {
217219
"project_name": get_project_name(project),
218-
"Prefix": bool(name_prefix),
220+
"name_contains": bool(name_contains),
219221
},
220222
}
221223

@@ -946,7 +948,7 @@ def query(**kwargs):
946948
Controller.get_default().get_project_metadata(project_name).data["project"]
947949
)
948950
return {
949-
"event_name": "query_saqul",
951+
"event_name": "query",
950952
"properties": {
951953
"project_type": ProjectType.get_name(project.type),
952954
"query": query_str,

src/superannotate/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
__version__ = "4.3.3dev12"
2+

0 commit comments

Comments
 (0)