Skip to content

Commit fbf014c

Browse files
scttcperclaude
andcommitted
style(api): Tweak comment wording
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9230a2e commit fbf014c

File tree

1 file changed

+1
-2
lines changed
  • src/sentry/api/serializers/models

1 file changed

+1
-2
lines changed

src/sentry/api/serializers/models/team.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ def get_attrs(
250250
if self._expand("projects"):
251251
project_teams = ProjectTeam.objects.get_for_teams_with_org_cache(item_list)
252252

253-
# Deduplicate: a project on multiple teams would cause
254-
# duplicate features during serialization.
253+
# A project can be on multiple teams, dedupe before serializing
255254
projects = list({pt.project_id: pt.project for pt in project_teams}.values())
256255

257256
projects_by_id = {

0 commit comments

Comments
 (0)