Skip to content

Commit a654717

Browse files
committed
doc string fix
1 parent b205a64 commit a654717

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,7 +3006,25 @@ def attach_items(
30063006
attachments: AttachmentArg,
30073007
annotation_status: Optional[AnnotationStatuses] = "NotStarted",
30083008
):
3009+
"""Link items from external storage to SuperAnnotate using URLs.
30093010
3011+
:param project: project name or folder path (e.g., “project1/folder1”)
3012+
:type project: str
3013+
3014+
: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
3016+
3017+
:param annotation_status: value to set the annotation statuses of the linked items
3018+
“NotStarted”
3019+
“InProgress”
3020+
“QualityCheck”
3021+
“Returned”
3022+
“Completed”
3023+
“Skipped”
3024+
:type annotation_status: str
3025+
3026+
:return: None
3027+
"""
30103028
attachments = attachments.data
30113029
project_name, folder_name = extract_project_folder(project)
30123030
if attachments and isinstance(attachments[0], AttachmentDict):

0 commit comments

Comments
 (0)