Archive

class laminar.configurations.datastores.Archive(artifacts: list[Artifact])

Bases: object

Handler for archives in the laminar datastore.

Notes

Archives are metadata for artifacts.

Methods

dict

Convert the Archive to a dict.

parse

Get an Archive from a dict.

path

Get the path to the Archive.

Attributes

artifacts

__init__(artifacts: list[Artifact])
dict() dict[str, list[dict[str, str]]]

Convert the Archive to a dict.

static parse(source: dict[str, list[dict[str, str]]]) Archive

Get an Archive from a dict.

static path(*, layer: Layer, index: int, name: str, cache: bool = False) str

Get the path to the Archive.