mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-01 02:11:20 +01:00
fix: ruff warning
This commit is contained in:
@@ -184,6 +184,4 @@ def function_has_arguments(func: Callable[..., Any]) -> bool:
|
||||
parameters.pop("self", None)
|
||||
|
||||
# Check if there are any parameters left which would indicate additional arguments.
|
||||
if len(parameters) > 0:
|
||||
return True
|
||||
return False
|
||||
return len(parameters) > 0
|
||||
|
||||
Reference in New Issue
Block a user