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

Add duplicate search result API #17

Merged
merged 3 commits into from
May 24, 2024
Merged

Conversation

sergey-misuk-valor
Copy link
Contributor

No description provided.

@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/duplicate-search-results-api branch 8 times, most recently from e52a297 to 070cbc8 Compare May 22, 2024 10:21
@sergey-misuk-valor sergey-misuk-valor force-pushed the feature/duplicate-search-results-api branch from 070cbc8 to 3728173 Compare May 22, 2024 12:46

class Duplicate(models.Model):
deduplication_set = models.ForeignKey(DeduplicationSet, on_delete=models.CASCADE)
first_reference_pk = models.IntegerField()
Copy link
Member

Choose a reason for hiding this comment

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

let's use CharField here. Remote systems can send anything

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

deduplication_set = models.ForeignKey(DeduplicationSet, on_delete=models.CASCADE)
first_reference_pk = models.IntegerField()
first_filename = models.CharField(max_length=255)
second_reference_pk = models.IntegerField()
Copy link
Member

Choose a reason for hiding this comment

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

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@sergey-misuk-valor sergey-misuk-valor requested a review from saxix May 24, 2024 12:00
@saxix saxix merged commit 4f6996c into develop May 24, 2024
5 of 7 checks passed
@saxix saxix deleted the feature/duplicate-search-results-api branch June 20, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants