boilercv_pipeline.models.columns
#
Data columns model.
Module Contents#
Classes#
Columns. |
Functions#
Get columns. |
Data#
API#
- boilercv_pipeline.models.columns.D#
‘DataStage(…)’
- class boilercv_pipeline.models.columns.Cols(
- /,
- **data: typing.Any,
Bases:
pydantic.BaseModel
Columns.
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.- get_indices(
- *stages: str,
Get all index columns, optionally selecting by stage.
- property index: boilercv_pipeline.models.column.Col#
Singular index column in a set of columns with one index.
- property sources: list[boilercv_pipeline.models.column.LinkedCol]#
All source columns.
- property dests: list[boilercv_pipeline.models.column.Col]#
All destination columns.
- boilercv_pipeline.models.columns.get_cols(
- cols_model: boilercv_pipeline.models.columns.Cols,
- meta: str,
Get columns.