From 96cc7b31b45f195ebdd59ea4de1e91864666021b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Tue, 6 Aug 2024 11:29:49 +0200 Subject: [PATCH] updates documentation --- src/pydase/task/task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pydase/task/task.py b/src/pydase/task/task.py index 7e0790f..d471ccb 100644 --- a/src/pydase/task/task.py +++ b/src/pydase/task/task.py @@ -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