From 8f0188a24ead30396f71e33587dfe0379f35ecb5 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Mon, 9 Mar 2026 17:11:36 +0100 Subject: [PATCH] modelsL: added recovery action request class to take confirmation code for protected GUI controls --- src/aare/common/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/aare/common/models.py b/src/aare/common/models.py index 27955d96..dccb0136 100644 --- a/src/aare/common/models.py +++ b/src/aare/common/models.py @@ -783,4 +783,7 @@ class ScanResultPayloadModel(BaseModel): sample_id: int attach_image: bool = True beam_mark_pxl: tuple[float, float] - beam_size_mm: Annotated[Coordinate, AfterValidator(positive_coords)] \ No newline at end of file + beam_size_mm: Annotated[Coordinate, AfterValidator(positive_coords)] + +class RecoveryActionRequest(BaseModel): + confirmation_code: str \ No newline at end of file