Skip to content

Commit 3da20c0

Browse files
committed
Schema updates
1 parent 9e44993 commit 3da20c0

File tree

6 files changed

+6
-13
lines changed

6 files changed

+6
-13
lines changed

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
superannotate_schemas>=v1.0.42dev1
1+
superannotate_schemas>=v1.0.42dev2
22

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@
4040
entry_points={
4141
'console_scripts': ['superannotatecli = superannotate.lib.app.bin.superannotate:main']
4242
},
43-
python_requires='>=3.7'
43+
python_requires='>=3.6'
4444
)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,12 +2896,13 @@ def attach_items_from_integrated_storage(
28962896
@Trackable
28972897
@validate_arguments
28982898
def query(project: NotEmptyStr, query: Optional[NotEmptyStr]):
2899-
"""Return items
2899+
"""Return items that satisfy the given query.
2900+
Query syntax should be in SuperAnnotate query language(https://doc.superannotate.com/docs/query-search-1).
29002901
29012902
:param project: project name or folder path (e.g., “project1/folder1”)
29022903
:type project: str
29032904
2904-
:param query: SAQuL(https://doc.superannotate.com/docs/query-search-1) query string.
2905+
:param query: SAQuL query string.
29052906
:type query: str
29062907
29072908
:return: queried items’ metadata list

src/superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.3.3dev10"
1+
__version__ = "4.3.3dev11"

tests/integration/test_depricated_functions_document.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ def test_deprecated_functions(self):
123123
sa.add_annotation_point_to_image(self.PROJECT_NAME, self.UPLOAD_IMAGE_NAME, [1, 2], "some class")
124124
except AppException as e:
125125
self.assertIn(self.EXCEPTION_MESSAGE, str(e))
126-
try:
127-
sa.consensus(self.PROJECT_NAME, ["some"], self.video_export_path)
128-
except AppException as e:
129-
self.assertIn(self.EXCEPTION_MESSAGE_DOCUMENT_VIDEO, str(e))
130126
try:
131127
sa.copy_images(self.PROJECT_NAME, [self.UPLOAD_IMAGE_NAME], self.PROJECT_NAME)
132128
except AppException as e:

tests/integration/test_depricated_functions_video.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ def test_deprecated_functions(self):
114114
sa.upload_preannotations_from_folder_to_project(self.PROJECT_NAME, self.folder_path)
115115
except AppException as e:
116116
self.assertIn(self.EXCEPTION_MESSAGE, str(e))
117-
try:
118-
sa.consensus(self.PROJECT_NAME, ["some"], self.video_export_path)
119-
except AppException as e:
120-
self.assertIn(self.EXCEPTION_MESSAGE_DOCUMENT_VIDEO, str(e))
121117
try:
122118
sa.copy_images(self.PROJECT_NAME, [self.UPLOAD_IMAGE_NAME], self.PROJECT_NAME)
123119
except AppException as e:

0 commit comments

Comments
 (0)