-
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: improve protected fields #3342
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## develop #3342 +/- ##
===========================================
+ Coverage 90.13% 90.46% +0.32%
===========================================
Files 233 239 +6
Lines 12493 12837 +344
===========================================
+ Hits 11261 11613 +352
+ Misses 1232 1224 -8
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I have some small remarks.
@@ -22,9 +22,12 @@ | |||
DEFAULT_MAX_KEYWORD_LENGTH = 128 | |||
DEFAULT_TELEMETRY_KEY = "C6FkcaoCbt78rACAgvyBxGBcMB3dM3nn" | |||
|
|||
# The metadata field name prefix defined for protected (non-searchable) values | |||
PROTECTED_METADATA_FIELD_PREFIX = "_" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add this to the documentation somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than here?
Co-authored-by: Gabriel Martín Blázquez <[email protected]> Co-authored-by: David Berenstein <[email protected]>
* develop: feat: disable concurrency tests GitHub (#3355) feat: improve protected fields (#3342) chore: added telemetry to ArgillaTrainer (#3336) Feat/update start page code (#3327) [DOCS] Added information about tests in developer documentation (#3147) # Conflicts: # docs/_source/_common/snippets/start_page.md # frontend/components/commons/datasets-list/DatasetsEmpty.vue
* develop: feat: disable concurrency tests GitHub (#3355) feat: improve protected fields (#3342) chore: added telemetry to ArgillaTrainer (#3336) Feat/update start page code (#3327) [DOCS] Added information about tests in developer documentation (#3147) # Conflicts: # docs/_source/_common/snippets/start_page.md # frontend/components/commons/datasets-list/DatasetsEmpty.vue
Description
This PR reviews and improves the protected metadata field's functionality:
Closes #3331
Closes #3332
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)
How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference
tests
)tested with a local instance
Checklist