DatasetRefURIs¶
- class lsst.daf.butler.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.Methods Summary
count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
Methods Documentation
- count(value) integer -- return number of occurrences of value ¶
- index(value[, start[, stop]]) integer -- return first index of value. ¶
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.