DatasetIdGenEnum¶
- class lsst.daf.butler.DatasetIdGenEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum
Enum used to specify dataset ID generation options.
Attributes Summary
In this mode ID is computed deterministically from a combination of dataset type and dataId.
In this mode ID is computed deterministically from a combination of dataset type, dataId, and run collection name.
Unique mode generates unique ID for each inserted dataset, e.g.
Attributes Documentation
- DATAID_TYPE = 1¶
In this mode ID is computed deterministically from a combination of dataset type and dataId.
- DATAID_TYPE_RUN = 2¶
In this mode ID is computed deterministically from a combination of dataset type, dataId, and run collection name.
- UNIQUE = 0¶
Unique mode generates unique ID for each inserted dataset, e.g. auto-generated by database or random UUID.