Skip to content

Commit 5060fb2

Browse files
ref(py): Add types to get_adjacent_event_ids_snql (#93267)
1 parent c1300b2 commit 5060fb2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/sentry/eventstore/snuba/backend.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,13 @@ def _get_dataset_for_event(self, event):
454454
return Dataset.Discover
455455

456456
def get_adjacent_event_ids_snql(
457-
self, organization_id, project_id, group_id, environments, event, conditions=None
457+
self,
458+
organization_id: int,
459+
project_id: int,
460+
group_id: int | None,
461+
environments: Sequence[str],
462+
event: Event | GroupEvent,
463+
conditions: Sequence[Condition] | None = None,
458464
):
459465
"""
460466
Utility function for grabbing an event's adjascent events,

0 commit comments

Comments
 (0)