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