Skip to content

Conversation

@jamesbraza
Copy link
Collaborator

I was having a tough time re-groking this, so I added docs for the next person.

I also renamed query_transformer to query_factory to be more explicit.

@jamesbraza jamesbraza self-assigned this Aug 7, 2025
Copilot AI review requested due to automatic review settings August 7, 2025 19:15
@jamesbraza jamesbraza added the documentation Improvements or additions to documentation label Aug 7, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 7, 2025
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 improves the documentation and naming for the metadata provider system. The purpose is to make the codebase more understandable for future developers working with metadata retrieval functionality.

  • Renamed query_transformer to query_factory for clearer naming
  • Added comprehensive docstrings to the MetadataProvider and DocMetadataTask classes
  • Enhanced field descriptions with concrete examples

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/paperqa/clients/client_models.py Renamed query_transformer to query_factory and added docstrings to MetadataProvider abstract methods
src/paperqa/clients/init.py Added detailed docstrings to DocMetadataTask class and its methods, plus field descriptions with examples

@jamesbraza jamesbraza merged commit d34543e into main Aug 9, 2025
8 checks passed
@jamesbraza jamesbraza deleted the docs-metadata branch August 9, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants