Skip to content

Commit 2c9f985

Browse files
committed
Doc string fix
1 parent d62c7f1 commit 2c9f985

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3012,7 +3012,7 @@ def attach_items(
30123012
:type project: str
30133013
30143014
:param attachments: path to CSV file or list of dicts containing attachments URLs.
3015-
:type project: path-like (str or Path) or list of dicts
3015+
:type attachments: path-like (str or Path) or list of dicts
30163016
30173017
:param annotation_status: value to set the annotation statuses of the linked items
30183018
“NotStarted”
@@ -3022,8 +3022,6 @@ def attach_items(
30223022
“Completed”
30233023
“Skipped”
30243024
:type annotation_status: str
3025-
3026-
:return: None
30273025
"""
30283026
attachments = attachments.data
30293027
project_name, folder_name = extract_project_folder(project)
@@ -3151,7 +3149,7 @@ def move_items(
31513149
def set_annotation_statuses(
31523150
project: Union[NotEmptyStr, dict],
31533151
annotation_status: AnnotationStatuses,
3154-
item_names: Optional[List[NotEmptyStr]] = None,
3152+
items: Optional[List[NotEmptyStr]] = None,
31553153
):
31563154
"""Sets annotation statuses of items
31573155
@@ -3167,18 +3165,16 @@ def set_annotation_statuses(
31673165
“Skipped”
31683166
:type annotation_status: str
31693167
3170-
:param item_names: item names to set the mentioned status for. If None, all the items in the project will be used.
3171-
:type item_names: str
3172-
3173-
:return: None
3168+
:param items: item names to set the mentioned status for. If None, all the items in the project will be used.
3169+
:type items: str
31743170
"""
31753171

31763172
project_name, folder_name = extract_project_folder(project)
31773173
response = Controller.get_default().set_annotation_statuses(
31783174
project_name=project_name,
31793175
folder_name=folder_name,
31803176
annotation_status=annotation_status,
3181-
item_names=item_names,
3177+
item_names=items,
31823178
)
31833179
if response.errors:
31843180
raise AppException(response.errors)

src/superannotate/version.py

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

0 commit comments

Comments
 (0)