netunicorn.base.experiment.ExperimentExecutionInformation

class ExperimentExecutionInformation(status, experiment, execution_result)[source]

Bases: object

Stores information about an experiment execution.

Parameters:

Attributes

status

Describes the status of an experiment execution.

experiment

Stores the definition of the experiment.

execution_result

Stores either an Exception if experiment execution failed or a list of deployment execution results.

Methods

from_json

Returns an instance of ExperimentExecutionInformation from a JSON representation.

status: ExperimentStatus[source]

Describes the status of an experiment execution.

experiment: Optional[Experiment][source]

Stores the definition of the experiment.

execution_result: Union[None, Exception, List[DeploymentExecutionResult]][source]

Stores either an Exception if experiment execution failed or a list of deployment execution results.

classmethod from_json(data)[source]

Returns an instance of ExperimentExecutionInformation from a JSON representation.

Parameters:

data (ExperimentExecutionInformationRepresentation) – a JSON representation of an experiment execution information.

Returns:

ExperimentExecutionInformation – an instance of ExperimentExecutionInformation.