Skip to content

ref(issues): Drop redundant list comprehension in handle_ignored#114939

Merged
mrduncan merged 1 commit intomasterfrom
mrduncan/perf-ignored-drop-redundant-list-comp
May 6, 2026
Merged

ref(issues): Drop redundant list comprehension in handle_ignored#114939
mrduncan merged 1 commit intomasterfrom
mrduncan/perf-ignored-drop-redundant-list-comp

Conversation

@mrduncan
Copy link
Copy Markdown
Member

@mrduncan mrduncan commented May 6, 2026

Django's ORM extracts the primary key automatically when model instances are passed to an __in lookup, so the explicit [group.id for group in group_list] is unnecessary work.

Django's ORM extracts the primary key automatically when model
instances are passed to an __in lookup, so the explicit
[group.id for group in group_list] is unnecessary work.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 6, 2026
@mrduncan mrduncan marked this pull request as ready for review May 6, 2026 15:17
@mrduncan mrduncan requested review from a team as code owners May 6, 2026 15:17
@mrduncan mrduncan merged commit 3d0797e into master May 6, 2026
63 checks passed
@mrduncan mrduncan deleted the mrduncan/perf-ignored-drop-redundant-list-comp branch May 6, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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