allowed annotation to have None when no choice made

This commit is contained in:
Brian Bjarke Jensen
2025-09-18 23:47:56 +02:00
parent f858877bb5
commit a124a72c96
+7 -7
View File
@@ -13,17 +13,17 @@ from .point_of_view_enum import PointOfViewEnum
class Annotation(TypeCheckingBaseModel):
"""Data Transfer Object representing an Annotation."""
angle: AngleEnum
angle: AngleEnum | None
angle_uncertainty: bool
colour: ColourEnum
colour: ColourEnum | None
colour_uncertainty: bool
contact: ContactEnum
contact: ContactEnum | None
contact_uncertainty: bool
depth: DepthEnum
depth: DepthEnum | None
depth_uncertainty: bool
distance: DistanceEnum
distance: DistanceEnum | None
distance_uncertainty: bool
lighting: LightingEnum
lighting: LightingEnum | None
lighting_uncertainty: bool
point_of_view: PointOfViewEnum
point_of_view: PointOfViewEnum | None
point_of_view_uncertainty: bool