Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
the-praxs committed Dec 30, 2024
1 parent 8e550ef commit c1d5d4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agentops/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c1d5d4d

Please sign in to comment.