Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: fix type errors in sentry.incidents #72811

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

asottile-sentry
Copy link
Member

fixes errors when BaseManager becomes typechecked

@asottile-sentry asottile-sentry requested review from a team June 14, 2024 20:47
@asottile-sentry asottile-sentry requested a review from a team as a code owner June 14, 2024 20:47
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 14, 2024
for trigger_id, project_slug in AlertRuleTriggerExclusion.objects.filter(
alert_rule_trigger__in=item_list
).values_list("alert_rule_trigger_id", "query_subscription__project__slug"):
exclusions = result[triggers[trigger_id]].setdefault("excludedProjects", [])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol 🤔

@asottile-sentry asottile-sentry force-pushed the asottile-typing-sentry-incidents branch from 415a6aa to 039cb96 Compare June 17, 2024 13:36
@asottile-sentry asottile-sentry merged commit 070a2b3 into master Jun 17, 2024
47 of 48 checks passed
@asottile-sentry asottile-sentry deleted the asottile-typing-sentry-incidents branch June 17, 2024 18:37
@github-actions github-actions bot locked and limited conversation to collaborators Jul 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants