CollectionRecord

class lsst.daf.butler.registry.interfaces.CollectionRecord(key: Any, name: str, type: lsst.daf.butler.registry._collectionType.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.

name : str

Name of the collection.

type : CollectionType

Enumeration value describing the type of the collection.