updating link-record endpoint to use either schema#66
Merged
Conversation
…he link-record endpoint
9 tasks
ericbuckley
added a commit
that referenced
this pull request
Mar 18, 2025
## Description Minor clean up to remove some old code in our performance testing suite that isn't being used. ## Additional Notes [X-Use-Simple-Link was a header value](#66) that was used for performance testing the differences between the phdi codebase and Record Linker. This was [removed many months ago](#68) when the phdi code was removed from the codebase, but we forgot to update the performance tests.
bamader
pushed a commit
that referenced
this pull request
Mar 19, 2025
## Description Minor clean up to remove some old code in our performance testing suite that isn't being used. ## Additional Notes [X-Use-Simple-Link was a header value](#66) that was used for performance testing the differences between the phdi codebase and Record Linker. This was [removed many months ago](#68) when the phdi code was removed from the codebase, but we forgot to update the performance tests.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Making changes to main.py link-record route so the user can opt to use either of the two schemas, and the code required to interact with them, via a request header. Also adding OpenTelemetry so we can trace the linking algorithm and its performance.
Related Issues
closes #24
Additional Notes
src/recordlinker/database.pyand moved session creation code there.<--------------------- REMOVE THE LINES BELOW BEFORE MERGING --------------------->
Checklist
Please review and complete the following checklist before submitting your pull request:
Checklist for Reviewers
Please review and complete the following checklist during the review process: