Skip to content

Conversation

@cdrini
Copy link
Collaborator

@cdrini cdrini commented Sep 22, 2025

Closes #11300

Technical

Testing

Screenshot

Stakeholders

Copilot AI review requested due to automatic review settings September 22, 2025 22:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the Solr get_many method where it would error when called with no IDs. The fix converts the keys parameter to a list before checking if it's empty.

  • Converts the keys iterable to a list to enable proper empty check
  • Uses the list variable consistently throughout the method

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <[email protected]>
@mekarpeles mekarpeles merged commit 4961aac into internetarchive:master Sep 22, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Book API returns solr response error for invalid IDs after deploy (dynlinks, PR #11219)

2 participants