-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messages dealing with deleted experiments (#814)
In particular set_experiment and create_experiment to return more descriptive error messages when they are called with a name for an experiment that already exists but has been deleted. Currently: - set_experiment will succeed but following start_run calls will fail because the experiment is not active. - create_experiment will fail saying that there is already an experiment with the same name. With this PR: - set_experiment will not succeed, with an error message saying there is a deleted experiment with the same name. - create_experiment will fail saying that there is already a deleted experiment with the same name. Added unit tests to cover these code paths.
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters