From c1d5d4daf75dd5e94d1c59f99b01610e11f062fd Mon Sep 17 00:00:00 2001 From: Pratyush Shukla Date: Tue, 31 Dec 2024 04:54:31 +0530 Subject: [PATCH] linting fix --- agentops/session.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agentops/session.py b/agentops/session.py index 535bc997..b9f07d20 100644 --- a/agentops/session.py +++ b/agentops/session.py @@ -534,7 +534,9 @@ def _update_session(self) -> None: """Update session state on the server""" if not self.is_running: return - with self._lock: # TODO: Determine whether we really need to lock here: are incoming calls coming from other threads? + + # TODO: Determine whether we really need to lock here: are incoming calls coming from other threads? + with self._lock: payload = {"session": self.__dict__} try: