-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add new filter support for search records endpoint #4327
Merged
jfcalvo
merged 10 commits into
feature/responses-and-suggestion-filter
from
feature/add-new-filter-support-for-search-records-endpoint
Nov 28, 2023
Merged
feat: add new filter support for search records endpoint #4327
jfcalvo
merged 10 commits into
feature/responses-and-suggestion-filter
from
feature/add-new-filter-support-for-search-records-endpoint
Nov 28, 2023
Conversation
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
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
area: api
Indicates that an issue or pull request is related to the Fast API server or REST endpoints
language: python
Pull requests or issues that update Python code
team: backend
Indicates that the issue or pull request is owned by the backend team
type: enhancement
Indicates new feature requests
labels
Nov 27, 2023
…dd-new-filter-support-for-search-records-endpoint
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/responses-and-suggestion-filter #4327 +/- ##
===========================================================================
+ Coverage 65.69% 65.82% +0.13%
===========================================================================
Files 330 330
Lines 19013 19022 +9
===========================================================================
+ Hits 12490 12521 +31
+ Misses 6523 6501 -22 ☔ View full report in Codecov by Sentry. |
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-4327-ki24f765kq-no.a.run.app |
jfcalvo
requested changes
Nov 28, 2023
…arse query sections there
for more information, see https://pre-commit.ci
…int' of github.com:argilla-io/argilla into feature/add-new-filter-support-for-search-records-endpoint
jfcalvo
approved these changes
Nov 28, 2023
jfcalvo
merged commit Nov 28, 2023
d70a8e9
into
feature/responses-and-suggestion-filter
15 of 16 checks passed
jfcalvo
deleted the
feature/add-new-filter-support-for-search-records-endpoint
branch
November 28, 2023 10:49
leiyre
pushed a commit
that referenced
this pull request
Nov 28, 2023
…argilla-io/argilla into feature/responses-and-suggestion-filter * 'feature/responses-and-suggestion-filter' of github.com:argilla-io/argilla: feat: add new filter support for search records endpoint (#4327)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: api
Indicates that an issue or pull request is related to the Fast API server or REST endpoints
language: python
Pull requests or issues that update Python code
lgtm
This PR has been approved by a maintainer
size:L
This PR changes 100-499 lines, ignoring generated files.
team: backend
Indicates that the issue or pull request is owned by the backend team
type: enhancement
Indicates new feature requests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR integrates the
POST /api/v1/dataset/:dataset_id/records/search
with search engine to supportfilter
andsort
body attributes.Also, the base filter classes are decorated as
dataclass
in order to provide an easy way to compare args in tests (dataclass
provide automaticeq
method)Refs #4227
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
Checklist
CHANGELOG.md
file (See https://keepachangelog.com/)