runs
Status
At initialization, runs are attached a default status initialized
.. There can only be one status per run.
Create a run
from pyhectiqlab import Run
run = Run(name="Hello world", project="lab/demo")
# Run status is `initialized`
Change the run status with these methods
run.failed()
run.completed()
run.pending()
run.stopped()
run.running()
run.training()
If a run is executed in a script and an error occurs, then the automatic error handler will assign a failed
status, or stopped
status if the exception is KeyboardInterupt
.
Methods
pyhectiqlab.Run
Run.failed()
Set the run status to failed.
Run.completed()
Set the run status to completed.
Run.pending()
Set the run status to pending.
Run.stopped()
Set the run status to stopped.
Run.running()
Set the run status to running.
Run.training()
Set the run status to training.