Skip to content

Commit 76287bf

Browse files
committed
add tasks to client lib
1 parent 9fcfd4a commit 76287bf

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

scaleapi/__init__.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,16 @@
1717
'min_width', 'min_height', 'layers'},
1818
'polygonannotation': {'attachment', 'attachment_type', 'instruction',
1919
'objects_to_annotate', 'with_labels', 'layers'},
20-
'lineannotation': {'attachment', 'attachment_type', 'instruction',
21-
'objects_to_annotate', 'with_labels', 'splines', 'layers'},
2220
'cuboidannotation': {'attachment', 'attachment_type', 'instruction',
2321
'objects_to_annotate', 'min_width', 'min_height', 'with_labels', 'layers'},
24-
'datacollection': {'attachment', 'attachment_type', 'fields'},
2522
'audiotranscription': {'attachment', 'attachment_type', 'verbatim', 'phrases'}
2623
'annotation': {'attachment', 'attachment_type', 'instruction', 'objects_to_annotate', 'with_labels', 'examples', 'min_width', 'min_height', 'layers', 'annotation_attributes'},
2724
'polygonannotation': {'attachment', 'attachment_type', 'instruction', 'objects_to_annotate', 'with_labels', 'examples', 'layers', 'annotation_attributes'},
28-
'lineannotation':
29-
{'attachment', 'attachment_type', 'instruction', 'objects_to_annotate', 'with_labels', 'examples', 'splines', 'layers', 'annotation_attributes'},
30-
'datacollection': {'attachment', 'attachment_type', 'fields'},
31-
'audiotranscription': {'attachment', 'attachment_type', 'verbatim'},
32-
'pointannotation': {'attachment_type','attachment', 'objects_to_annotate','with_labels', 'examples', 'layers','annotation_attributes'},
33-
'segmentannotation': {'attachment_type','attachment', 'labels', 'allow_unlabeled'}}
25+
'lineannotation':
26+
{'attachment', 'attachment_type', 'instruction', 'objects_to_annotate', 'with_labels', 'examples', 'splines', 'layers', 'annotation_attributes'},
27+
'datacollection': {'attachment', 'attachment_type', 'fields'},
28+
'pointannotation': {'attachment_type','attachment', 'objects_to_annotate','with_labels', 'examples', 'layers','annotation_attributes'},
29+
'segmentannotation': {'attachment_type','attachment', 'labels', 'allow_unlabeled'}}
3430
SCALE_ENDPOINT = 'https://api.scaleapi.com/v1/'
3531
DEFAULT_LIMIT = 100
3632
DEFAULT_OFFSET = 0

0 commit comments

Comments
 (0)