CollectionInfo¶
- class lsst.daf.butler.CollectionInfo(*, name: str, type: CollectionType, doc: str = '', children: tuple[str, ...] = (), parents: frozenset[str] | None = None, dataset_types: frozenset[str] | None = None)¶
- Bases: - BaseModel- Information about a single Butler collection. - Attributes Summary - A dictionary of computed field names and their corresponding - ComputedFieldInfoobjects.- Configuration for the model, should be a dictionary conforming to [ - ConfigDict][pydantic.config.ConfigDict].- Metadata about the fields defined on the model, mapping of field names to [ - FieldInfo][pydantic.fields.FieldInfo] objects.- Attributes Documentation - model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
- A dictionary of computed field names and their corresponding - ComputedFieldInfoobjects.
 - model_config: ClassVar[ConfigDict] = {}¶
- Configuration for the model, should be a dictionary conforming to [ - ConfigDict][pydantic.config.ConfigDict].
 - model_fields: ClassVar[Dict[str, FieldInfo]] = {'children': FieldInfo(annotation=tuple[str, ...], required=False, default=()), 'dataset_types': FieldInfo(annotation=Union[frozenset[str], NoneType], required=False, default=None), 'doc': FieldInfo(annotation=str, required=False, default=''), 'name': FieldInfo(annotation=str, required=True), 'parents': FieldInfo(annotation=Union[frozenset[str], NoneType], required=False, default=None), 'type': FieldInfo(annotation=CollectionType, required=True)}¶
- Metadata about the fields defined on the model, mapping of field names to [ - FieldInfo][pydantic.fields.FieldInfo] objects.- This replaces - Model.__fields__from Pydantic V1.