-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable filtering on metadata and corpus (#88)
* Bugfix for the torch version. * Adding a failing test. * Updating the version. * testing different query. * Adding corpus_type_name to the response. * Add in the filtering option for corpus_type_name * Removing as filter. * Reverting change to yql builder. * Successfully filtering on corpus type name. * test: Modify fixtures to give wider scenarios cover * Resolving merge conflict. * Updating tests to query for multiple corpora. * Remove typo. * Adding a test for metadata querying. * Updating the test data to prefix metadata name with family. * Reformatting. * Bugfix for appending empty metadata. * Bugfix for the corpus_type_name test. * Refactoring. * Reverting poetry.lock change. * Updating SearchParameters to accept a pydantic object for metadata filters to validate the structure. * Adding a test for the MetadataFilter object. * Adding a filter for corpus_import_id. * Integrate geographies filter (#95) * Adding failing tests. * Trunk fix. * Adding in tests for the geographies filters. * Refactoring the family_geographies test. * Refactoring. * converting geograpghies from and to or operator and adding a test. * Updating test to contain two geographies. --------- Co-authored-by: Mark <[email protected]> --------- Co-authored-by: Mark <[email protected]> Co-authored-by: Jesse Claven <[email protected]>
- Loading branch information
1 parent
a4768cb
commit 5379ff5
Showing
9 changed files
with
1,167 additions
and
2,505 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.