diff --git a/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py b/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py index a40bd90..eeade4c 100644 --- a/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py +++ b/services/dbpm3curr/current/app/src/AGEBD-SERVICE-DBPM3CURR.py @@ -1,6 +1,3 @@ -import time -from typing import override - import numpy as np import typer @@ -185,8 +182,6 @@ class Service(BaseService[PVs]): self.ChargeArrayBPMs = np.empty(len(pvs.bpms)) self.iter = 0 - # TODO: decorator needs min python3.12 - @override def update(self): # set current to zero without beam if not self.pvs.dump_valve.get() == 1: @@ -241,8 +236,6 @@ class Service(BaseService[PVs]): elif self.pvs.recalibrate_apply.get(): self.pvs.calibration.put(self.pvs.calibration_new.get()) - # TODO: decorator needs min python3.12 - @override def on_transition_to_paused(self): """ Set current to zero when service is transitioned to paused.