updates documentation

This commit is contained in:
Mose Müller 2024-08-06 11:29:49 +02:00
parent 0d6d312f68
commit 96cc7b31b4

View File

@ -72,8 +72,8 @@ class Task(pydase.data_service.data_service.DataService, Generic[R]):
def task_done_callback(task: asyncio.Task[R | None]) -> None:
"""Handles tasks that have finished.
Removes a task from the tasks dictionary, calls the defined
callbacks, and logs and re-raises exceptions."""
Update task status, calls the defined callbacks, and logs and re-raises
exceptions."""
self._task = None
self._status = TaskStatus.NOT_RUNNING