StoredMemoryItemInfo¶
- class lsst.daf.butler.datastores.inMemoryDatastore.StoredMemoryItemInfo(timestamp: float, storageClass: StorageClass, parentID: int | UUID, dataset_id: int | UUID)¶
Bases:
StoredDatastoreItemInfo
Internal InMemoryDatastore Metadata associated with a stored DatasetRef.
Attributes Summary
DatasetId associated with this record.
ID of the parent
DatasetRef
if this entry is a concrete composite.StorageClass associated with the dataset.
Unix timestamp indicating the time the dataset was stored.
Methods Summary
file_location
(factory)Return the location of artifact.
from_record
(record)Create instance from database record.
Convert record contents to a dictionary.
Attributes Documentation
- parentID: int | UUID¶
ID of the parent
DatasetRef
if this entry is a concrete composite. Not used if the dataset being stored is not a virtual component of a composite
- storageClass: StorageClass¶
StorageClass associated with the dataset.
Methods Documentation
- file_location(factory: LocationFactory) Location ¶
Return the location of artifact.
- Parameters:
- factory
LocationFactory
Factory relevant to the datastore represented by this item.
- factory
- Returns:
- location
Location
The location of the item within this datastore.
- location