File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1212 from typing_extensions import Literal
1313
1414from ..annotation_types .feature import FeatureSchema
15- from ..annotation_types import ObjectAnnotation , ClassificationAnnotation , Label , LabelList
15+ from ..annotation_types import ObjectAnnotation , ClassificationAnnotation , Label
1616
1717
1818def get_identifying_key (
@@ -79,8 +79,8 @@ def all_have_key(features: List[FeatureSchema]) -> Tuple[bool, bool]:
7979 return all_schemas , all_names
8080
8181
82- def get_label_pairs (labels_a : LabelList ,
83- labels_b : LabelList ,
82+ def get_label_pairs (labels_a : list ,
83+ labels_b : list ,
8484 match_on = "uid" ,
8585 filter_mismatch = False ) -> Dict [str , Tuple [Label , Label ]]:
8686 """
@@ -91,8 +91,8 @@ def get_label_pairs(labels_a: LabelList,
9191 If this assumption fails, then the user has to determine their own matching strategy.
9292
9393 Args:
94- labels_a (LabelList ): A collection of labels to match with labels_b
95- labels_b (LabelList ): A collection of labels to match with labels_a
94+ labels_a (list ): A collection of labels to match with labels_b
95+ labels_b (list ): A collection of labels to match with labels_a
9696 match_on ('uid' or 'external_id'): The data row key to match labels by. Can either be uid or external id.
9797 filter_mismatch (bool): Whether or not to ignore mismatches
9898
You can’t perform that action at this time.
0 commit comments