Skip to content

Commit 9d0a256

Browse files
authored
Merge pull request #671 from superannotateai/FRIDAY_2578
Docs update
2 parents 55086ca + 06a776e commit 9d0a256

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,20 @@ def attach_items(
25592559
attachments = [{"name": "item", "url": "https://..."}]
25602560
)
25612561
2562+
Example of attaching items from custom integration:
2563+
::
2564+
client = SAClient()
2565+
client.attach_items(
2566+
project = "Medical Annotations",
2567+
attachments = [
2568+
{
2569+
"name": "item",
2570+
"url": "https://sa-public-files.s3.../text_file_example_1.jpeg"
2571+
"integration": "custom-integration"
2572+
}
2573+
]
2574+
)
2575+
25622576
"""
25632577

25642578
project_name, folder_name = extract_project_folder(project)

0 commit comments

Comments
 (0)