From 06692fa9dbd697a3ca0b55ec40a7cb0af93f9f49 Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Mon, 17 Jun 2024 16:54:49 -0400 Subject: [PATCH] ref: fix types for EventUser --- src/sentry/utils/eventuser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sentry/utils/eventuser.py b/src/sentry/utils/eventuser.py index 2db228f52908b0..791d15143a1c28 100644 --- a/src/sentry/utils/eventuser.py +++ b/src/sentry/utils/eventuser.py @@ -9,6 +9,7 @@ from ipaddress import IPv4Address, IPv6Address, ip_address from typing import Any +from django.db.models import QuerySet from snuba_sdk import ( BooleanCondition, BooleanOp, @@ -117,7 +118,7 @@ def get_display_name(self): @classmethod def for_projects( self, - projects: list[Project], + projects: QuerySet[Project] | list[Project], keyword_filters: Mapping[str, list[Any]], filter_boolean: BooleanOp = BooleanOp.AND, result_offset: int = 0,