File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 22import sys
33
44
5- __version__ = "4.4.5dev10 "
5+ __version__ = "4.4.5b2 "
66
77sys .path .append (os .path .split (os .path .realpath (__file__ ))[0 ])
88
Original file line number Diff line number Diff line change @@ -1515,7 +1515,7 @@ def upload_annotations(
15151515 :param annotations: list of annotation dictionaries corresponding to SuperAnnotate format
15161516 :type annotations: list of dicts
15171517
1518- :param keep_status: If False, the annotation status will be automatically
1518+ :param keep_status: If False, the annotation status will be automatically
15191519 updated to "InProgress," otherwise the current status will be kept.
15201520 :type keep_status: bool
15211521
@@ -1526,9 +1526,9 @@ def upload_annotations(
15261526 Response Example:
15271527 ::
15281528 {
1529- "succeeded": ["" ],
1530- "failed":["" ],
1531- "skipped": ["" ]
1529+ "succeeded": [],
1530+ "failed":[],
1531+ "skipped": []
15321532 }
15331533
15341534 """
@@ -3274,9 +3274,12 @@ def add_items_to_subset(
32743274 :param subset: a name of an existing/new subset to associate items with. New subsets will be automatically created.
32753275 :type subset: str
32763276
3277- :param items: – list of items metadata. Required keys are 'name' and 'path' if the 'id' key is not provided in the dict.
3277+ :param items: list of items metadata. Required keys are 'name' and 'path' if the 'id' key is not provided in the dict.
32783278 :type items: list of dicts
32793279
3280+ :return: dictionary with succeeded, skipped and failed items lists.
3281+ :rtype: dict
3282+
32803283 Request Example:
32813284 ::
32823285 client = SAClient()
@@ -3292,7 +3295,7 @@ def add_items_to_subset(
32923295 subset="Brain Study - Disapproved",
32933296 items=queried_items
32943297 )
3295-
3298+ # option 2
32963299 items_list = [
32973300 {
32983301 'name': 'image_1.jpeg',
You can’t perform that action at this time.
0 commit comments