eon.contracts.load_outcome

Load an Outcome. JSON is a debug decode of schema/eon_outcome.capnp.

Module Contents

Functions

load_outcome

Return job type and status. Trajectories are not part of this record.

outcome_to_json

Debug JSON of the same three fields. Not a second schema.

API

eon.contracts.load_outcome.load_outcome(payload: str | Mapping[str, Any]) → dict[str, Any]

Return job type and status. Trajectories are not part of this record.

eon.contracts.load_outcome.outcome_to_json(outcome: Mapping[str, Any]) → str

Debug JSON of the same three fields. Not a second schema.