fix: zoom model typing
CI / lint (push) Canceled after 10s
CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / test (3.13) (push) Canceled after 0s
CI / lint (pull_request) Successful in 26s
Build and Publish / release (push) Successful in 11s
CI / test (3.12) (pull_request) Successful in 23s
CI / test (3.11) (pull_request) Successful in 25s
CI / test (3.13) (pull_request) Successful in 25s

This commit was merged in pull request #33.
This commit is contained in:
perl_d committed 2026-09-08 16:52:26 +02:00
1 parent e077add687
commit 8d273d0438
1 file changed
+2 -2
+2 -2
View File
@@ -565,8 +565,8 @@ def def_loop_centering_zoom(beamline) -> ZoomModel:
def zoom_manager(
mode: ZoomModeEnum = ZoomModeEnum.User, beamline: MXBeamline = None
) -> ZoomModel | None:
mode: ZoomModeEnum = ZoomModeEnum.User, beamline: MXBeamline | None = None
) -> ZoomModel:
if beamline is None or beamline == MXBeamline.SIMULATED:
print("SIMULATED")
return def_zoom(beamline)