File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
libs/labelbox/src/labelbox/schema Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 39
39
from labelbox .schema .task import Task
40
40
from labelbox .schema .task_queue import TaskQueue
41
41
from labelbox .schema .ontology_kind import (EditorTaskType , OntologyKind )
42
- from labelbox .schema .project_overview import Project_Overview
42
+ from labelbox .schema .project_overview import ProjectOverview
43
43
44
44
if TYPE_CHECKING :
45
45
from labelbox import BulkImportRequest
@@ -1747,7 +1747,7 @@ def __check_data_rows_have_been_processed(
1747
1747
return response ["queryAllDataRowsHaveBeenProcessed" ][
1748
1748
"allDataRowsHaveBeenProcessed" ]
1749
1749
1750
- def get_overview (self ) -> Project_Overview :
1750
+ def get_overview (self ) -> ProjectOverview :
1751
1751
""" Return the number of data rows per task queue, and issues of a project
1752
1752
Equivalent of the Overview tab of a project
1753
1753
@@ -1802,7 +1802,7 @@ def get_overview(self) -> Project_Overview:
1802
1802
overview ["to_label" ] = overview .pop ("unlabeled" )
1803
1803
overview ["all_in_data_rows" ] = overview .pop ("all" )
1804
1804
1805
- return Project_Overview (** overview )
1805
+ return ProjectOverview (** overview )
1806
1806
1807
1807
1808
1808
class ProjectMember (DbObject ):
Original file line number Diff line number Diff line change 1
1
from typing import Dict , Optional
2
2
from labelbox import pydantic_compat
3
3
4
- class Project_Overview (pydantic_compat .BaseModel ):
4
+ class ProjectOverview (pydantic_compat .BaseModel ):
5
5
"""
6
- Class that represents a project overview.
6
+ Class that represents a project overview as displayed in the UI
7
+ All attributes represent the number of data rows in the corresponding state.
8
+ The `in_review` attribute is a dictionary where the keys are the queue names
9
+ and the values are the number of data rows in that queue.
7
10
"""
8
11
to_label : int
9
12
in_review : Dict [str , int ]
You can’t perform that action at this time.
0 commit comments