Add a checkbox to ask whether to delete artifacts associated to study/trial #885
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.
Contributor License Agreement
This repository (
optuna-dashboard
) and Goptuna share common code.This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.
Reference Issues/PRs
NA
What does this implement/fix? Explain your changes.
When deleting a study, all artifacts associated with that study were previously deleted as well. However, the problem occurred when a study was copied, resulting in multiple IDs pointing to the same artifact. In such cases, after deleting the artifact and one ID, the other IDs were pointing to a non-existent reference. This PR addresses the problem by introducing a feature that allows users to choose whether or not to delete the associated artifacts.
Dialog Design
To align with the design changes mentioned above, I have also modified
DeleteArtifactDialog
: