From bf170cfcf5c8f08ada5fa52616e6e5f8b76744d5 Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Jun 2025 14:15:40 +0200 Subject: [PATCH] Refactor TELL integration and update dependencies. Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows. --- daq/src/aaredaq/aaredb.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daq/src/aaredaq/aaredb.py b/daq/src/aaredaq/aaredb.py index 9505c4d0..de7a57c4 100644 --- a/daq/src/aaredaq/aaredb.py +++ b/daq/src/aaredaq/aaredb.py @@ -28,11 +28,9 @@ class AareWrapper: ): configuration = aareDBclient.Configuration(host=host) configuration.verify_ssl = False # Disable SSL verification - configuration.default_headers = { - "X-Shared-Password": os.getenv("AAREDB_SHARED_PASSWORD") - } self.client = aareDBclient.ApiClient(configuration) + self.client.default_headers["X-Shared-Password"] = os.getenv("AAREDB_SHARED_PASSWORD") self.__host = host self.__tell_api = aareDBclient.TellsRunnerApi(self.client) self.__sample_api = aareDBclient.SamplesRunnerApi(self.client)