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

Add a checkbox to ask whether to delete artifacts associated to study/trial #885

Merged

Conversation

porink0424
Copy link
Collaborator

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.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

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

1 2

To align with the design changes mentioned above, I have also modified DeleteArtifactDialog:
3

@c-bata c-bata self-assigned this Jun 4, 2024
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@c-bata c-bata merged commit a29ac8a into optuna:main Jun 5, 2024
17 checks passed
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.

2 participants