class openfe.ProtocolUnitResult(*, name: str | None = None, source_key: GufeKey, inputs: Dict[str, Any], outputs: Dict[str, Any], start_time: datetime.datetime | None = None, end_time: datetime.datetime | None = None)#

Successful result of a single ProtocolUnit execution.

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.datetime) – The start and end time for executing this Unit

  • end_time (datetime.datetime) – The start and end time for executing this Unit

property name#
property source_key#
property inputs#
property outputs#
property dependencies: list[gufe.protocols.protocolunit.ProtocolUnitResult]#

All results that this result was dependent on

static ok() bool#
property start_time: datetime | None#

The time execution of this Unit began

property end_time: datetime | None#

The time at which execution of this Unit finished