AmbiguousMetakernel
A metakernel reference matched several registry rows.
Usage
AmbiguousMetakernel(
name,
candidates,
)Raised by KernelDB.resolve_metakernel (and so by every method that takes a metakernel reference) when the reference matches more than one row, for example a base name while two versioned snapshots are tracked. The resolver never picks the first match (#45). Subclass of LookupError.
The caller lists candidates and asks for a more specific name. The CLI does that and exits with code 2.
Attributes
name: str-
The reference as it was given.
candidates: list[str]- The registry filenames that matched.