Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
sentaur-athena committed Aug 13, 2024
1 parent 1e9a12e commit a6dbf85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/api/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def paginate(
self.add_cursor_headers(request, response, cursor_result)
return response

def get_request_source(request: Request) -> QuerySource:
def get_request_source(self, request: Request) -> QuerySource:
"""
This is an estimate of query source. Treat it more like a good guess and
don't write logic that depends on it. Used for monitoring only atm.
Expand Down
1 change: 1 addition & 0 deletions src/sentry/api/endpoints/organization_events_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ def serialize(
event_id: str | None,
detailed: bool = False,
use_spans: bool = False,
query_source: QuerySource | None = None,
) -> Any:
raise NotImplementedError

Expand Down

0 comments on commit a6dbf85

Please sign in to comment.