sddb.Manifest

sddb.Manifest#

class sddb.Manifest(generated_at: str, catalog_version: str | None, entries: list[ManifestEntry])#

What was downloaded, where, and from which catalog (catalog_version is None when not pinned).

__init__(generated_at: str, catalog_version: str | None, entries: list[ManifestEntry]) → None#

Methods

__init__(generated_at, catalog_version, entries)

read(path)

Read a manifest written by write().

refetch(dest, *[, workers])

Re-download exactly the stores recorded in this manifest to dest (reproducible re-fetch).

write(path)

Write the manifest as JSON and return the path.

Attributes

generated_at

catalog_version

entries