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:
- primaryURI
lsst.resources.ResourcePath
orNone
, optional The URI to the primary artifact associated with this dataset. If the dataset was disassembled within the datastore this may be
None
.- componentURIs
dict
[str
,ResourcePath
] orNone
The URIs to any components associated with the dataset artifact indexed by component name. This can be empty if there are no components.
- primaryURI