Skip to content

Commit 1f8be82

Browse files
add 'layers' to api
1 parent 3f698b7 commit 1f8be82

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

scaleapi/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
'fields', 'choices'},
1515
'annotation': {'attachment', 'attachment_type', 'instruction',
1616
'objects_to_annotate', 'with_labels', 'examples',
17-
'min_width', 'min_height'},
17+
'min_width', 'min_height', 'layers'},
1818
'polygonannotation': {'attachment', 'attachment_type', 'instruction',
19-
'objects_to_annotate', 'with_labels', 'examples'},
19+
'objects_to_annotate', 'with_labels', 'layers'},
2020
'lineannotation': {'attachment', 'attachment_type', 'instruction',
21-
'objects_to_annotate', 'with_labels', 'examples', 'splines'},
21+
'objects_to_annotate', 'with_labels', 'splines', 'layers'},
22+
'cuboidannotation': {'attachment', 'attachment_type', 'instruction',
23+
'objects_to_annotate', 'min_width', 'min_height', 'with_labels', 'layers'},
2224
'datacollection': {'attachment', 'attachment_type', 'fields'},
2325
'audiotranscription': {'attachment', 'attachment_type', 'verbatim', 'phrases'}}
2426
SCALE_ENDPOINT = 'https://api.scaleapi.com/v1/'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
setup(
2626
name = 'scaleapi',
2727
packages = ['scaleapi'],
28-
version = '0.1.9',
28+
version = '0.1.10',
2929
description = 'The official Python client library for the Scale API, the API for human labor.',
3030
author = 'Calvin Huang',
3131
author_email = 'c@lvin.me',
3232
url = 'https://github.com/scaleapi/scaleapi-python-client',
33-
download_url = 'https://github.com/scaleapi/scaleapi-python-client/tarball/0.1.9',
33+
download_url = 'https://github.com/scaleapi/scaleapi-python-client/tarball/0.1.10',
3434
keywords = ['scale', 'scaleapi', 'humans', 'tasks', 'categorization', 'transcription', 'annotation', 'comparison', 'data collection', 'phone call', 'audio transcription'],
3535
install_requires = install_requires,
3636
classifiers = ['Programming Language :: Python :: 2.7',

0 commit comments

Comments
 (0)