Skip to content

Commit dd34f80

Browse files
wip: wrong sequence type
1 parent 9275a83 commit dd34f80

File tree

1 file changed

+2
-2
lines changed
  • src/sentry/search/events/builder

1 file changed

+2
-2
lines changed

src/sentry/search/events/builder/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ def _dataclass_params(
124124
return snuba_params
125125

126126
if "project_objects" in params:
127-
projects = cast(Sequence[Project], params["project_objects"])
127+
projects = params["project_objects"]
128128
elif "project_id" in params and (
129129
isinstance(params["project_id"], list) or isinstance(params["project_id"], tuple) # type: ignore[unreachable]
130130
):
131-
projects = Project.objects.filter(id__in=params["project_id"])
131+
projects = list(Project.objects.filter(id__in=params["project_id"]))
132132
else:
133133
projects = []
134134

0 commit comments

Comments
 (0)