datamonger.CacheEntry
Datamonger for Python · python · 0.4.0
One content-addressed object found in the Python client cache.
kind
Source: packages/python/src/datamonger/_models.py
: = a dataset "artifact" or a "registry" index.
Type
Object category
sha256
Source: packages/python/src/datamonger/_models.py
: = Expected SHA-256 digest encoded in the object’s cache filename.
size
Source: packages/python/src/datamonger/_models.py
: = Size of the cached file in bytes at inspection time.
modified_at
Source: packages/python/src/datamonger/_models.py
: = File modification time as a timezone-aware UTC datetime.
path
Source: packages/python/src/datamonger/_models.py
: = Local path to the content-addressed cached file.
valid
Source: packages/python/src/datamonger/_models.py
: = Whether the inspected file’s SHA-256 matches the digest in its filename.
datasets
Source: packages/python/src/datamonger/_models.py
: = Sorted dataset identifiers referencing this artifact in known registry indexes.
Registry entries and artifacts with no known references have an empty tuple. References come from the bundled index and valid cached indexes.
registry_release
Source: packages/python/src/datamonger/_models.py
: | None = Release read from a valid cached registry index, or None if unavailable.
Artifact entries always use None.
