From f6a29a5ec729429261eee6a43a956c01291da052 Mon Sep 17 00:00:00 2001 From: ueta-eisuke Date: Sun, 20 Jun 2021 11:04:12 +0900 Subject: [PATCH] remove in progress status --- README.md | 2 +- fastlabel/__init__.py | 18 +++++++++--------- setup.py | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1ac723b..7b17872 100644 --- a/README.md +++ b/README.md @@ -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 ) ``` diff --git a/fastlabel/__init__.py b/fastlabel/__init__.py index 411868e..4f4816b 100644 --- a/fastlabel/__init__.py +++ b/fastlabel/__init__.py @@ -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) @@ -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) @@ -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) @@ -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) @@ -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) """ @@ -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) """ @@ -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) """ @@ -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) """ @@ -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 diff --git a/setup.py b/setup.py index d1bdbb4..500d6c6 100644 --- a/setup.py +++ b/setup.py @@ -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",