Artifact

class laminar.configurations.datastores.Artifact(dtype: str, hexdigest: str)

Bases: object

Handler for artifacts in the laminar datastore.

Notes

Artifacts are gziped, pickled layer instance attributes.

Methods

dict

Convert the Artifact to a dict.

path

Get the path to the Artifact.

Attributes

dtype

Data type of the artifact.

hexdigest

SHA256 hexdigest of the artifact bytes.

__init__(dtype: str, hexdigest: str)
dict() dict[str, str]

Convert the Artifact to a dict.

dtype : str

Data type of the artifact.

hexdigest : str

SHA256 hexdigest of the artifact bytes.

path(*, layer: Layer) str

Get the path to the Artifact.