-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(Search samples) Modify samples endpoint to allow for searching. #67
Conversation
d99142e
to
6bcb65e
Compare
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.
Approving the PR, just some tiny comments :)
- The endpoints returns 500 when making some calls like
https://genotype-stage.scilifelab.se/api/v2/samples/?skip=0&limit=2&enquiry=ACC&plate_id=ID127&incomplete=true&commented=true&status_missing=true
but I guess it is not relevant to this PR. - The search by plate id seems also not to work, but maybe I am wrong and just searching for non existing combination (commented true and so on).
- No tests? :D
Thanks for the review @elevu! 😊
|
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.
👍
@Vince-janv For API endpoint testing there is a framework in fastAPI to use. See https://github.com/Clinical-Genomics/atlas/tree/master/tests/api for inspiration |
@henrikstranneheim Should I spend time starting to write tests here or should I merge this and prioritise something else? |
@Vince-janv I think it is no worse then when you arrived. I think we should not spend time on this technical debt now, as this code seem to be of poor standards and would require some work. We should make a project out of it and work on it in a team in a more focused way. |
Description
Adds a sample search functionality.
Added
Changed
Steps to consider while deploying
Review:
This version is a: