Skip to content

Commit

Permalink
fixing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eldies committed Jul 11, 2024
1 parent 6adf992 commit fb134e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datumaro/plugins/datumaro_format/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _load_annotations(self, item: dict):
return loaded

def _load_skeleton_elements_annotations(
self, ann: dict, label_id: int, points: list[float | int]
self, ann: dict, label_id: int, points: list
) -> list[Points]:
if len(points) % 3 != 0:
raise InvalidAnnotationError(
Expand Down

0 comments on commit fb134e3

Please sign in to comment.