Conversation
jason-raitz
commented
Mar 18, 2026
- removed unused client.search()
- added client.write_search_results_to_file()
- added method to iterate through search xml results
- added some xml fixtures for a first and last result for a sample search as well as the expected output xml for said search.
- removed unused client.search() - added client.write_search_results_to_file() - added method to iterate through search xml results - added some xml fixtures for a first and last result for a sample search as well as the expected output xml for said search.
- commenting out for now to use as template for new tests
|
Since the eventual goal was to migrate Willa to this as well, I don't think |
anarchivist
left a comment
There was a problem hiding this comment.
generally looks good. what else is left other than the tests?
- and some sensible guard statements - checked for some edge cases - lengthened max-line-length defaults to be a little friendlier
Questions
|
awilfox
left a comment
There was a problem hiding this comment.
Looking really good, but we should find answers to your questions before merging IMO.
There's a lot of debate in the Python community over this. PEP 8 says 79 characters. I don't think modern Python can be effectively written with a 79 character limit. PyCharm and the Google style guide use 120. I think this is too long, and indeed, with my present eyesight my font size is too large to allow 120 characters to fit on the laptop screen. I think 100 is a fair compromise and is what we used in Willa.
This would be a great discussion to have at sprint planning.
I'm firmly on the side of 0 results not being an error or an exceptional condition. |
Co-authored-by: Anna Wilcox <AWilcox@Wilcox-Tech.com>
- reverts max-line-length preference to 100 - fixes some tests - clarifies a couple of edge cases
awilfox
left a comment
There was a problem hiding this comment.
r+! Thanks for resolving everything, looks ready to me ![]()
anarchivist
left a comment
There was a problem hiding this comment.
rw+c (this last change was missing).
Co-authored-by: maría a. matienzo <73732+anarchivist@users.noreply.github.com>