netunicorn.base.experiment.ExperimentStatus¶
- class ExperimentStatus(value)[source]¶
Bases:
Enum
Represents a status of an experiment.
Attributes
Unknown status.
Experiment is under preparation.
Experiment is prepared and ready to be started.
Experiment is running.
Experiment is finished.
Methods
Converts a JSON representation of an experiment status to an instance of ExperimentStatus.
- classmethod from_json(value)[source]¶
Converts a JSON representation of an experiment status to an instance of ExperimentStatus.
- Parameters:
value (
int
) – experiment status value.- Returns:
ExperimentStatus
– an instance of ExperimentStatus.