Skip to content

Commit fe6407b

Browse files
committed
AL-3578: Yapf formatting
1 parent d714e52 commit fe6407b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

labelbox/schema/confidence_presence_checker.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ def _check_annotation(cls, annotation: Union[ClassificationAnnotation,
3434
ScalarMetric,
3535
ConfusionMatrixMetric]):
3636

37-
if hasattr(annotation, 'confidence') and annotation.confidence is not None:
37+
if hasattr(annotation,
38+
'confidence') and annotation.confidence is not None:
3839
return True
39-
if hasattr(annotation, 'classifications') and annotation.classifications:
40+
if hasattr(annotation,
41+
'classifications') and annotation.classifications:
4042
return any([
4143
cls._check_classification(x) for x in annotation.classifications
4244
])

0 commit comments

Comments
 (0)