Skip to content

Conversation

@cdrini
Copy link
Collaborator

@cdrini cdrini commented Nov 21, 2025

None of these are referenced elsewhere.

Technical

Testing

On testing, this seems to load: https://testing.openlibrary.org/api/volumes/brief/isbn/0451526538.json

Screenshot

Stakeholders

@cdrini cdrini marked this pull request as ready for review November 21, 2025 00:40
Copilot AI review requested due to automatic review settings November 21, 2025 00:40
Copilot finished reviewing on behalf of cdrini November 21, 2025 00:42
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 removes dead code from readlinks.py by deleting unused imports and functions. The removed code includes three imports (requests, config, and OpenLibrary) and five functions that were never referenced elsewhere in the codebase. This cleanup improves code maintainability by removing approximately 60 lines of unused code.

Key changes:

  • Removed unused imports: requests, infogami.config, and openlibrary.api.OpenLibrary
  • Removed five unused helper functions related to Solr queries and edition lookups

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant