bayesline.api.DatasetAwareSettings#
- model DatasetAwareSettings#
Settings bound to a dataset.
Wraps a
Settingssubclass with an explicitdatasetattribute that scopes the settings to a specific underlying dataset. The wrapper is the unit of save/read through the registry: every registry-stored settings is paired with the dataset it applies to.Legacy stored JSON with a flat
{"dataset": ..., ...fields}shape is reshaped on load to the wrapped{"dataset": ..., "setting": {...}}form by the_reshape_legacypre-validator.- field setting: T_co [Required]#
The settings scoped to
dataset.