denselinkage.core.models.Source¶
- class denselinkage.core.models.Source(frame: pd.DataFrame, id_column: str, serializer: Serializer | None = None)[source]¶
Bases:
objectData-bound config travelling with a frame.
The Source ->
Sequence[Record]materialization is the one orchestration boundary that is otherwise implicit; it is named: the internaldenselinkage._reader.RecordReader`. It resolves ``serializer=Nonetodenselinkage.serializing.default_serializer()(aWholeRowSerializer), applies the serializer’scolumn_mappingwhen present, and validates the frame — raising thedenselinkage.core.errorstaxonomy (UnknownIdColumnifid_columnis absent,EmptySourceif no rows,DuplicateRecordIdon duplicate ids).