From b0a8b2520b2b9576d5e45750f137d5cf24ffbf9e Mon Sep 17 00:00:00 2001 From: Armen Zambrano G <44410+armenzg@users.noreply.github.com> Date: Thu, 26 Sep 2024 09:14:16 -0700 Subject: [PATCH] typing(search): Add parent class for ErrorsQueryBuilder --- pyproject.toml | 1 - src/sentry/search/events/builder/errors.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9ce1ae764e9fb3..707c76a70c9bec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -319,7 +319,6 @@ module = [ "sentry.scim.endpoints.members", "sentry.scim.endpoints.teams", "sentry.scim.endpoints.utils", - "sentry.search.events.builder.errors", "sentry.search.events.builder.metrics", "sentry.search.events.datasets.discover", "sentry.search.events.datasets.filter_aliases", diff --git a/src/sentry/search/events/builder/errors.py b/src/sentry/search/events/builder/errors.py index 4869fe65ac191f..278b3714d4297d 100644 --- a/src/sentry/search/events/builder/errors.py +++ b/src/sentry/search/events/builder/errors.py @@ -18,6 +18,7 @@ ) from sentry.api.issue_search import convert_query_values, convert_status_value +from sentry.search.events.builder.base import BaseQueryBuilder from sentry.search.events.builder.discover import ( DiscoverQueryBuilder, TimeseriesQueryBuilder, @@ -30,7 +31,7 @@ value_converters = {"status": convert_status_value} -class ErrorsQueryBuilderMixin: +class ErrorsQueryBuilderMixin(BaseQueryBuilder): def __init__(self, *args, **kwargs): self.match = None self.entities = set()