ProtocolUnitResult#
- class openfe.protocols.ProtocolUnitResult(*, name: str | None = None, source_key: GufeKey, inputs: Dict[str, Any], outputs: Dict[str, Any], start_time: datetime | None = None, end_time: datetime | None = None)#
Bases:
GufeTokenizableSuccessful result of a single
ProtocolUnitexecution.- Parameters:
name (Optional[str]) – Name of the ProtocolUnit that produced this ProtocolUnitResult.
source_key (GufeKey) – Key of the ProtocolUnit that produced this ProtocolUnitResult
inputs (Dict[str, Any]) – Inputs to the ProtocolUnit that produced this ProtocolUnitResult. Includes any ProtocolUnitResult`s this `ProtocolUnitResult is dependent on.
outputs (Dict[str, Any]) – Outputs from the ProtocolUnit._execute that generated this ProtocolUnitResult.
start_time (datetime) – The start and end time for executing this Unit
end_time (datetime) – The start and end time for executing this Unit
Methods
Attributes
All results that this result was dependent on
The time at which execution of this Unit finished
The time execution of this Unit began
- property dependencies: list[ProtocolUnitResult]#
All results that this result was dependent on
- property inputs#
- property name#
- property outputs#
- property source_key#