Skip to content

Commit 1a51307

Browse files
committed
Update docstrings
1 parent fed8f47 commit 1a51307

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

superannotate/db/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def set_image_annotation_status(project, image_name, annotation_status):
189189
:param project: project name or folder path (e.g., "project1/folder1")
190190
:type project: str
191191
:param image_name: image name
192-
:type image: str
192+
:type image_name: str
193193
:param annotation_status: annotation status to set,
194194
should be one of NotStarted InProgress QualityCheck Returned Completed Skipped
195195
:type annotation_status: str

superannotate/db/project_api.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,16 @@ def rename_folder(project, new_folder_name):
241241

242242

243243
def set_images_annotation_statuses(project, image_names, annotation_status):
244+
"""Sets annotation statuses of images
245+
246+
:param project: project name or folder path (e.g., "project1/folder1")
247+
:type project: str
248+
:param image_names: image names
249+
:type image_names: list of str
250+
:param annotation_status: annotation status to set,
251+
should be one of NotStarted InProgress QualityCheck Returned Completed Skipped
252+
:type annotation_status: str
253+
"""
244254
NUM_TO_SEND = 500
245255
project, project_folder = get_project_and_folder_metadata(project)
246256
params = {"team_id": project["team_id"], "project_id": project["id"]}

0 commit comments

Comments
 (0)