From 4c7b386ab464c0395e36dc8e3f0da57e91bbbad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Tue, 25 Mar 2025 14:05:21 +0100 Subject: [PATCH] docs: updates state manager docstring (adds DataServiceCache link) --- src/pydase/data_service/state_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pydase/data_service/state_manager.py b/src/pydase/data_service/state_manager.py index 39ab960..42a5e5c 100644 --- a/src/pydase/data_service/state_manager.py +++ b/src/pydase/data_service/state_manager.py @@ -73,7 +73,8 @@ class StateManager: The StateManager is used by the web server to apply updates to service attributes and to serve the current state to newly connected clients. Internally, it creates a - `DataServiceCache` instance to track the state of public attributes and properties. + [`DataServiceCache`][pydase.data_service.data_service_cache.DataServiceCache] + instance to track the state of public attributes and properties. The StateManager also handles state persistence: it can load a previously saved state from disk at startup and periodically autosave the current state to a file