-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add converter to dedupe lists in TimdexRecord
Why these changes are being introduced: * Reduce duplication of data for TimdexRecord attributes of list type. How this addresses that need: * Create an attrs converter function to dedupe list of items * Add __hash__ methods for custom classes * Apply dedupe methods to derived fields Side effects of this change: * Deduplication is highly likely to result in diffs when comparing transformed records before and after this change. That said, we are improving our transformation pipeline by removing duplicated data. Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-332
- Loading branch information
1 parent
b1ec2e7
commit e0fc7e9
Showing
1 changed file
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters