DatasetIdGenEnum¶
-
class
lsst.daf.butler.registry.interfaces.DatasetIdGenEnum(value)¶ Bases:
enum.EnumThis enum is used to specify dataset ID generation options for
insert()method.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.
-