prune_anonymous#
- prune_anonymous(root: str | PathLike | Path = None, delete: bool = False) PruneAnonymousReport#
Report or delete anonymous Artifact refs in the Local Registry.
This is the Python SDK equivalent of
ommx prune-anonymous. It only removes SQLite refs whendelete=True; manifest and payload blobs are left forgc()to reclaim if they become unreachable.>>> from ommx.artifact import prune_anonymous >>> report = prune_anonymous() >>> report.delete_applied False