Skip to content

Commit f0e521d

Browse files
Vaghinak BasentsyanVaghinak Basentsyan
authored andcommitted
Add validate_annotations in the Sphinx doc
1 parent 620b061 commit f0e521d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/source/superannotate.sdk.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ Working with annotations
312312
________________________
313313

314314
.. _ref_add_annotation_bbox_to_json:
315+
.. autofunction:: superannotate.validate_annotations
315316
.. autofunction:: superannotate.add_annotation_bbox_to_json
316317
.. autofunction:: superannotate.add_annotation_polygon_to_json
317318
.. autofunction:: superannotate.add_annotation_polyline_to_json

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3648,8 +3648,8 @@ def attach_document_urls_to_project(
36483648
def validate_annotations(
36493649
project_type: ProjectTypes, annotations_json: Union[NotEmptyStr, Path]
36503650
):
3651-
"""
3652-
Validates given annotation JSON.
3651+
"""Validates given annotation JSON.
3652+
36533653
:param project_type: project_type (str) – the project type Vector, Pixel, Video or Document
36543654
:type project_type: str
36553655
:param annotations_json: path to annotation JSON

0 commit comments

Comments
 (0)