From 865c8db3b05a4f32363a94d1e81180b5935ef5ea Mon Sep 17 00:00:00 2001 From: "Armen Zambrano G." <44410+armenzg@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:49:13 -0400 Subject: [PATCH] chore(endpoints): Undo incorrect typing lines (#77860) In #60614, I introduced something I should not have which was suggested on Slack for debugging purposes. I lost track of it and this remediates that. --- src/sentry/api/endpoints/organization_events.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/sentry/api/endpoints/organization_events.py b/src/sentry/api/endpoints/organization_events.py index d48e5bb59d3453..672c4441708ea8 100644 --- a/src/sentry/api/endpoints/organization_events.py +++ b/src/sentry/api/endpoints/organization_events.py @@ -152,14 +152,6 @@ class EventsApiResponse(TypedDict): meta: EventsMeta -# When calling make build-spectacular-docs we hit this issue -# https://github.com/tfranzel/drf-spectacular/issues/1041 -# This is a work around -EventsMeta.__annotations__["datasetReason"] = str -EventsMeta.__annotations__["isMetricsData"] = bool -EventsMeta.__annotations__["isMetricsExtractedData"] = bool - - def rate_limit_events( request: Request, organization_id_or_slug: str | None = None, *args, **kwargs ) -> dict[str, dict[RateLimitCategory, RateLimit]]: