We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b222e commit ccfa8e8Copy full SHA for ccfa8e8
neurocaps/utils/_decorators.py
@@ -21,7 +21,7 @@ def check_required_attributes(required_attrs: list[str]) -> Callable:
21
The decorated function.
22
"""
23
24
- def decorator(func: Callable) -> None:
+ def decorator(func: Callable) -> Callable:
25
@functools.wraps(func)
26
def wrapper(self, *args: Any, **kwargs: Any) -> Any:
27
for attr_name in required_attrs:
0 commit comments