fix: remove typehint
CI for tomcat_bec / test (pull_request) Successful in 48s
CI for tomcat_bec / test (push) Successful in 46s

This commit was merged in pull request #42.
This commit is contained in:
2026-07-28 10:19:11 +02:00
parent 7e055a86f3
commit 155f6beca3
@@ -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
return status