File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/superannotate/lib/app/interface Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments