diff --git a/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py b/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py index 1f76a4d..59146dc 100644 --- a/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py +++ b/tomcat_bec/devices/unsupported_legacy/psi_detector_base.py @@ -26,7 +26,6 @@ from ophyd_devices.utils.errors import DeviceStopError, DeviceTimeoutError logger = bec_logger.logger - class BECDeviceBaseError(Exception): """Error class for BECDeviceBase.""" @@ -43,7 +42,7 @@ class CustomDetectorMixin: will allow the custom prepare class to access the parent device with all its signals. """ - def __init__(self, *_args, parent: T = None, **_kwargs) -> None: + def __init__(self, *_args, parent=None, **_kwargs) -> None: """ Initialize the custom prepare class. @@ -571,4 +570,4 @@ class PSIDetectorBase(Device): return status status = DeviceStatus(self) status.set_finished() - return status \ No newline at end of file + return status