Skip to content

Commit

Permalink
chore(endpoints): Undo incorrect typing lines (#77860)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
armenzg committed Sep 20, 2024
1 parent 304b5f3 commit 865c8db
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/sentry/api/endpoints/organization_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit 865c8db

Please sign in to comment.