Skip to content

test: FaissDocumentStore use Mixin tests#3024

Merged
davidsbatista merged 6 commits intomainfrom
test/faiss-use-mixin-tests
Mar 23, 2026
Merged

test: FaissDocumentStore use Mixin tests#3024
davidsbatista merged 6 commits intomainfrom
test/faiss-use-mixin-tests

Conversation

@davidsbatista
Copy link
Copy Markdown
Contributor

@davidsbatista davidsbatista commented Mar 23, 2026

Proposed Changes:

  • FaissDocumentStore use Mixin tests

How did you test it?

  • unit tests, integration tests, manual verification + CI tests

Checklist

@github-actions github-actions Bot added integration:faiss type:documentation Improvements or additions to documentation labels Mar 23, 2026
@davidsbatista davidsbatista changed the title Test/faiss use mixin tests test: FaissDocumentStore use Mixin tests Mar 23, 2026
@davidsbatista davidsbatista marked this pull request as ready for review March 23, 2026 11:09
@davidsbatista davidsbatista requested a review from a team as a code owner March 23, 2026 11:09
@davidsbatista davidsbatista requested review from anakin87 and bogdankostic and removed request for a team and bogdankostic March 23, 2026 11:09
Copy link
Copy Markdown
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

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

Looks good.

Added a comment about the breaking change.

return list(values)

def count_unique_metadata_by_filter(self, filters: dict[str, Any], fields: list[str]) -> dict[str, int]:
def count_unique_metadata_by_filter(self, filters: dict[str, Any], metadata_fields: list[str]) -> dict[str, int]:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this is a breaking change.
I'm ok with it (for consistency), but let's make sure to release a new major version (2.0.0)

@davidsbatista davidsbatista merged commit a11c26e into main Mar 23, 2026
8 checks passed
@davidsbatista davidsbatista deleted the test/faiss-use-mixin-tests branch March 23, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:faiss type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants