DataDesigner/docs/code_reference/column_configs.md
Johnny Greco 42b089e0f4
docs: establish doc templating, building, and strategy (#31)
* initial updates with jupyter tutorials and styling

* filling out some docs

* add blank index

* update docs workflow

* clean up style sheet
2025-11-12 17:04:50 -05:00

8 lines
823 B
Markdown

# Column Configurations
The `column_configs` module defines configuration objects for all Data Designer column types. Each configuration inherits from [SingleColumnConfig](#data_designer.config.column_configs.SingleColumnConfig), which provides shared arguments like the column `name`, whether to `drop` the column after generation, and the `column_type`.
!!! info "`column_type` is a discriminator field"
The `column_type` argument is used to identify column types when deserializing the [Data Designer Config](data_designer_config.md) from JSON/YAML. It acts as the discriminator in a [discriminated union](https://docs.pydantic.dev/latest/concepts/unions/#discriminated-unions), allowing Pydantic to automatically determine which column configuration class to instantiate.
::: data_designer.config.column_configs