mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-17 01:19:26 +01:00
fixes render_in_frontend function
This commit is contained in:
@@ -60,7 +60,7 @@ def render_in_frontend(func: Callable[..., Any]) -> bool:
|
||||
|
||||
It checks if the "@frontend" decorator was used or the method is a coroutine."""
|
||||
|
||||
if inspect.iscoroutine(func):
|
||||
if inspect.iscoroutinefunction(func):
|
||||
return True
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user