Skip to content

Commit

Permalink
add note about distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonDavis committed Nov 26, 2024
1 parent e2650e5 commit 8c19323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sde_collections/models/delta_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def is_most_distinctive_pattern(self, url) -> bool:
.filter(models.Q(delta_urls__url=url.url) | models.Q(curated_urls__url=url.url))
.exclude(id=self.id)
.distinct()
)
) # TODO: does this have a distinct urls, or distinct model objects.

# If any matching pattern has a smaller URL set, don't apply
for pattern in matching_patterns:
Expand Down

0 comments on commit 8c19323

Please sign in to comment.