From 1fd7c0a67035b6541a03bf1f51febbccf461c2dd Mon Sep 17 00:00:00 2001 From: Edward Gou Date: Tue, 7 Jan 2025 23:39:14 -0500 Subject: [PATCH] ignore --- src/sentry/search/events/datasets/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/search/events/datasets/metrics.py b/src/sentry/search/events/datasets/metrics.py index 0cb27d261e283f..315a5be720d9dd 100644 --- a/src/sentry/search/events/datasets/metrics.py +++ b/src/sentry/search/events/datasets/metrics.py @@ -1804,7 +1804,7 @@ def _resolve_total_score_weights_function(self, column: str, alias: str | None) if (isinstance(term, SearchFilter) and term.key.name == "browser.name") or ( isinstance(term, ParenExpression) - and all( + and all( # type: ignore[unreachable] (isinstance(child_term, SearchFilter) and child_term.key.name == "browser.name") or child_term == "OR" for child_term in term.children