We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 1acb594 commit 6ce8b40Copy full SHA for 6ce8b40
src/sentry/seer/autofix.py
@@ -44,9 +44,9 @@ def build_spans_tree(spans_data: list[dict]) -> list[dict]:
44
The tree is sorted by duration (longest spans first) at each level.
45
"""
46
# Maps for quick lookup
47
- spans_by_id = {}
48
- children_by_parent_id = {}
49
- root_spans = []
+ spans_by_id: dict[str, dict] = {}
+ children_by_parent_id: dict[str, list[dict]] = {}
+ root_spans: list[dict] = []
50
51
# First pass: organize spans by ID and parent_id
52
for span in spans_data:
0 commit comments