Basic#
Core concepts for everyday dature usage. Start here after the Getting Started guide.
Topics#
| Page | What you'll learn |
|---|---|
| Naming | Map dataclass field names to config keys: name_style, field_mapping, prefix |
| Field Paths | The F[Config].field syntax used across naming, validation, and merge configuration |
| Validation | Annotated validators, root validators, custom validators, __post_init__ |
| Merging | Load from multiple sources and combine them with a merge strategy |
| Masking | Automatic secret detection and masking in logs and reports |
| Configure | Global defaults via dature.configure() |
| CLI | The dature inspect / dature validate command-line tool |
Recommended reading order#
- Naming — most configs need at least
name_style - Merging — essential once you have more than one source
- Validation — add constraints to keep bad values out
- Field Paths — reference when you see
F[...]in examples - The rest in any order as needed