models: bug where sample_id and attach_image where twice follwoign rework

This commit is contained in:
appleb_m
2025-12-12 14:35:10 +01:00
parent e7f394a833
commit 9f85c07965
+1 -3
View File
@@ -777,6 +777,4 @@ class ScanResultPayloadModel(BaseModel):
sample_id: int
attach_image: bool = True
beam_mark_pxl: tuple[float, float]
beam_size_mm: Annotated[Coordinate, AfterValidator(positive_coords)]
attach_image: bool = True
sample_id: int
beam_size_mm: Annotated[Coordinate, AfterValidator(positive_coords)]