Skip to content

Commit 2e17588

Browse files
committed
Add support for tags and unique_id task retrieval
1 parent 591aa40 commit 2e17588

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
.tox
55
.cache
66
/.vscode/
7+
.DS_Store

scaleapi/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ def tasks(self, **kwargs):
143143
"""
144144
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'project',
145145
'batch', 'limit', 'offset', 'completed_before', 'completed_after',
146-
'next_token', 'customer_review_status', 'updated_before', 'updated_after'}
146+
'next_token', 'customer_review_status', 'updated_before', 'updated_after',
147+
'tags', 'unique_id'}
147148
for key in kwargs:
148149
if key not in allowed_kwargs:
149150
raise ScaleInvalidRequest('Illegal parameter %s for ScaleClient.tasks()'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
setup(
2929
name='scaleapi',
3030
packages=['scaleapi'],
31-
version='1.0.1',
31+
version='1.0.2',
3232
description='The official Python client library for Scale AI, the Data Platform for AI',
3333
author='Scale AI',
3434
author_email='support@scale.com',

0 commit comments

Comments
 (0)