Skip to content

Commit 936272c

Browse files
Fix import order and clean up whitespace in event_utils module
1 parent 3685020 commit 936272c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/backend/api/event_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
import os
44

55
# Third-party
6-
from applicationinsights import TelemetryClient
76
from dotenv import load_dotenv
87

8+
from applicationinsights import TelemetryClient
9+
910
load_dotenv()
1011

1112
# Global telemetry client (initialized once)
@@ -53,7 +54,7 @@ def track_event_if_configured(event_name: str, event_data: dict):
5354

5455
# Track the custom event
5556
client.track_event(event_name, properties=properties)
56-
57+
5758
# Flush to ensure events are sent immediately
5859
client.flush()
5960

0 commit comments

Comments
 (0)