Skip to content

Commit 00b2cfe

Browse files
author
Val Brodsky
committed
Switch from task* fields to dataRows* fields
1 parent 591a3db commit 00b2cfe

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

libs/labelbox/src/labelbox/schema/labeling_service_dashboard.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
boostUpdatedAt
2020
boostRequestedBy
2121
boostStatus
22-
tasksCompletedCount
23-
tasksPercentCompleted
24-
tasksRemainingCount
25-
tasksTotalCount
22+
dataRowsCount
23+
dataRowsDoneCount
24+
dataRowsInReviewCount
25+
dataRowsInReworkCount
2626
mediaType
2727
editorTaskType
2828
tags
@@ -44,9 +44,8 @@ class LabelingServiceDashboard(BaseModel):
4444
id (str): project id
4545
name (str): project name
4646
status (LabelingServiceStatus): status of the labeling service
47-
tasks_completed_count (int): number of data rows completed
48-
tasks_remaining_count (int): number of data rows that have not started
49-
tasks_total_count (int): total number of data rows in the project
47+
data_rows_count (int): total number of data rows in the project
48+
data_rows_done_count (int): number of data rows completed
5049
tags (List[LabelingServiceDashboardTags]): tags associated with the project
5150
media_type (MediaType): media type of the project
5251
editor_task_type (EditorTaskType): editor task type of the project
@@ -58,9 +57,10 @@ class LabelingServiceDashboard(BaseModel):
5857
updated_at: Optional[datetime] = Field(frozen=True, default=None)
5958
created_by_id: Optional[str] = Field(frozen=True, default=None)
6059
status: LabelingServiceStatus = Field(frozen=True, default=None)
61-
tasks_completed_count: int = Field(frozen=True)
62-
tasks_remaining_count: int = Field(frozen=True)
63-
tasks_total_count: int = Field(frozen=True)
60+
data_rows_count: int = Field(frozen=True)
61+
data_rows_done_count: int = Field(frozen=True)
62+
data_rows_in_review_count: int = Field(frozen=True)
63+
data_rows_in_rework_count: int = Field(frozen=True)
6464
media_type: Optional[MediaType] = Field(frozen=True, default=None)
6565
editor_task_type: EditorTaskType = Field(frozen=True, default=None)
6666
tags: List[LabelingServiceDashboardTags] = Field(frozen=True, default=None)

0 commit comments

Comments
 (0)