Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ tasks = client.get_image_tasks(project="YOUR_PROJECT_SLUG")
```python
tasks = client.get_image_tasks(
project="YOUR_PROJECT_SLUG",
status="approved", # status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'
status="approved", # status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'
tags=["tag1", "tag2"] # up to 10 tags
)
```
Expand Down
18 changes: 9 additions & 9 deletions fastlabel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_image_tasks(
Returns up to 1000 at a time, to get more, set offset as the starting position to fetch.

project is slug of your project. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
tags is a list of tag. (Optional)
task_name is a task name. (Optional)
offset is the starting position number to fetch. (Optional)
Expand Down Expand Up @@ -153,7 +153,7 @@ def get_image_classification_tasks(
Returns up to 1000 at a time, to get more, set offset as the starting position to fetch.

project is slug of your project. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
tags is a list of tag. (Optional)
offset is the starting position number to fetch. (Optional)
limit is the max number to fetch. (Optional)
Expand Down Expand Up @@ -186,7 +186,7 @@ def get_multi_image_tasks(
Returns up to 10 at a time, to get more, set offset as the starting position to fetch.

project is slug of your project. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
tags is a list of tag. (Optional)
offset is the starting position number to fetch. (Optional)
limit is the max number to fetch. (Optional)
Expand Down Expand Up @@ -222,7 +222,7 @@ def get_video_tasks(
Returns up to 10 at a time, to get more, set offset as the starting position to fetch.

project is slug of your project. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
tags is a list of tag. (Optional)
task_name is a task name. (Optional)
offset is the starting position number to fetch. (Optional)
Expand Down Expand Up @@ -290,7 +290,7 @@ def create_image_task(
project is slug of your project. (Required)
name is an unique identifier of task in your project. (Required)
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
annotations is a list of annotation to be set in advance. (Optional)
tags is a list of tag to be set in advance. (Optional)
"""
Expand Down Expand Up @@ -325,7 +325,7 @@ def create_image_classification_task(
project is slug of your project. (Required)
name is an unique identifier of task in your project. (Required)
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
attributes is a list of attribute to be set in advance. (Optional)
tags is a list of tag to be set in advance. (Optional)
"""
Expand Down Expand Up @@ -358,7 +358,7 @@ def create_multi_image_task(
project is slug of your project. (Required)
name is an unique identifier of task in your project. (Required)
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)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
annotations is a list of annotation to be set in advance. (Optional)
tags is a list of tag to be set in advance. (Optional)
"""
Expand Down Expand Up @@ -402,7 +402,7 @@ def create_video_task(
project is slug of your project. (Required)
name is an unique identifier of task in your project. (Required)
file_path is a path to data. Supported extensions are png, jpg, jpeg. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
annotations is a list of annotation to be set in advance. (Optional)
tags is a list of tag to be set in advance. (Optional)
"""
Expand Down Expand Up @@ -434,7 +434,7 @@ def update_task(
Update a single task.

task_id is an id of the task. (Required)
status can be 'registered', 'in_progress', 'completed', 'skipped', 'in_review', 'send_backed', 'approved', 'customer_in_review', 'customer_send_backed', 'customer_approved'. (Optional)
status can be 'registered', 'completed', 'skipped', 'send_backed', 'approved', 'customer_send_backed', 'customer_approved'. (Optional)
tags is a list of tag to be set. (Optional)
"""
endpoint = "tasks/" + task_id
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="fastlabel",
version="0.9.1",
version="0.9.2",
author="eisuke-ueta",
author_email="eisuke.ueta@fastlabel.ai",
description="The official Python SDK for FastLabel API, the Data Platform for AI",
Expand Down