CollectionRecord

class lsst.daf.butler.registry.interfaces.CollectionRecord(key: Any, name: str, type: CollectionType)

Bases: object

A struct used to represent a collection in internal Registry APIs.

User-facing code should always just use a str to represent collections.

Parameters:
key

Unique collection ID, can be the same as name if name is used for identification. Usually this is an integer or string, but can be other database-specific type.

namestr

Name of the collection.

typeCollectionType

Enumeration value describing the type of the collection.