Skip to content

Commit ec2e47a

Browse files
committed
AL-3578: Fixed typos
1 parent 49f884a commit ec2e47a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

labelbox/data/serialization/ndjson/objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,12 +401,12 @@ def from_common(
401401
NDSubclassification.from_common(annot)
402402
for annot in annotation.classifications
403403
]
404-
optinal_kwargs = {}
404+
optional_kwargs = {}
405405
if (annotation.confidence):
406-
optinal_kwargs['confidence'] = annotation.confidence
406+
optional_kwargs['confidence'] = annotation.confidence
407407
return obj.from_common(annotation.value, subclasses, annotation.name,
408408
annotation.feature_schema_id, annotation.extra,
409-
data, **optinal_kwargs)
409+
data, **optional_kwargs)
410410

411411
@staticmethod
412412
def lookup_object(

tests/data/serialization/ndjson/test_export_video_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def test_serialize_video_objects():
606606
assert len(label.annotations) == 6
607607

608608

609-
def test_confidence_is_ingored():
609+
def test_confidence_is_ignored():
610610
label = video_bbox_label()
611611
serialized_labels = NDJsonConverter.serialize([label])
612612
label = next(serialized_labels)

0 commit comments

Comments
 (0)