ProtixIT / dataclass-binder

Python library to bind TOML data to dataclasses in a type-safe way
MIT License
13 stars 2 forks source link

Format untyped mappings and sequences as TOML tables #27

Closed mthuurne closed 1 year ago

mthuurne commented 1 year ago

Typically untyped entries (annotated as Any) are chunks of configuration passed along as-is to a library or framework. In a TOML file, these should be non-inline tables. so format them like that when generating a configuration template.