Skip to content

Commit 5c8dab4

Browse files
committed
validating project type
1 parent f441ff5 commit 5c8dab4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,6 +1937,7 @@ def aggregate_annotations_as_df(
19371937
"""
19381938
from superannotate.lib.app.analytics.aggregators import DataAggregator
19391939

1940+
ProjectTypes.validate(project_type)
19401941
return DataAggregator(
19411942
project_type=project_type,
19421943
project_root=project_root,

0 commit comments

Comments
 (0)