fix: remove overrides typing
Add new service / deploy (push) Successful in 26s

This commit is contained in:
Benjamin Labrecque
2026-07-14 11:37:07 +02:00
parent b58cb087dd
commit edfcdb4c0e
@@ -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.