SealedRun

SealedRun#

class SealedRun#

Immutable view of a finished Run in a committed Experiment.

SealedRun exposes run-level attachments by name and the sequence of Solve records created by Run.log_solve.

__repr__() str#
get_attachment(name: str) Any#

Read a run-level attachment by name.

The returned Python object is decoded from the attachment media type.

get_blob(name: str) bytes#

Read raw bytes of a run-level attachment by name.

get_instance(name: str) Instance#

Read an Instance run-level attachment by name.

get_json(name: str) Any#

Read a JSON run-level attachment by name.

get_parametric_instance(name: str) ParametricInstance#

Read a ParametricInstance run-level attachment by name.

get_sample_set(name: str) SampleSet#

Read a SampleSet run-level attachment by name.

get_solution(name: str) Solution#

Read a Solution run-level attachment by name.

property attachment_names: list[str]#

Read-only property.

Names of run-level attachments.

property attachments: list[Descriptor]#

Read-only property.

Low-level descriptors for run-level attachments.

Prefer attachment_names, get_attachment, or typed methods such as get_json and get_instance when working from Python. This descriptor view is kept for low-level Artifact inspection.

property run_id: int#

Read-only property.

Integer identifier of this run within its Experiment.

property solves: list[Solve]#

Read-only property.

Solve records logged in this run, ordered by solve_id.