From 6715d559bd1fd1d89cc2e538832eb038871c3eed Mon Sep 17 00:00:00 2001 From: Jacob Williamson Date: Mon, 2 Nov 2026 17:47:13 +0000 Subject: [PATCH] Improve typing --- src/dodal/devices/zebra/zebra.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dodal/devices/zebra/zebra.py b/src/dodal/devices/zebra/zebra.py index 4000235172f..66718e8fe23 100644 --- a/src/dodal/devices/zebra/zebra.py +++ b/src/dodal/devices/zebra/zebra.py @@ -171,10 +171,10 @@ def __init__(self, prefix: str, name: str = "") -> None: self.pulse_1 = PulseOutput(prefix + "PULSE1") self.pulse_2 = PulseOutput(prefix + "PULSE2") - self.out_ttl_pvs: DeviceVector[SignalRW] = DeviceVector( + self.out_ttl_pvs: DeviceVector[SignalRW[float]] = DeviceVector( {i: epics_signal_rw(float, prefix + f"OUT{i}_TTL") for i in range(1, 5)} ) - self.out_lvds_pvs: DeviceVector[SignalRW] = DeviceVector( + self.out_lvds_pvs: DeviceVector[SignalRW[float]] = DeviceVector( {i: epics_signal_rw(float, prefix + f"OUT{i}_LVDS") for i in range(1, 4)} ) super().__init__(name)