Skip to content
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 endpoint to delete metadata properties #3911

Conversation

jfcalvo
Copy link
Member

@jfcalvo jfcalvo commented Oct 10, 2023

Description

This feature adds a new endpoint to delete metadata properties, only allowing users with admin and owner roles to execute this action.

Type of change

(Please delete options that are not relevant. Remember to title the PR according to the type of change)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (change restructuring the codebase without changing functionality)
  • Improvement (change adding some improvement to an existing functionality)
  • Documentation update

Checklist

  • I added relevant documentation
  • follows the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I filled out the contributor form (see text above)
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@github-actions
Copy link

The URL of the deployed environment for this PR is https://argilla-quickstart-pr-3911-ki24f765kq-no.a.run.app

@alvarobartt
Copy link
Member

FYI the integration test failing is unrelated, I've already contacted @tomaarsen to help solve it!

FAILED tests/integration/client/feedback/training/test_trainer.py::test_argilla_trainer_text_classification_with_model_tokenizer[peft-distilbert-base-cased]

src/argilla/server/contexts/datasets.py Outdated Show resolved Hide resolved
@jfcalvo jfcalvo merged commit 21875ba into feature/support-for-metadata-filtering-and-sorting Oct 10, 2023
14 of 15 checks passed
@jfcalvo jfcalvo deleted the feature/delete-metadata-properties branch October 10, 2023 21:13
tomaarsen added a commit that referenced this pull request Oct 11, 2023
Hello!

# Argilla Community Growers

Ever since #3751, `model` can also be an already initialized model. This
edge case was being missed before. This should help with the test
failures on #3911.

**Type of change**

(Please delete options that are not relevant. Remember to title the PR
according to the type of change)

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (change restructuring the codebase without changing
functionality)
- [ ] Improvement (change adding some improvement to an existing
functionality)
- [ ] Documentation update

**How Has This Been Tested**

`pytest
.\tests\integration\client\feedback\training\test_trainer.py::test_argilla_trainer_text_classification_with_model_tokenizer`

**Checklist**

- [ ] I added relevant documentation
- [ ] follows the style guidelines of this project
- [x] I did a self-review of my code
- [ ] I made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK)
(see text above)
- [ ] I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)

---

- Tom Aarsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants