-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify functionality to reset experiments (#77)
* Add Enum `ExperimentStatus` * Modify `experimenter.reset_experiments()` to be able to get * single `ExperimentStatus` * list of `ExperimentStatus` * `"all"` to reset all `ExperimentStatus` * Add method `experimenter.delete_table()` * Add method `delete_table()` * Increase readability of SQL statements
- Loading branch information
1 parent
37d3ed8
commit 2ff9f9a
Showing
6 changed files
with
180 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from enum import Enum | ||
|
||
|
||
class ExperimentStatus(Enum): | ||
CREATED = 'created' | ||
RUNNING = 'running' | ||
DONE = 'done' | ||
ERROR = 'error' | ||
ALL = 'all' |
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
Oops, something went wrong.