mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 13:10:41 +02:00
updates wording and formatting
This commit is contained in:
parent
eacd5bc6b1
commit
d7e604992d
@ -108,11 +108,11 @@ class TaskManager:
|
|||||||
if inspect.iscoroutinefunction(method):
|
if inspect.iscoroutinefunction(method):
|
||||||
if function_has_arguments(method):
|
if function_has_arguments(method):
|
||||||
logger.info(
|
logger.info(
|
||||||
"Asynchronous functions (tasks) should be defined without "
|
"Async function %a is defined with at least one argument. If "
|
||||||
f"arguments. The task '{method.__name__}' has at least one "
|
"you want to use it as a task, remove the argument(s) from the "
|
||||||
"argument. Please remove the argument(s) from this function to "
|
"function definition.",
|
||||||
"use it in the frontend."
|
method.__name__,
|
||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# create start and stop methods for each coroutine
|
# create start and stop methods for each coroutine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user