Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6ce8b40

Browse files
committedMar 18, 2025·
Typing
1 parent 1acb594 commit 6ce8b40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/sentry/seer/autofix.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def build_spans_tree(spans_data: list[dict]) -> list[dict]:
4444
The tree is sorted by duration (longest spans first) at each level.
4545
"""
4646
# Maps for quick lookup
47-
spans_by_id = {}
48-
children_by_parent_id = {}
49-
root_spans = []
47+
spans_by_id: dict[str, dict] = {}
48+
children_by_parent_id: dict[str, list[dict]] = {}
49+
root_spans: list[dict] = []
5050

5151
# First pass: organize spans by ID and parent_id
5252
for span in spans_data:

0 commit comments

Comments
 (0)
Please sign in to comment.