DatasetExistence¶
- class lsst.daf.butler.DatasetExistence(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
FlagFlags representing the different states that a dataset can have in a Butler repository.
If a flag evaluates to
Truethat will indicate that a dataset is present in the Butler repository. The different states forKNOWNandVERIFIEDboth evaluate toTrueand differ solely on whether the artifact was checked to make sure it exists or not.Some flag are combinations of other flags, so in order to determine whether a dataset is present in datastore it is necessary to use logical
AND.exists = DatasetExistence.VERIFIED if (DatasetExistence.DATASTORE & exists) == DatasetExistence.DATASTORE: # The datastore knows about this dataset.
Attributes Summary
Known to the datastore.
Known to registry or equivalent.
Attributes Documentation