SerializedCollectionSummary¶
- class lsst.daf.butler.registry.SerializedCollectionSummary(*, dataset_types: list[lsst.daf.butler._dataset_type.SerializedDatasetType], governors: dict[str, set[str]])¶
Bases:
BaseModel
Serialized version of CollectionSummary.
Attributes Summary
A dictionary of computed field names and their corresponding
ComputedFieldInfo
objects.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
ComputedFieldInfo
objects.
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'dataset_types': FieldInfo(annotation=list[SerializedDatasetType], required=True), 'governors': FieldInfo(annotation=dict[str, set[str]], 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.