From 1318bbc8a8146d6b588744c8da02d9b1b0e00d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Tue, 23 Jan 2024 14:28:49 +0100 Subject: [PATCH] update Readme (autostart code) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6863806..06cb18e 100644 --- a/README.md +++ b/README.md @@ -564,7 +564,7 @@ from pydase import DataService, Server class SensorService(DataService): def __init__(self): self.readout_frequency = 1.0 - self._autostart_tasks = {"read_sensor_data": ()} # args passed to the function go there + self._autostart_tasks["read_sensor_data"] = () # args passed to the function go there super().__init__() def _process_data(self, data: ...) -> None: