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

Delete Tags #26

Open
5 tasks done
dylanmcreynolds opened this issue Aug 18, 2021 · 0 comments
Open
5 tasks done

Delete Tags #26

dylanmcreynolds opened this issue Aug 18, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dylanmcreynolds
Copy link
Contributor

dylanmcreynolds commented Aug 18, 2021

There are several use cases for being able to delete tags:

  • User made a mistake
  • Auto-detection of peaks made a mistake

Currently the tag_service has no method for deleting tags.

There are several things we want to do:

  • Add an ID to the Tag model so that we can identify a tag. This should be a required field and auto-generated by the server (uuid)
  • Add a new method to tag server called delete_tag that takes tag id
  • Add new endpoint to the api.py module to accept a DELETE method on id
  • Add a new index in the dataset collection for tag id
  • Add a unit test for the new method
@dylanmcreynolds dylanmcreynolds added the enhancement New feature or request label Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants