Skip to content

Commit ccfa8e8

Browse files
committed
Fix type [skip ci]
1 parent 45b222e commit ccfa8e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neurocaps/utils/_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def check_required_attributes(required_attrs: list[str]) -> Callable:
2121
The decorated function.
2222
"""
2323

24-
def decorator(func: Callable) -> None:
24+
def decorator(func: Callable) -> Callable:
2525
@functools.wraps(func)
2626
def wrapper(self, *args: Any, **kwargs: Any) -> Any:
2727
for attr_name in required_attrs:

0 commit comments

Comments
 (0)