Skip to content

Commit 729e0f9

Browse files
authored
Merge pull request #40 from fastlabel/hotfix/remove-in-progress-status
remove in progress status
2 parents aa0bc6e + f6a29a5 commit 729e0f9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ tasks = client.get_image_tasks(project="YOUR_PROJECT_SLUG")
127127
```python
128128
tasks = client.get_image_tasks(
129129
project="YOUR_PROJECT_SLUG",
130-
status="approved", # status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'
130+
status="approved", # status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'
131131
tags=["tag1", "tag2"] # up to 10 tags
132132
)
133133
```

fastlabel/__init__.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def get_image_tasks(
116116
Returns up to 1000 at a time, to get more, set offset as the starting position to fetch.
117117
118118
project is slug of your project. (Required)
119-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
119+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
120120
tags is a list of tag. (Optional)
121121
task_name is a task name. (Optional)
122122
offset is the starting position number to fetch. (Optional)
@@ -153,7 +153,7 @@ def get_image_classification_tasks(
153153
Returns up to 1000 at a time, to get more, set offset as the starting position to fetch.
154154
155155
project is slug of your project. (Required)
156-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
156+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
157157
tags is a list of tag. (Optional)
158158
offset is the starting position number to fetch. (Optional)
159159
limit is the max number to fetch. (Optional)
@@ -186,7 +186,7 @@ def get_multi_image_tasks(
186186
Returns up to 10 at a time, to get more, set offset as the starting position to fetch.
187187
188188
project is slug of your project. (Required)
189-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
189+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
190190
tags is a list of tag. (Optional)
191191
offset is the starting position number to fetch. (Optional)
192192
limit is the max number to fetch. (Optional)
@@ -222,7 +222,7 @@ def get_video_tasks(
222222
Returns up to 10 at a time, to get more, set offset as the starting position to fetch.
223223
224224
project is slug of your project. (Required)
225-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
225+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
226226
tags is a list of tag. (Optional)
227227
task_name is a task name. (Optional)
228228
offset is the starting position number to fetch. (Optional)
@@ -290,7 +290,7 @@ def create_image_task(
290290
project is slug of your project. (Required)
291291
name is an unique identifier of task in your project. (Required)
292292
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
293-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
293+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
294294
annotations is a list of annotation to be set in advance. (Optional)
295295
tags is a list of tag to be set in advance. (Optional)
296296
"""
@@ -325,7 +325,7 @@ def create_image_classification_task(
325325
project is slug of your project. (Required)
326326
name is an unique identifier of task in your project. (Required)
327327
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
328-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
328+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
329329
attributes is a list of attribute to be set in advance. (Optional)
330330
tags is a list of tag to be set in advance. (Optional)
331331
"""
@@ -358,7 +358,7 @@ def create_multi_image_task(
358358
project is slug of your project. (Required)
359359
name is an unique identifier of task in your project. (Required)
360360
folder_path is a path to data folder. Files should be under the folder. Nested folder structure is not supported. Supported extensions of files are png, jpg, jpeg. (Required)
361-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
361+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
362362
annotations is a list of annotation to be set in advance. (Optional)
363363
tags is a list of tag to be set in advance. (Optional)
364364
"""
@@ -402,7 +402,7 @@ def create_video_task(
402402
project is slug of your project. (Required)
403403
name is an unique identifier of task in your project. (Required)
404404
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
405-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
405+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
406406
annotations is a list of annotation to be set in advance. (Optional)
407407
tags is a list of tag to be set in advance. (Optional)
408408
"""
@@ -434,7 +434,7 @@ def update_task(
434434
Update a single task.
435435
436436
task_id is an id of the task. (Required)
437-
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
437+
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
438438
tags is a list of tag to be set. (Optional)
439439
"""
440440
endpoint = "tasks/" + task_id

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="fastlabel",
11-
version="0.9.1",
11+
version="0.9.2",
1212
author="eisuke-ueta",
1313
author_email="eisuke.ueta@fastlabel.ai",
1414
description="The official Python SDK for FastLabel API, the Data Platform for AI",

0 commit comments

Comments
 (0)