Skip to content

Commit

Permalink
fix par bug?
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaPurtell committed Nov 29, 2024
1 parent dbeb18c commit 60a5693
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synth_sdk/tracing/events/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ def _event_to_dict(self, event: Event) -> dict:
],
}

def clear(self):
"""Clear all traces from the event store."""
with self._lock:
self._traces.clear()


# Global event store instance
event_store = EventStore()

0 comments on commit 60a5693

Please sign in to comment.