Skip to content

Commit 516c9b1

Browse files
committed
Fix annotation type
1 parent 095bd70 commit 516c9b1

File tree

1 file changed

+1
-2
lines changed
  • src/superannotate/lib/app/interface

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ class Cuboid(BaseInstance):
128128

129129
class VectorAnnotation(BaseModel):
130130
metadata: Metadata
131-
instances: Optional[List[Template, Cuboid, Point, PolyLine, Polygon, Bbox, Ellipse]]
132-
131+
instances: Optional[List[Union[Template, Cuboid, Point, PolyLine, Polygon, Bbox, Ellipse]]]
133132

134133
def validate_arguments(func):
135134
@wraps(func)

0 commit comments

Comments
 (0)