Browse Source

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.
Armen Zambrano G. 5 months ago
parent
commit
865c8db3b0
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/sentry/api/endpoints/organization_events.py

+ 0 - 8
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]]: