Skip to content

Commit 1619220

Browse files
author
Val Brodsky
committed
Support tags
1 parent e00847b commit 1619220

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,16 @@
2525
dataRowsDoneCount
2626
mediaType
2727
editorTaskType
28+
tags
2829
"""
2930

3031

32+
class LabelingServiceDashboardTags(BaseModel):
33+
name: str
34+
color: str
35+
type: str
36+
37+
3138
class LabelingServiceDashboard(BaseModel):
3239
"""
3340
Represent labeling service data for a project
@@ -52,6 +59,7 @@ class LabelingServiceDashboard(BaseModel):
5259
data_rows_done_count: int = Field(frozen=True)
5360
media_type: Optional[MediaType] = Field(frozen=True, default=None)
5461
editor_task_type: EditorTaskType = Field(frozen=True, default=None)
62+
tags: List[LabelingServiceDashboardTags] = Field(frozen=True, default=None)
5563

5664
client: Any # type Any to avoid circular import from client
5765

0 commit comments

Comments
 (0)