Project¶
The project class has the following attributes:
project_id: str
title: str
description: str
organization_id: str
progress: {total, completed}
owner: {name, user_id}
is_auto_assign_tasks: bool
It has the following properties:
image_datasets: It is a list of all gallery folders in label
video_datasets: It is a list of all video folders in label
label_map: It is a list of all LabelMaps in the project
members: It is a list of all members in the project
The projects can be fetched from project_id and search_params.
To get a project using project_id can use the Project.from_project_id() function:
- Project.from_project_id(project_id, client)¶
Return the project object from the project_id.
- Parameters:
project_id (str) – project_id of the user.
client (deeplabel.client.BaseClient) – token of the user.
- Returns:
Project object
- Return type:
Project
To get a project using search_params can use the Project.from_search_params() function:
- Project.from_search_params(params, client)¶
Return the project object from the params.
- Parameters:
params (dict) – params of the user.
client (deeplabel.client.BaseClient) – token of the user.
- Returns:
Project object
- Return type:
Project