Skip to content

Commit 55c710b

Browse files
committed
MODEL-1448: Fixed import
1 parent 3dd32d4 commit 55c710b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/labelbox/src/labelbox/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
from labelbox.schema.slice import CatalogSlice, ModelSlice
5454
from labelbox.schema.task import Task
5555
from labelbox.schema.user import User
56+
from labelbox.schema.label_score import LabelScore
5657
from labelbox.schema.ontology_kind import (OntologyKind, EditorTaskTypeMapper,
5758
EditorTaskType)
5859

@@ -2219,7 +2220,7 @@ def get_embedding_by_name(self, name: str) -> Embedding:
22192220

22202221
def upsert_label_feedback(
22212222
self, label_id: str, feedback: str,
2222-
scores: Dict[str, float]) -> List[labelbox.LabelScore]:
2223+
scores: Dict[str, float]) -> List[LabelScore]:
22232224
"""
22242225
Submits the label feedback which is a free-form text and numeric
22252226
label scores.

0 commit comments

Comments
 (0)