We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c549b58 commit 44b1175Copy full SHA for 44b1175
labelbox/data/metrics/group.py
@@ -62,7 +62,6 @@ def all_have_key(features: List[FeatureSchema]) -> Tuple[bool, bool]:
62
if isinstance(feature, ClassificationAnnotation):
63
if isinstance(feature.value, Checklist):
64
all_schemas, all_names = all_have_key(feature.value.answer)
65
- #this code should be able to be refactored better
66
elif isinstance(feature.value, Text):
67
if feature.name is None:
68
all_names = False
@@ -184,7 +183,6 @@ def _create_feature_lookup(features: List[FeatureSchema],
184
183
185
grouped_features[getattr(answer,
186
key)].append(new_annotation)
187
- #likely can be refactored
188
189
grouped_features[getattr(feature, key)].append(feature)
190
else:
0 commit comments