-
Notifications
You must be signed in to change notification settings - Fork 0
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
Timx 288 marc field method refactor 3 #202
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me for the most part. Only thing shy of immediate approval is standardizing Marc.<method>
or cls.<method>
, where I'd lean towards the latter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions but looks great!
Why these changes are being introduced: * These updates are required to implement the architecture described in the following ADR: https://github.com/MITLibraries/transmogrifier/blob/main/docs/adrs/0005-field-methods.md How this addresses that need: * Added field methods and corresponding unit tests: identifiers, languages, literary_form, locations, notes Side effects of this change: * None Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-288
891cbce
to
9b42ff3
Compare
Purpose and background context
Field method refactor for transform class
Marc
(Part 3).identifiers
,languages
,literary_form
,locations
,notes
]Note(s)
get_locations
field method correctly retrieves the characters 008/15-17; the old code previously only retrieved characters 008/15-16, effectively ignoringtimdex.Location(kind="Place of Publication")
for records with 3-letter codes.How can a reviewer manually see the effects of these changes?
make test
and verify all unit tests are passing.Includes new or updated dependencies?
NO
Changes expectations for external applications?
NO
What are the relevant tickets?
https://mitlibraries.atlassian.net/browse/TIMX-288
Developer
Code Reviewer(s)