netunicorn.base.experiment.ExperimentExecutionInformation¶
- class ExperimentExecutionInformation(status, experiment, execution_result)[source]¶
Bases:
object
Stores information about an experiment execution.
- Parameters:
status (
ExperimentStatus
) – a status of an experiment execution.experiment (
Optional
[Experiment
]) – a definition of an experiment.execution_result (
Union
[None
,Exception
,List
[DeploymentExecutionResult
]]) – a result of an experiment execution.
Attributes
Describes the status of an experiment execution.
Stores the definition of the experiment.
Stores either an Exception if experiment execution failed or a list of deployment execution results.
Methods
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.