Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sentry/models/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def filter_by_stage(
operator: str,
value,
project_ids: Sequence[int] | None = None,
environments: list[str] | None = None,
environments: Sequence[str | int] | None = None,
) -> models.QuerySet:
return self.get_queryset().filter_by_stage(
organization_id, operator, value, project_ids, environments
Expand Down
2 changes: 1 addition & 1 deletion src/sentry/models/releases/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def filter_by_stage(
operator: str,
value,
project_ids: Sequence[int] | None = None,
environments: list[str] | None = None,
environments: Sequence[str | int] | None = None,
) -> Self:
from sentry.models.releaseprojectenvironment import ReleaseProjectEnvironment, ReleaseStages
from sentry.search.events.filter import to_list
Expand Down
4 changes: 2 additions & 2 deletions src/sentry/tagstore/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ def get_tag_value_paginator_for_projects(
def get_group_tag_value_iter(
self,
group: Group,
environment_ids: list[int | None],
environment_ids: Sequence[int | None],
key: str,
orderby: str = "-first_seen",
limit: int = 1000,
offset: int = 0,
tenant_ids: dict[str, int | str] | None = None,
) -> list[GroupTagValue]:
) -> Sequence[GroupTagValue]:
"""
>>> get_group_tag_value_iter(group, 2, 3, 'environment')
"""
Expand Down
Loading
Loading