DatasetRefURIs

class lsst.daf.butler.datastore.DatasetRefURIs(primaryURI: ResourcePath | None = None, componentURIs: dict[str, ResourcePath] | None = None)

Bases: Sequence

Represents the primary and component ResourcePath(s) associated with a DatasetRef.

This is used in places where its members used to be represented as a tuple (primaryURI, componentURIs). To maintain backward compatibility this inherits from Sequence and so instances can be treated as a two-item tuple.

Parameters:
primaryURIlsst.resources.ResourcePath or None, optional

The URI to the primary artifact associated with this dataset. If the dataset was disassembled within the datastore this may be None.

componentURIsdict [str, ResourcePath] or None

The URIs to any components associated with the dataset artifact indexed by component name. This can be empty if there are no components.