fix: remove typehint
This commit was merged in pull request #42.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user