Skip to content

Commit

Permalink
Add a missing kwargs forward in skeleton_label_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecLad committed Feb 10, 2025
1 parent fb3bde4 commit ba0455c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cvat-sdk/cvat_sdk/auto_annotation/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def skeleton_label_spec(
name: str, id: int, sublabels: Sequence[models.SublabelRequest], **kwargs
) -> models.PatchedLabelRequest:
"""Helper factory function for PatchedLabelRequest with type="skeleton"."""
return models.PatchedLabelRequest(name=name, id=id, type="skeleton", sublabels=sublabels)
return models.PatchedLabelRequest(
name=name, id=id, type="skeleton", sublabels=sublabels, **kwargs
)


# pylint: disable-next=redefined-builtin
Expand Down

0 comments on commit ba0455c

Please sign in to comment.