Provenance

class of dascore.workflow.provenance
inherits from: DascoreBaseModel, pydantic.main.BaseModel
source

Provenance(
    pipe: Pipe ,
    dascore_version: str ,
    created_at: datetime ,
    python_version: str ,
    system_info: collections.abc.Mapping[str, str] = ,
    metadata: collections.abc.Mapping[str, Any] = ,
    source_provenance: tuple[Provenance, …] = (),
)-> None

A record of a pipe and the run which produced some data.

This is the durable half: what a file written beside the results holds, and what makes them reproducible when the objects which made them are long gone.

Methods

Name Description
from_dict Return the record a document describes.
from_pipe Return a record of a pipe, this version of DASCore, and this host.
load Return the record a file holds; see save.
new Create new instance with some attributed updated.
from_json Return the graph some JSON text holds.
save Write this record to a file.
to_dict Return a document which describes this record.