Datamonger

Datamonger for Python · python · 0.1.0

datamonger.cache_clean

cache_clean(*, dataset: str | None = None, older_than: timedelta | None = None, cache_dir: Pathish | None = None) -> datamonger._models.CacheCleanResult

Manually evict matching entries, skipping any object with an active lease.

With no filters, all registry and artifact entries are selected. dataset is a canonical identifier such as "uci:iris@1". When both filters are supplied, only entries matching both are selected.

Same API in