StoredFileInfo

class lsst.daf.butler.StoredFileInfo(formatter: Union[str, Type[lsst.daf.butler.Formatter], lsst.daf.butler.Formatter], path: str, storageClass: lsst.daf.butler.StorageClass, component: Optional[str], checksum: Optional[str], file_size: int)

Bases: lsst.daf.butler.StoredDatastoreItemInfo

Datastore-private metadata associated with a Datastore file.

Attributes Summary

checksum

Checksum of the serialized dataset.

component

Component associated with this file.

file_size

Size of the serialized dataset in bytes.

formatter

Fully-qualified name of Formatter.

path

Path to dataset within Datastore.

storageClass

StorageClass associated with Dataset.

Attributes Documentation

checksum: Optional[str]

Checksum of the serialized dataset.

component: Optional[str]

Component associated with this file. Can be None if the file does not refer to a component of a composite.

file_size: int

Size of the serialized dataset in bytes.

formatter: str

Fully-qualified name of Formatter. If a Formatter class or instance is given the name will be extracted.

path: str

Path to dataset within Datastore.

storageClass: lsst.daf.butler.StorageClass

StorageClass associated with Dataset.