From 304dd1b36be6eea62d884895737e61ce7cadc76d Mon Sep 17 00:00:00 2001 From: Eva Lott Date: Mon, 11 Nov 2024 15:39:02 +0000 Subject: [PATCH] update method is working well --- src/fastcs_pandablocks/handlers.py | 2 +- src/fastcs_pandablocks/panda/controller.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fastcs_pandablocks/handlers.py b/src/fastcs_pandablocks/handlers.py index 62e1ca2..222bbbf 100644 --- a/src/fastcs_pandablocks/handlers.py +++ b/src/fastcs_pandablocks/handlers.py @@ -15,7 +15,7 @@ async def put(self, controller: Any, attr: AttrW, value: str) -> None: class DefaultFieldUpdater(Updater): #: We update the fields from the top level - update_period = float("inf") + update_period = None def __init__(self, panda_name: PandaName): self.panda_name = panda_name diff --git a/src/fastcs_pandablocks/panda/controller.py b/src/fastcs_pandablocks/panda/controller.py index 4d4f8a9..aca7808 100644 --- a/src/fastcs_pandablocks/panda/controller.py +++ b/src/fastcs_pandablocks/panda/controller.py @@ -116,7 +116,6 @@ async def update_field_value(self, panda_name: PandaName, value: str): @scan(0.1) async def update(self): - raise RuntimeError("FINALLY CALLED!") changes = await self._raw_panda.get_changes() await asyncio.gather( *[