diff --git a/pyproject.toml b/pyproject.toml index 2658217b..307d89cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ dependencies = [ "numpy", "pydantic", "pvi", + "softioc", ] # Add project dependencies here, e.g. ["click", "numpy"] dynamic = ["version"] license.file = "LICENSE" diff --git a/src/fastcs/cs_methods.py b/src/fastcs/cs_methods.py index 25c32c13..15c4056b 100644 --- a/src/fastcs/cs_methods.py +++ b/src/fastcs/cs_methods.py @@ -23,7 +23,6 @@ def __init__(self, method_type: MethodType, fn: Callable, **kwargs) -> None: self.kwargs = kwargs def _validate_method(self, type: MethodType, fn: Callable) -> None: - if self.return_type not in (None, Signature.empty): raise FastCSException("Method return type must be None or empty")